Nested IF AND OR statement
Hi All I need some help with a complicated formula. I'm trying to say ; IF E2 contains "A" , OR "B" , OR "C" , AND K2="D" then put "YES". IF not put B1 Grateful for any help. |
Nested IF AND OR statement
Hi Colin,
Am Tue, 29 Oct 2013 20:30:45 +0000 schrieb Colin Hayes: IF E2 contains "A" , OR "B" , OR "C" , AND K2="D" then put "YES". IF not put B1 try: =IF((K2="D")+COUNT(FIND({"A","B","C"},E2))=2,"Yes" ,B1) Regards Claus B. -- Win XP PRof SP2 / Vista Ultimate SP2 Office 2003 SP2 /2007 Ultimate SP2 |
Nested IF AND OR statement
Hi Colin,
Am Tue, 29 Oct 2013 21:45:59 +0100 schrieb Claus Busch: =IF((K2="D")+COUNT(FIND({"A","B","C"},E2))=2,"Yes" ,B1) a bit shorter: =IF(OR(E2={"A","B","C"})+(K2="D")=2,"Yes",B1) Regards Claus B. -- Win XP PRof SP2 / Vista Ultimate SP2 Office 2003 SP2 /2007 Ultimate SP2 |
Nested IF AND OR statement
In article , Claus Busch
writes Hi Colin, Am Tue, 29 Oct 2013 21:45:59 +0100 schrieb Claus Busch: =IF((K2="D")+COUNT(FIND({"A","B","C"},E2))=2,"Yes" ,B1) a bit shorter: =IF(OR(E2={"A","B","C"})+(K2="D")=2,"Yes",B1) Regards Claus B. Hi Claus Yes , both perfect. Thanks again for your time and considerable expertise. ^_^ Best Wishes Colin |
All times are GMT +1. The time now is 11:25 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com