![]() |
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". |
Try this:
=IF(AND(A1=10,A2=10,A3=10),"Yes","No") On Tue, 22 Feb 2005 08:41:03 -0800, "alm09" wrote: 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". |
All times are GMT +1. The time now is 09:52 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com