See attached example.
Hourly rate is $20. Number of hours is column B. Hourly rate is modified when “Pr Req” column [C] = “yes”. The rate modification varies by the total of column “B” when column C is “yes”. In example, Row 3,5,6,8,9,10, Column C =yes. The totals in column E for each of these rows must include the rate increase in the table below. So, rows 3,5,6 would be increased by $5/hr [to $25/hr], row 8 by $6, row 9 by $7, etc.
Rate Table:
Increase base by these amounts when the total hours in column B equals:
HRs= 0-25 = $5
25-50=$6
51-75=$7
76-100=$8
100-150=$10
So, if the total of column “B”, with corresponding “yes” in column C =54, then the base rate per hour of $20 is increased to $27/hr.
My solution is somewhat crude. I have a column G that totals the designated rows for increase in column “B” and then use this formula:
=G4*IF(G4<=25,5,IF(G4=26,6,IF(G4<51,6,IF(G4=51,7,IF(G4<76,7,IF(G4=76,8,IF(G4<101,8,IF(G4=101,10,IF(G4<126,10)))))))))
How can I do this without the extra column G [of totals] and can I simplify the formula?
Thanks