View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Kevin B Kevin B is offline
external usenet poster
 
Posts: 1,316
Default IF statement...And condition

Use the And function as part of the conditional clause

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


"Rich D" wrote:

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).
--
Rich D
Armstrong Custom Homes
Redmond