Thread: Sundays
View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Jacob Skaria Jacob Skaria is offline
external usenet poster
 
Posts: 8,520
Default Sundays

Try the below
=IF(AND(WEEKDAY(A5)=1,A50,H50),1,0)

If this post helps click Yes
---------------
Jacob Skaria


"Maresa" wrote:

I dl a timesheet template where the date is formatted to say Sunday, Monday
etc. (Eg 40017 displays Thursday in column A5 and 23/07/09 in column B5)

I need a value of 1 in colum J5 if A5 = Sunday AND there is a value 0 in
column H5
Currently the spreadsheet looks like this:
A = Weekday
B= Date
C= Start work
D= End work
H= Daily hours worked
J = Sundays worked