Multiply by the result of an IF to switch a premium on and off.
Shift pay is hours × the hourly rate in B1, with weekend shifts paid at time and a half. In D4:D9 give each shift's pay.
Solve it on your own to keep the bonus. Each hint gets one step closer to the formula.
The same formula in the other shapes it takes at work.
A threshold that is itself a calculation, not a fixed number.
MAX(0, …) turns "only if positive" into arithmetic.
Multiply by the result of an IF to switch a premium on and off.
Each slice of the amount is charged at its own rate.
This is the grid you start with. Cell references in the task — B6, C2 — point at the row numbers and column letters below.
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Hourly rate | 14 | ||
| 2 | ||||
| 3 | Shift | Hours | Day type | Pay |
| 4 | Mon | 8 | Weekday | |
| 5 | Tue | 6 | Weekday | |
| 6 | Sat | 8 | Weekend | |
| 7 | Sun | 5 | Weekend | |
| 8 | Wed | 7.5 | Weekday | |
| 9 | Thu | 4 | Weekday |
Putting the IF around only the part that changes — the multiplier — keeps the pay calculation written once. Wrapping the whole thing (IF(weekend, B4*$B$1*1.5, B4*$B$1)) duplicates it, and the two copies can drift when the rate cell moves.