Thread: If Statement
View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
scotty scotty is offline
external usenet poster
 
Posts: 45
Default If Statement

Thanks. I couldn't figure out the "or" part.

"Bernard Liengme" wrote:

=IF(OR(A1="September",B1="September"),C1,0)
or
((A1="September")+(B1="September"))*C1
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
www.stfx.ca/people/bliengme
remove caps from email

"Scotty" wrote in message
...
I have the monthly name September in one cell (A1) and October in another
cell (B1). How can I create an "if" statement that says if cell A1 or B1
=
September then return figure in Cell C1 else zero?

Thanks