# Overtime Formula Help

#### gdillon

##### Board Regular
I need a simple formula fix here, On a single timecard when the time worked is entered daily and overtime kicks in only after 40 hours. I track the time in each day and the total hours worked. What formula can I use that will automatically separate regular time and overtime. Lets say this person worked 12, 12, 12, 12 that is 48 hours I would like to track this daily and to be correct it would be 12, 12, 12, 4, with overtime at 8 hours

I want to have (2) cells at the end of each day one that captures regular time and the other that captures overtime once the gross total week has exceed. So in this example 12, 12, 12, 4 would show in the cell for regular hours and the 8 would show in the cell for OT hours.

### Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.

#### Domski

##### Well-known Member
Hi,

Not sure this is exactly what you're after but:
Book3
ABCDEFG
1Shift1Shift2Shift3Shift4Shift5RegularTimeOvertime
212121212408
Sheet1

Hope it helps,

Dom

#### VoG

##### Legend
Assuming regular hours is 36 then for regular hours

MIN(36,SUM(A1:C1))

and for overtime

=IF(SUM(A1:C1)<=36,0,SUM(A1:C1)-36)

#### dave3009

##### Well-known Member
Hi There

Lets assume one persons hours run B2:H2 for the days of the week

in I2 the formula is =IF(SUM(B2:H2)>40, 40, SUM(B2:H2))

Then in J2 formula is =IF(I2=40, SUM(B2:H2)-40, 0)

This gives regular hours to 40 in column I and overtime in J

Does this work, you will need to adjust ranges to suit

Kind Regards

Dave

Replies
3
Views
921
Replies
1
Views
280
Replies
1
Views
532
Replies
1
Views
585
Replies
23
Views
710

1,181,606
Messages
5,930,869
Members
436,764
Latest member

### We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.

### Which adblocker are you using?

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

### Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

### Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back