IF statement...And condition

R

Rich D

Using the IF statement, how do I use more than one criteria to be met? Can I
use an AND in it? that is, =IF(condition 1 AND condition 2,XXX,YYY).
 
K

Kevin B

Use the And function as part of the conditional clause

=IF(AND(A1=2,B2=3),XXX,YYY)
 

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