#1   Report Post  
Posted to microsoft.public.excel.misc
Bob
 
Posts: n/a
Default Help with "if"

is there a way of inputing say
=if(a4 is between 6 and 8) so to get a true response and a false
a4 = say 6.5
please help
  #2   Report Post  
Posted to microsoft.public.excel.misc
Steven_Archer
 
Posts: n/a
Default Help with "if"


Hi,

The formula below should work -

=IF((AND(B46,B4<8)),\"TRUE\",\"FALSE\")

Where B4 is the cell where the number is.


So what the formula is saying is if B4 is greater than 6 and less than
8 then enter "True", otherwise enter "False".

This formula will show 6 and 8 as "false". If you want to change it to
show 6 and 8 as true change the formula to :

=IF((AND(B4=6,B4<=8)),\"TRUE\",\"FALSE\")


hope this answers your question

Steven


--
Steven_Archer
------------------------------------------------------------------------
Steven_Archer's Profile: http://www.excelforum.com/member.php...o&userid=29025
View this thread: http://www.excelforum.com/showthread...hreadid=487581

  #3   Report Post  
Posted to microsoft.public.excel.misc
Roger Govier
 
Posts: n/a
Default Help with "if"

Hi Bob

=IF(AND(A4=6,A4<=8),"true response","false response")

Regards

Roger Govier


Bob wrote:
is there a way of inputing say
=if(a4 is between 6 and 8) so to get a true response and a false
a4 = say 6.5
please help

  #4   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips
 
Posts: n/a
Default Help with "if"

=AND(A4<=6,A4=8)

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Bob" wrote in message
...
is there a way of inputing say
=if(a4 is between 6 and 8) so to get a true response and a false
a4 = say 6.5
please help



  #5   Report Post  
Posted to microsoft.public.excel.misc
Bob
 
Posts: n/a
Default Help with "if"

Thank you

"Steven_Archer" wrote:


Hi,

The formula below should work -

=IF((AND(B46,B4<8)),\"TRUE\",\"FALSE\")

Where B4 is the cell where the number is.


So what the formula is saying is if B4 is greater than 6 and less than
8 then enter "True", otherwise enter "False".

This formula will show 6 and 8 as "false". If you want to change it to
show 6 and 8 as true change the formula to :

=IF((AND(B4=6,B4<=8)),\"TRUE\",\"FALSE\")


hope this answers your question

Steven


--
Steven_Archer
------------------------------------------------------------------------
Steven_Archer's Profile: http://www.excelforum.com/member.php...o&userid=29025
View this thread: http://www.excelforum.com/showthread...hreadid=487581




  #6   Report Post  
Posted to microsoft.public.excel.misc
Bob
 
Posts: n/a
Default Help with "if"

Thank you

"Steven_Archer" wrote:


Hi,

The formula below should work -

=IF((AND(B46,B4<8)),\"TRUE\",\"FALSE\")

Where B4 is the cell where the number is.


So what the formula is saying is if B4 is greater than 6 and less than
8 then enter "True", otherwise enter "False".

This formula will show 6 and 8 as "false". If you want to change it to
show 6 and 8 as true change the formula to :

=IF((AND(B4=6,B4<=8)),\"TRUE\",\"FALSE\")


hope this answers your question

Steven


--
Steven_Archer
------------------------------------------------------------------------
Steven_Archer's Profile: http://www.excelforum.com/member.php...o&userid=29025
View this thread: http://www.excelforum.com/showthread...hreadid=487581


  #7   Report Post  
Posted to microsoft.public.excel.misc
Bob
 
Posts: n/a
Default Help with "if"

thank you


"Roger Govier" wrote:

Hi Bob

=IF(AND(A4=6,A4<=8),"true response","false response")

Regards

Roger Govier


Bob wrote:
is there a way of inputing say
=if(a4 is between 6 and 8) so to get a true response and a false
a4 = say 6.5
please help


  #8   Report Post  
Posted to microsoft.public.excel.misc
Bob
 
Posts: n/a
Default Help with "if"

thank you

"Bob Phillips" wrote:

=AND(A4<=6,A4=8)

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Bob" wrote in message
...
is there a way of inputing say
=if(a4 is between 6 and 8) so to get a true response and a false
a4 = say 6.5
please help




  #9   Report Post  
Posted to microsoft.public.excel.misc
Dana DeLouis
 
Posts: n/a
Default Help with "if"

Shorter, but perhaps not as clear:
=ABS(A4-7)<=1

--
Dana DeLouis
Win XP & Office 2003


"Bob" wrote in message
...
is there a way of inputing say
=if(a4 is between 6 and 8) so to get a true response and a false
a4 = say 6.5
please help



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
please can you tell me how to use the "if" function (new user) maxwell New Users to Excel 3 November 10th 05 09:54 PM
Can "IF" function display calculated data as bold? Andrew Dickson Excel Worksheet Functions 1 November 10th 05 04:02 PM
Can't make Excel "if" Formula work Janie Ellen Excel Worksheet Functions 1 November 8th 05 04:47 PM
return data in multiple columns using "if"? JENNYC Excel Discussion (Misc queries) 3 November 7th 05 07:25 PM
The "IF" Statement JeremyH1982 Excel Worksheet Functions 1 October 18th 05 08:32 PM


All times are GMT +1. The time now is 06:48 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"