Sundays

  • Thread starter Thread starter Maresa
  • Start date Start date
M

Maresa

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
 
=(MOD(A5,7)=1)*(H5>0)

That only works if you're using the 1900 date system. Safer to use the
WEEKDAY function.
 
Back
Top