View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
Deborah Deborah is offline
external usenet poster
 
Posts: 35
Default Timesheet Overtime Calulations - Excel 2002

Not sure I can explain this without giving someone the whole time sheet but
I'll give it a go!

A B C D E
F
Date W Start Time Finish Time Total Hours Overtime

22 w or blank 08:00 19:50 =D6-C6
=IF(E6G6,E6-G6,0)

G
Hidden
=IF(B6=0,"08:00",0)


All hours over 8 need to calculate in the overtime column so F should be
3:50. If it is a weekend though, all hours have to go in the overtime column
- therefore if a weekend the person needs to type a 'w' in column B.

The problem is if it's a weekend the overtime calculates fine but not if it
is a weekday. I'm sure it's something to do with my formula in G - the
"08:00" not being calculated but I just can't see a way around it. Also the
overtime column won't total at the bottom because I have negative
numbers/times.

Any help much appreciated and if anyone wants the timesheet itself I'll
happily email it!