#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 788
Default IF Statements

How would I write an IF statement where my logical test is looking for a
range. i.e A1=91
Is it possible to write an if statement where I am looking for the range in
A1 to be a range between 90 and 100. I don't seem to be able to find
anything in microsoft help that allows you to return a value if true on a
range.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 143
Default IF Statements

How would I write an IF statement where my logical test is looking for
a range. i.e A1=91
Is it possible to write an if statement where I am looking for the
range in A1 to be a range between 90 and 100. I don't seem to be able
to find anything in microsoft help that allows you to return a value
if true on a range.


One way:
=IF(AND(A190,A1<100),"in range","out of range")
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 248
Default IF Statements

=IF(AND(A1=90,A1<=100),"A1 between 90-100","Outside 90-100")

-------------------------------------
Pl. click ''''Yes'''' if this was helpful...



"Chris" wrote:

How would I write an IF statement where my logical test is looking for a
range. i.e A1=91
Is it possible to write an if statement where I am looking for the range in
A1 to be a range between 90 and 100. I don't seem to be able to find
anything in microsoft help that allows you to return a value if true on a
range.

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
if statements SB777 Excel Worksheet Functions 3 April 13th 07 06:42 PM
If Statements [email protected] Excel Discussion (Misc queries) 7 April 5th 07 02:01 PM
IF statements profmorse Excel Discussion (Misc queries) 5 December 20th 06 07:41 PM
IF Statements (Mutliple Statements) Deezel Excel Worksheet Functions 3 October 19th 06 06:13 AM
IF statements Kinggops Excel Discussion (Misc queries) 4 December 2nd 05 10:32 PM


All times are GMT +1. The time now is 01:02 PM.

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

About Us

"It's about Microsoft Excel"