If Statement Between Ranges?

  • Thread starter Thread starter MJSlattery
  • Start date Start date
M

MJSlattery

Hi:

I am trying to produce three states from the result of a calculation.

IF it is above 75, IF it is below 25, and (Here is the problem) If i
is between 26 and 74?

This is three fields and three if statements. The first two are easy.
How do you accomplish "between" in an Excel If statement?

Thanks, Michae
 
=IF(E10<25,"State A",IF(E10>75,"State B","State C"))

kinda what you are looking for... you can change the variables for
precision
 
I am looking for one statement that give me a "TRUE" when the I
statement is between two values?

I will be able to utilize your answere to this problem in othe
situations but not here.

Thanks,

Michae
 
Change "state A" to "False" change "State b" to "False" and Chang
"State C" to "true"

I don't know of any other way without nesting formulas
 
Thanks for the assistance. I will try and work with what you hav
provided.

Michae
 
=IF(AND(A1>=26, A1<=74),"TRUE","FALSE")




MJSlattery said:
I am looking for one statement that give me a "TRUE" when the IF
statement is between two values?

I will be able to utilize your answere to this problem in other
situations but not here.

Thanks,

Michael
 
Greg, that is such a good help. i was looking for the same answer. Thanks
for stepping up and helping me out, just as much as the person who made the
original post.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top