View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Leo Heuser[_2_] Leo Heuser[_2_] is offline
external usenet poster
 
Posts: 111
Default Use of the "OR" function

=(IF(OR(C500C499,O500C500),0,(C500-O500)*30)

--
Best Regards
Leo Heuser
Excel MVP

Followup to newsgroup only please.

"GND" skrev i en meddelelse
...
I am trying to use two logical conditions in writing an
IF,THEN,ELSE formula in Excel that does the following: IF
(C500C499) OR (O500C500) THEN SET IT TO 0, OTHERWISE DO
THE FOLLOWING (C500-O500)*30. Here's the formula that
I've used but it doesn't work: =(IF((C500C499)OR
(O500C500)),0,(C500-O500)*30)

The bottom line is that I'm not sure how to use the OR
function. Can anyone tell me what I'm doing wrong?
Thanks for your help!