View Single Post
  #3   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 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