is there a function called "between" in excel

G

Guest

Hi.. I am trying to build a formula, where a value in certain cell( say A5)
should be populated in cell B5 if the A5 value is say between 0-30, in C5 if
the A5 value is 30-60..etc. Is this possible..??
 
G

Guest

The formula:

=IF(AND((A5>29),(A5<61)),A5,"")


will put a value in C5 is A5 is "between" 30 and 60
 
A

Andy

The formula:
=IF(AND((A5>29),(A5<61)),A5,"")

will put a value in C5 is A5 is "between" 30 and 60

or =A5*And(A5>29,A5<61) if you don't mind a zero instead of a blank
 

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

Top