View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
David Biddulph[_2_] David Biddulph[_2_] is offline
external usenet poster
 
Posts: 8,651
Default Literal based on Week end

The syntax of the OR function is OR(condition1,condition2)
--
David Biddulph

"Umar" wrote in message
...
I tried these to NO avail:
Cell D51 contains a formula - =TEXT(B51,"dddd")

For Cell E51 I want to enter an IF condition based upon the Weekday value
in
Cell D51.

So, here is what I have tried and I also have tried some other variations:

1. IF(D51="Sunday" OR D51= "Saturday","No Hours Recorded","Charged")

2. IF(D51='Sunday' OR D51= 'Saturday','No Hours Recorded','Charged')

All failed, could anyone pinpoint and corrected the typo?