View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JT JT is offline
external usenet poster
 
Posts: 234
Default if greater than?

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.