Can you use two inequalities with the IF function ie IF 10<E5<20.

C

CRICKETERRY

In EXCEL I know you can use the IF function with one inequality eg IF E9>8
THEN....But can you make it do two inequalities at once eg if E9 is between
100 and 200 THEN... Any help much appreciated
 
H

Hari Prasadh

Hi,

One way

=IF((E9>100)*(E9<200),TRUE,FALSE)

You can use And, OR statement within IF.

Thanks a lot,
Hari
India
 
B

Bob Phillips

=IF(AND(E9>=100,E9<=200), True,False)

--

HTH

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

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