Calculating double time after 8hrs

andre30331

New Member
Joined
May 14, 2014
Messages
29
Hello I could really use some help completing this formula. I recently realized my worksheet has not been adding double time hrs. correctly. In California DT is pay on two occasions


  1. For all hours worked in excess of 12 hours in a workday.
  2. And for all hours worked over eight(8) on the seventh consecutive day of work in a workweek.

My current formula accurately calculates DT hours beyond 12hrs worked in a workday but it does not recognize hrs. worked on the seventh workday and add any hrs. over 8 to the DT hrs. as mentioned in point 2.

Formula I am currently using:
=IF(H15>12,H15-12,0)+IF(I15>12,I15-12,0)+IF(J15>12,J15-12,0)+IF(K15>12,K15-12,0)+IF(L15>12,L15-12,0)+IF(M15>12,M15-12,0)+IF(N15>12,N15-12,0)

Any help with this would be greatly appreciated…:cool:
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
How about
=SUMPRODUCT(--(H2:M2>12),(H2:M2-12))+MAX(N2-8,0)
 
Upvote 0
Forgot about consecutive days, so try this instead.
=SUMPRODUCT(--(H2:M2>12),(H2:M2-12))+IF(COUNTIF(H2:M2,">"&0)=6,MAX(N2-8,0),0)
 
Upvote 0
Thank so much Fluff… I made a small adjustment to your first suggestion and it seems to works great. Thanks a million!!!!
=SUMPRODUCT(--(I15:N15>12),(I15:N15-12))+MAX(H15-8,0)
 
Upvote 0
Glad to help & thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,223,164
Messages
6,170,444
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