Calculating pay help

wolf359

New Member
Joined
May 10, 2011
Messages
2
I am trying to calculate the total pay for an employee who receives regular time for 40 hours, time and a half for 40-50 hours and double-time for hours over 50.

I have figured out a way to do this, but first off it is complicated and second if i but in something less that 40 hours, nothing works right.

Is there an easier way.
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
If hours worked are in A, base pay rate is in B and pay is in C:
Code:
=IF(A2>50,((A2-50)*(2*B2))+(10*(1.5*B2)+40*B2),IF(A2>40,((A2-40)*(1.5*B2)+40*B2),A2*B2))
 
Upvote 0
Welcome to the board. Here is another approach to solve the problem that will work.
A is hours
B is the standard rate

=IF(A2<=40,A2,IF(A2>50,55+2*MOD(A2,50),40+1.5*MOD(A2,40)))*B2

It scales the hours instead of the rate which is mathematically equivalent to scaling the rate.
 
Last edited:
Upvote 0
For Excel 2007, i think this works (didn't verify): Hours in A2, pay rate per hour in b1

=
Didn't refresh page to see responses: use jmthompson's.
 
Last edited:
Upvote 0
Another way:

=Rate * SUMPRODUCT((A1>{0,40,50})*(A1-{0,40,50})*{1,0.5,0.5})
 
Upvote 0
Wolf359,

Assuming that the column data in hours worked (A) are in Excel hour format, use the following formula:

=24*A2*B2+IF(A2*24<=40,0,(24*A2-40)*1.5+IF(A2*24<=50,0,(24*A2-50)*2))

Markmzz
 
Upvote 0

Forum statistics

Threads
1,224,609
Messages
6,179,876
Members
452,949
Latest member
Dupuhini

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