IF AND help!

  • Thread starter Thread starter acebrown
  • Start date Start date
A

acebrown

What's the formula for:

If A1<=2 or A1>1 then B1
If A>2 then C1
If A<=1 then 0

I assume it'll be an extensions of this formula which is missing th
A1>2 part:

IF(AND(A1<=2,A1>1),B1,0)

Thanks a million
 
acebrown said:
What's the formula for:

If A1<=2 or A1>1 then B1
If A>2 then C1
If A<=1 then 0

I assume it'll be an extensions of this formula which is missing the
A1>2 part:

IF(AND(A1<=2,A1>1),B1,0)

=IF(A1>2,C1,IF(A1>1,B1,0))
assuming that your first condition was intended to be "and", not "or", and
that where you said A in your 2nd & 3rd conditions you intended A1.
 

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