ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   New Users to Excel (https://www.excelbanter.com/new-users-excel/)
-   -   calculate overtime & doubletime (https://www.excelbanter.com/new-users-excel/223222-calculate-overtime-doubletime.html)

shizuka

calculate overtime & doubletime
 
Hi...
I am having a hard time calculating over and double time.
I am making a list and i have this columns:

Start time Finish Time Reg time Overtime Double time Total hrs
8 AM 7.30 PM

To calculate the regular time I have used this formula:
=IF(((H9-G9)*24)8,8,(H9-G9)*24)

To Overtime
=IF((H9-G9)*248,(H9-G9)*24-8,0)

To total Hrs
=IF((OR(H9="",G9="")),0,IF((H9<G9),((H9-G9)*24)+24,(H9-G9)*24))

And I am having trouble doing the Double time...
And I think the 3 formulas I have used aren't correct, because Regular time
cannot be more than 8h, and overtime can not be more than 4hrs... the rest
goes to double time...
Can you please help me???


Gord Dibben

calculate overtime & doubletime
 
Maybe Chip Pearson's site can help you.

http://www.cpearson.com/excel/overtime.htm


Gord Dibben MS Excel MVP

On Thu, 5 Mar 2009 11:35:01 -0800, shizuka
wrote:

Hi...
I am having a hard time calculating over and double time.
I am making a list and i have this columns:

Start time Finish Time Reg time Overtime Double time Total hrs
8 AM 7.30 PM

To calculate the regular time I have used this formula:
=IF(((H9-G9)*24)8,8,(H9-G9)*24)

To Overtime
=IF((H9-G9)*248,(H9-G9)*24-8,0)

To total Hrs
=IF((OR(H9="",G9="")),0,IF((H9<G9),((H9-G9)*24)+24,(H9-G9)*24))

And I am having trouble doing the Double time...
And I think the 3 formulas I have used aren't correct, because Regular time
cannot be more than 8h, and overtime can not be more than 4hrs... the rest
goes to double time...
Can you please help me???




All times are GMT +1. The time now is 06:01 AM.

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