Calculating double time after 12 hours plus sundays

GingerGypsy

New Member
Joined
Oct 30, 2018
Messages
4
Forgive me if this creates a redundant thread on this topic but I am at my wits end. I have searched all over the internet and can't find a solution to my specific excel problem. On time cards where double time is after 12 hours per mon-sat and all day sunday, how can I create a function for this?
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"

Excel 2010
ABC
13HoursOT > 12
1430-Oct-1814.52.5
154-Nov-1810.010.0
1b
Cell Formulas
RangeFormula
C14=IF(WEEKDAY(A14,2)=7,B14,IF(B14>12,B14-12,0))
C15=IF(WEEKDAY(A15,2)=7,B15,IF(B15>12,B15-12,0))
 
Upvote 0
Could you show an image of your worksheet?
PAY PERIOD: 9/23/18TO:9/29/18
SUMTWTHFSATotal
9/239/249/259/269/279/289/29Hours
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.00.00.00.00.00.00.00.0
Regular hours0.0
Overtime hours (if any)0.0
sorry i'm not very forum savvy

<colgroup><col><col span="5"><col><col><col span="3"></colgroup><tbody>
</tbody>
 
Upvote 0
So what i'm trying to do is come up with one IF formula for the whole total for double time across the pay week. Sun Mon Tues Wed Thur Fri Sat, with all of sunday being double time and all the others being double time after 12 hours.
 
Upvote 0

Excel 2010
BCDEFGHIJK
19Sun Sep 23, 18Mon Sep 24, 18Tue Sep 25, 18Wed Sep 26, 18Thu Sep 27, 18Fri Sep 28, 18Sat Sep 29, 18Hours
206881414148721260
1b
Cell Formulas
RangeFormula
I20=SUM(B20:H20)
J20=SUMPRODUCT(--(C20:G20>12),C20:G20-12)+B20
K20=I20-J20
 
Upvote 0
correction

Excel 2010
BCDEFGHIJK
19Sun Sep 23, 18Mon Sep 24, 18Tue Sep 25, 18Wed Sep 26, 18Thu Sep 27, 18Fri Sep 28, 18Sat Sep 29, 18Hours
206881414148721260
1b
Cell Formulas
RangeFormula
I20=SUM(B20:H20)
J20=SUMPRODUCT(--(C20:H20>12),C20:H20-12)+B20
K20=I20-J20
 
Upvote 0
correction
Excel 2010
BCDEFGHIJK
19Sun Sep 23, 18Mon Sep 24, 18Tue Sep 25, 18Wed Sep 26, 18Thu Sep 27, 18Fri Sep 28, 18Sat Sep 29, 18Hours
206881414148721260

<tbody>
</tbody>
1b

Worksheet Formulas
CellFormula
I20=SUM(B20:H20)
J20=SUMPRODUCT(--(C20:H20>12),C20:H20-12)+B20
K20=I20-J20

<tbody>
</tbody>

<tbody>
</tbody>

Thank you soooo much, that does work for what I need. But I can't figure out how to get the totals correct. Say there is a total of 61 hours worked for the week. 40 regular, 14 OT, 7 DT. I'm getting: 40 reg, 21 OT, 7 DT. What formula do I need to change to make the overtime not also have the double time in the total? Thanks so much, I am such a noob.


kAP1xK1.png
 
Upvote 0
You did not define OT @ 1.5
Your example is not clear.

Consider the 2 alternatives that follow:

Suggestion deleted.

What is a work week?
What hours are at 1.5?
What hours are at 2.0?
Which day is Sunday?
What rates apply to Saturday?
What are rates after 40 hours?
 
Last edited:
Upvote 0

Excel 2010
ABCDEFGHIJK
17
18Total
1923-Sep-1824-Sep-1825-Sep-1826-Sep-1827-Sep-1828-Sep-1829-Sep-18HoursOTTotal
20Hours57131381056161
21Regular078888544-440
22OT @ 2.0501100077
23OT @ 1.5004402010414
24
25Hours571313810561
26OT @ 2.07
27Regular40
28OT @ 1.514
29
1b
Cell Formulas
RangeFormula
J21=MIN(I21,40)-I21
B21=MIN(8,B20)*(WEEKDAY(B19,2)<7)
B22=(WEEKDAY(B19,2)=7)*B20+(AND(WEEKDAY(B19,2)<7,B20>12)*(B20-12))
B23=B20-SUM(B21:B22)
I20=SUM(B20:H20)
I21=SUM(B21:H21)
I22=SUM(B22:H22)
I23=SUM(B23:H23)
I25=SUM(B25:H25)
I26=SUMPRODUCT(--(C25:H25>12),C25:H25-12)+B25
I27=MIN(40,SUM(C25:H25)-SUMPRODUCT(--(C25:H25>8),C25:H25-8))
I28=I25-I26-I27
K20=I20+J20
K21=I21+J21
K22=I22+J22
K23=I23+J23
 
Upvote 0

Forum statistics

Threads
1,215,873
Messages
6,127,454
Members
449,383
Latest member
DonnaRisso

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