Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 63
Default IF statement...And condition

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
  #2   Report Post  
Posted to microsoft.public.excel.misc
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

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to set the time as condition within if statement? Eric Excel Worksheet Functions 2 November 10th 06 01:57 AM
IF statement and color formatting for cell B1 for condition in A1 Rossta Excel Worksheet Functions 1 July 27th 06 12:37 AM
3 logical condition if statement Mikehughes Excel Worksheet Functions 3 July 19th 06 01:59 PM
Blanks as a condition of a statement Stuck on Blanks New Users to Excel 2 November 23rd 05 12:24 AM
Condition Statement Django Excel Discussion (Misc queries) 5 August 26th 05 06:59 PM


All times are GMT +1. The time now is 12:35 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"