Thread: if statement
View Single Post
  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
T. Valko T. Valko is offline
external usenet poster
 
Posts: 15,768
Default if statement

Here's another way...

=IF(OR(A1={"V","M","D","A"}),"Yes","No")

--
Biff
Microsoft Excel MVP


"Debra Reid" <Debra wrote in message
...
In using the "if" statement I would like the logic portion to state that
if
cell# = v or m or d or a but the if statement seems to only work if the
logic
is = to a number. Should I be using another formula?