View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
Nigel[_2_] Nigel[_2_] is offline
external usenet poster
 
Posts: 735
Default Time calculations

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

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

--

Regards,
Nigel




"Decreenisi" wrote in message
...
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.