Differential based on percentage of hourly rate between set range hours

DamnBrecklyn

New Member
Joined
Apr 22, 2022
Messages
7
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
  3. Mobile
Please point me in the right direction. I'm trying to factor in differential pay for hours between 10pm - 6am.
Differential =10% hourly wage. Example employee makes $10 an hour so differential would equal $1 totaling $11/hr for any hours worked between 10pm - 6p

What formula designate between 10-6 the employee get paid hourly + differential

xxTimesheet1.xlsx
ABCDEFGHI
4date10/10/21
5
6Wage$14.75
7OT Wage$22.13
8
9DayDateTime inTime OutTime InTime OutOT InOT OutTotal
10Sunday10-Oct-216:00 AM11:00 AM12:00 PM3:00 PM10:00 PM12:00 AM10.00
11Monday11-Oct-213:00 AM8:00 AM9:00 AM12:00 PM8:00 PM10:00 PM10.00
12Tuesday12-Oct-211:00 AM5:00 AM6:00 AM10:00 AM8.00
13Wednesday13-Oct-219:00 PM1:00 AM2:00 AM6:00 AM8.00
14Thursday14-Oct-219:00 PM1:00 AM2:00 AM6:00 AM10:00 PM11:00 PM9.00
15Friday15-Oct-216:00 PM9:00 PM3.00
16Saturday16-Oct-210.00
TimeSheet
Cell Formulas
RangeFormula
B7B7=B6*1.5
B10B10=G4
B11:B16B11=B10+1
I10:I16I10=(MOD(D10-C10,1)+MOD(F10-E10,1)+MOD(H10-G10,1))*24
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
Formula for Differential is as below
Excel Formula:
=10%*B6*24*SUMPRODUCT(MMULT((MOD("6:00"-"22:00",1)>MOD(C10:D16-"22:00",1))*MOD("6:00"-C10:D16,1)+(MOD("6:00"-"22:00",1)>MOD(E10:F16-"22:00",1))*MOD("6:00"-E10:F16,1)+(MOD("6:00"-"22:00",1)>MOD(G10:H16-"22:00",1))*MOD("6:00"-G10:H16,1),{1;-1})+MOD("6:00"-"22:00",1)*((MOD(C10:C16-"22:00",1)>MOD(D10:D16-"22:00",1))+(MOD(E10:E16-"22:00",1)>MOD(F10:F16-"22:00",1))+(MOD(G10:G16-"22:00",1)>MOD(H10:H16-"22:00",1))))
Works thank you!!!
 
Upvote 0

Forum statistics

Threads
1,214,904
Messages
6,122,169
Members
449,070
Latest member
webster33

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