if greater than?

J

JT

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.
 
P

Pete_UK

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top