if greater than?
Try this in E2:
=IF(D2<=2080,D2*B2,2080*B2+(D2-2080)*C2)
Format as currency, and copy down as required.
Hope this helps.
Pete
On Apr 1, 12:53*am, JT wrote:
I need help with a function for total pay.
I have the person's hourly rate and overtime rate and number of hours. *But
I want to find a simple function to calculate the total pay based on the
number of hours, ideally one that I can drag down to calculate a number of
totals.
So here's an example of the info that I have, but I want to find what the
total s/b with a formula.
If the hours are 2080 or under, I'd like it to multiply by the hourly rate.. *
If the hours are 2081 or more, then I'd like it to multiply 2080 by the
hourly rate and multiply the remaining hours by the overtime rate. *
ID # * *Hourly RateOT Rate * * *Hours * Total S/B
1 * * * *$10 * * $15 * *2000 * * $20,000
2 * * * *$12 * * $18 * *3000 * * $41,520
3 * * * *$10 * * $15 * *2500 * * $27,100
Thanks for the help.
|