IF, AND, OR conditions?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I need M1 to answer "Y"(yes) if several logical conditions are met. I
already have this:
=IF(AND(Q1>55,L1>24,P1=""),"Y","")

but I also need M1 to answer "Y" if the following is true (i.e., it would be
an "or" statment in logics).
=IF(AND(Q1>60,L1>14,P1="Y"),"Y","")

How do I combine them?
 
=IF(OR(AND(Q1>55,L1>24,P1=""),AND(Q1>60,L1>14,P1="Y"))"Y","")

--

HTH

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

=IF(OR(AND(Q1>55,L1>24,P1=""),AND
(Q1>60,L1>14,P1="Y")),"Y","")

HTH
Jason
Atlanta, GA
 

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