Time calculations

  • Thread starter Thread starter Decreenisi
  • Start date Start date
D

Decreenisi

I am trying to create a time sheet for off site engineers.... In cell
D5 I have a calculation of total hrs worked (C5-B5). In cell F5 I want
to automatically have the overtime. So I would like a calculation that
says, if cell D5 > 8 hrs, it puts the total number of overtime hrs in
F5. Is there a simple formula / calculation I could use.

Thanks.
 
Past this into Cell F5, do not forget to format F5 as "hh:mm:ss"

=IF(D5>TIME(8,0,0),D5-TIME(8,0,0),0)
 
Past this into Cell F5, do not forget to format F5 as "hh:mm:ss"

=IF(D5>TIME(8,0,0),D5-TIME(8,0,0),0)

--

Regards,
Nigel
(e-mail address removed)

Thanks, works great !!
 
Back
Top