Need help with auto calculating excess hours worked to apply to "Make-up" column before balance to "Over Time"

JoyeDigi

New Member
Joined
Sep 24, 2015
Messages
3
I am trying to get the Timesheet to automatically allot hours worked in excess of 8:00 per day to “Make-up” column to a MAX of 40:00; remaining balance if any should be allocated to OT Hrs.

Please save me from myself and too many )s! :rofl:

[TABLE="width: 967"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[TD]G[/TD]
[TD]H[/TD]
[TD]I[/TD]
[TD]J[/TD]
[TD]K[/TD]
[TD]L[/TD]
[TD]M[/TD]
[TD]N[/TD]
[TD]O[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD="colspan: 13"]Company Name[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD="colspan: 10"]Address[/TD]
[TD][/TD]
[TD][/TD]
[TD]Time Sheet[/TD]
[TD]Std Work Day[/TD]
[TD]8:00[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Std Work Week[/TD]
[TD]40:00[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]Employee:[/TD]
[TD]SAMPLE[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="colspan: 2"][/TD]
[TD="colspan: 3"]Employee Cell phone:[/TD]
[TD][/TD]
[TD]772-555-5555[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]Position:[/TD]
[TD]Paralegal[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="colspan: 2"][/TD]
[TD="colspan: 3"]Pay period start date:[/TD]
[TD][/TD]
[TD]9/11/2015[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]Start Date:[/TD]
[TD]2/18/2013[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="colspan: 2"][/TD]
[TD="colspan: 3"]Pay period end date:[/TD]
[TD][/TD]
[TD]9/24/2015[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD]Day[/TD]
[TD]Date[/TD]
[TD]In[/TD]
[TD]Lunch[/TD]
[TD]Return[/TD]
[TD]Out[/TD]
[TD]Hrs Wkd[/TD]
[TD]Reg Hrs[/TD]
[TD]Make-up[/TD]
[TD]OT Hrs[/TD]
[TD]Sick[/TD]
[TD]Vaca[/TD]
[TD]Hol[/TD]
[TD]NOTES[/TD]
[TD]Total[/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD]Friday[/TD]
[TD]########[/TD]
[TD]8:30 AM[/TD]
[TD]12:00 PM[/TD]
[TD]1:00 PM[/TD]
[TD]6:30 PM[/TD]
[TD]9:00[/TD]
[TD]8:00[/TD]
[TD]1:30[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]9:30[/TD]
[/TR]
[TR]
[TD]10[/TD]
[TD]Saturday[/TD]
[TD]########[/TD]
[TD]10:00 AM[/TD]
[TD][/TD]
[TD][/TD]
[TD]12:00 PM[/TD]
[TD]2:00[/TD]
[TD]2:00[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]2:00[/TD]
[/TR]
[TR]
[TD]11[/TD]
[TD]Sunday[/TD]
[TD]########[/TD]
[TD]12:00 PM[/TD]
[TD][/TD]
[TD][/TD]
[TD]3:00 PM[/TD]
[TD]3:00[/TD]
[TD]3:00[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]3:00[/TD]
[/TR]
[TR]
[TD]12[/TD]
[TD]Monday[/TD]
[TD]########[/TD]
[TD]9:00 AM[/TD]
[TD]12:30 PM[/TD]
[TD]12:30 PM[/TD]
[TD]7:00 PM[/TD]
[TD]10:00[/TD]
[TD]8:00[/TD]
[TD][/TD]
[TD]2:00[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]10:00[/TD]
[/TR]
[TR]
[TD]13[/TD]
[TD]Tuesday[/TD]
[TD]########[/TD]
[TD]8:00 AM[/TD]
[TD]12:00 PM[/TD]
[TD]2:30 PM[/TD]
[TD]3:00 PM[/TD]
[TD]4:30[/TD]
[TD]4:30[/TD]
[TD][/TD]
[TD][/TD]
[TD]2:00[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]6:30[/TD]
[/TR]
[TR]
[TD]14[/TD]
[TD]Wednesday[/TD]
[TD]########[/TD]
[TD]8:30 AM[/TD]
[TD]12:00 PM[/TD]
[TD]12:00 PM[/TD]
[TD]5:00 PM[/TD]
[TD]8:30[/TD]
[TD]8:00[/TD]
[TD][/TD]
[TD]0:30[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]8:30[/TD]
[/TR]
[TR]
[TD]15[/TD]
[TD]Thursday[/TD]
[TD]########[/TD]
[TD]8:30 AM[/TD]
[TD]12:00 PM[/TD]
[TD]1:00 PM[/TD]
[TD]2:30 PM[/TD]
[TD]5:00[/TD]
[TD]5:00[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]5:00[/TD]
[/TR]
[TR]
[TD]16[/TD]
[TD][/TD]
[TD]Subtotal[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]42:00[/TD]
[TD]38:30[/TD]
[TD]1:30[/TD]
[TD]2:30[/TD]
[TD]2:00[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]44:30[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="colspan: 6"]Need Make-up total MAX = 40:00.[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]i9[/TD]
[TD="colspan: 7"]=IF(SUM($H$16+O4)<$O$3,(SUM($O$3-$H$16)),$O$4)[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]i10[/TD]
[TD="colspan: 6"]=IF(SUM($H$16+I9)<=$O$3,(SUM(G10-H10)),($O$4))[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]i11[/TD]
[TD="colspan: 7"]=IF(SUM($H$16+I9+I10)<=$O$3,(SUM(G11-H11)),(SUM($O$4)))[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]i12[/TD]
[TD="colspan: 6"]=IF(SUM($H$16+I9+I10+I11)<$O$3,(SUM($O$3-$H$16)),$O$4)[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]i13[/TD]
[TD="colspan: 6"]=IF(SUM($H$16+I9+I10+I11+I12)<$O$3,(SUM($O$3-$H$16)),$O$4)[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]i14[/TD]
[TD="colspan: 6"]=IF(SUM($H$16+I9+I10+I11+I12+I13)<$O$3,(SUM($O$3-$H$16)),$O$4)[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]i15[/TD]
[TD="colspan: 6"]=IF(SUM($H$16+I9+I10+I11+12+I13+I14)<$O$3,(SUM($O$3-$H$16)),$O$4)[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.

Forum statistics

Threads
1,223,162
Messages
6,170,431
Members
452,326
Latest member
johnshaji

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
Back
Top