ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Time calculations (https://www.excelbanter.com/excel-programming/426328-time-calculations.html)

Decreenisi

Time calculations
 
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.

Jacob Skaria

Time calculations
 
Paste this in F5
=IF(D58,D5-8,0)
--
If this post helps click Yes
---------------
Jacob Skaria


"Decreenisi" wrote:

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.


Nigel[_2_]

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.



Decreenisi

Time calculations
 
On 1 Apr, 07:44, "Nigel" wrote:
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.


Thanks, works great !!


All times are GMT +1. The time now is 11:26 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com