multiple logical tests

  • Thread starter Thread starter shternm
  • Start date Start date
S

shternm

What formula do I use if I want to have multiple logical test values al
IF statement?
For example: If(A1=B1 OR/AND C1, B1,C1)

Thanks a lot
 
You use AND or OR:

=IF(AND(A1=B1,A1=C1),B1,C1)

OR

=IF(OR(A1=B1,A1=C1),B1,C1)
 
shternm wrote...
What formula do I use if I want to have multiple logical test values ala
IF statement?
For example: If(A1=B1 OR/AND C1, B1,C1)


=IF(OR(A1=B1,A1=C1), B1, C1)

The key is the OR statement.

Hope that helps.

Best regards,
Kevin
 

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