Calculating overtime with 3 different pay rates

lostinexcelformulas

New Member
Joined
Apr 10, 2009
Messages
15
I'm struggling with a formula to calculate 3 different rates of pay as part of a timesheet. That being rates of *1, *1.33 & *1.5.
If the employee works normal 8hrs then single rate *1 applies. After those 8 hours working then for a period of 2 hours *1.33 rate applies. After effectively the 8 hours + 2 hours then rate *1.5 applies.
I have tried the limited knowledge that I have to complete this problem but end up going round in circles.
Any ideas. I'm still using Ex'97.
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
Unfortunately this has been posted into the wrong forum which is why no-one has answered... you could PM a Moderator and ask them to move for you to the Main Excel Questions forum.

In short you have a few options:

=(MIN(8,hours)*rate)+(MAX(0,MIN(2,hours-8))*(rate*1.33))+(MAX(0,hours-10)*(rate*1.5))

where hours is your hours worked figure and rate is your hourly rate value

Alternatively you can use SUMPRODUCT

=SUMPRODUCT(--(hours>{0,8,10}),hours-{0,8,10},rate*{1,.33,.17})

Note: the rate multiplier is incremented (ie 2nd rate is .33 higher than prior rate and so on and so forth)
 
Upvote 0
Unfortunately this has been posted into the wrong forum which is why no-one has answered... you could PM a Moderator and ask them to move for you to the Main Excel Questions forum.

In short you have a few options:

=(MIN(8,hours)*rate)+(MAX(0,MIN(2,hours-8))*(rate*1.33))+(MAX(0,hours-10)*(rate*1.5))

where hours is your hours worked figure and rate is your hourly rate value

Alternatively you can use SUMPRODUCT

=SUMPRODUCT(--(hours>{0,8,10}),hours-{0,8,10},rate*{1,.33,.17})

Note: the rate multiplier is incremented (ie 2nd rate is .33 higher than prior rate and so on and so forth)

great thanks
 
Upvote 0

Forum statistics

Threads
1,214,833
Messages
6,121,869
Members
449,054
Latest member
juliecooper255

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