Overtime Formula Help

gdillon

Board Regular
Joined
Feb 5, 2006
Messages
129
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
Joined
Jan 18, 2005
Messages
7,292
Hi,

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


Hope it helps,

Dom
 

VoG

Legend
Joined
Jun 19, 2002
Messages
63,650
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
Joined
Jun 23, 2006
Messages
7,128
Office Version
  1. 365
  2. 2021
Platform
  1. Windows
  2. Mobile
  3. Web
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
 

Forum statistics

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

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.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

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

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

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
Top