View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Peo Sjoblom[_2_] Peo Sjoblom[_2_] is offline
external usenet poster
 
Posts: 964
Default Mutiple "and"s and "or"s in "IF" statement

=IF(AND(OR(A15={"A","B"}),OR(A17={1,2,3})),"Statem ent A","Statement B")

--


Regards,


Peo Sjoblom

"tcek" wrote in message
...
sorry if this is a double post. I am trying to author the following
generic
statement in excel

"IF" reference cell "A17" equals "A" or "B" AND reference cell "A15"
equals
"1", "2" or "3" then "value" else "different value"

thanks in advance