On a timesheet, hours over a daily threshold are overtime. Splitting a day’s total into regular and overtime hours is a tidy MIN/MAX pair — no nested IFs.
MIN(A2, 8) caps regular hours at 8; MAX(A2-8, 0) is whatever’s left over (never negative).
The example
Daily hours split at an 8-hour line.
| A | B | C | |
|---|---|---|---|
| 1 | Hours | Regular | Overtime |
| 2 | 7.5 | 7.5 | 0 |
| 3 | 10 | 8 | 2 |
| 4 | 8 | 8 | 0 |
The formula
Regular in B2, overtime in C2:
How it works
Two simple caps do the split:
MIN(A2, 8)gives the regular hours: if the day is 10 hours, MIN returns 8; if it’s 7.5, MIN returns 7.5.MAX(A2 - 8, 0)gives the overtime: hours above 8, floored at 0 so short days show no negative overtime.- Regular + overtime always equals the total — the split is exact.
- Multiply by pay rates for cost:
regular*rate + overtime*rate*1.5.
Working with clock times? If A2 is a start/end difference stored as a time, convert to hours first ((end-start)*24), then apply the MIN/MAX split.
Try it: interactive demo
Set the day’s hours and the overtime threshold.
Variations
From clock times
Convert a time difference to hours first:
Weekly overtime (over 40)
Split a weekly total at 40:
Pay with a 1.5x OT rate
Total pay in one formula:
Pitfalls & errors
Negative overtime. Forgetting the , 0) in MAX lets short days show negative overtime. The MAX floor prevents it.
Times vs numbers. If hours are stored as clock times (a fraction of a day), multiply by 24 before the split, or the thresholds compare wrong.
Daily vs weekly rules differ. Some policies compute overtime weekly (over 40), not daily (over 8). Use the rule that matches your jurisdiction/contract.
Practice workbook
Frequently asked questions
How do I split hours into regular and overtime in Excel?
How do I calculate overtime from clock-in and clock-out times?
How do I compute pay with a 1.5x overtime rate?
Stop fighting formulas. Learn them in a day.
This recipe is one of hundreds of real-world formulas we teach. Our Excel Formulas & Functions class covers lookups, logic, text, and dynamic arrays hands-on — live in Dallas–Fort Worth, Houston, Austin, Oklahoma City, Denver, or online.
See the Formulas & Functions Class