Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
alm09
 
Posts: n/a
Default If Then statement

Is it possible to have an "AND" condition in an "If Then" statement?

For example, how would you write "if cell A1 and C1 and E1 all equal "x",
then return "yes". If not, return "no".
  #2   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

=IF(AND(A1="x",C1="x",E1="x"),"yes","no")

--

Regards,

Peo Sjoblom


"alm09" wrote in message
...
Is it possible to have an "AND" condition in an "If Then" statement?

For example, how would you write "if cell A1 and C1 and E1 all equal "x",
then return "yes". If not, return "no".



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
What statement to use? Paul Excel Worksheet Functions 6 February 13th 05 05:23 PM
How do I fix a circular reference in a financial statement? drjayhawk25 Excel Discussion (Misc queries) 0 February 7th 05 05:19 PM
If statement and Isblank statement Rodney C. Excel Worksheet Functions 0 January 18th 05 08:39 PM
7+ nested if statement? Turi Excel Worksheet Functions 3 December 20th 04 07:55 PM
Statement lintan Excel Worksheet Functions 1 December 2nd 04 11:31 PM


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

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

About Us

"It's about Microsoft Excel"