IF AND function

C

Chink!

Hello

I'm trying to write a formula for the following:

If the value in cell B8 < 621
AND
if the value in cell B21 < 3000

value = YES

if not value = NO

Ive tried various ways to write it but keep getting an error

Can someone please let me know the formula?

many thanks
CH!
 
B

Bob Phillips

=IF(OR(B8=0,B21=0),"",IF(AND(B8<621,B21<3000),"Yes","No"))

--

HTH

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

Chink!

thank you very much

CH!
Bob Phillips said:
=IF(OR(B8=0,B21=0),"",IF(AND(B8<621,B21<3000),"Yes","No"))

--

HTH

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

Chink!

OK I think I asked the wrong question

What is the formula for:
If B8 and B21 = 0 result = " "
If B21<3000 result = "yes"
AND
If B8<621 result = "yes"
otherwise result ="no"

thanks for your patience


CH!
 
B

Bob Phillips

=IF(AND(B8=0,B21=0),"",IF(AND(B8<621,B21<3000),"Yes","No"))


--

HTH

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

Chink!

Thanks

CH!
Bob Phillips said:
=IF(AND(B8=0,B21=0),"",IF(AND(B8<621,B21<3000),"Yes","No"))


--

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