View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Claus Busch Claus Busch is offline
external usenet poster
 
Posts: 3,872
Default 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