Cap Time-and-a-Half Overtime at Four Hours in Excel
Question details
Calculate regular, time-and-a-half, and double-time hours in an Excel timesheet while limiting time-and-a-half to four hours.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- A timesheet records daily total hours, with the first eight hours treated as regular time, the next four as time-and-a-half, and hours above twelve as double time.
- Observed behavior
- The desired result is a breakdown of total hours into three pay categories, with no more than four hours in the time-and-a-half category.
Enter the daily total in F6 as a nonnegative decimal number of hours, such as 12.5 for 12 hours and 30 minutes. Confirm that the 8-hour and 12-hour thresholds match the applicable overtime policy.
Split daily hours into three overtime categories
Use these formulas when F6 contains total daily hours as a decimal number.
In the regular-hours cell, enter =MIN(MAX(F6,0),8) to count up to eight hours.
In the time-and-a-half cell, enter =MIN(MAX(F6-8,0),4) to count hours above eight, up to a maximum of four.
In the double-time cell, enter =MAX(F6-12,0) to count hours above twelve.
Enter 13 in F6 and verify that the results are 8, 4, and 1. Then drag the formula cells' fill handles down to apply them to other timesheet rows.

Calculate overtime hours in WPS Spreadsheet
Use the same formulas in WPS Spreadsheet to divide a daily total into regular, time-and-a-half, and double-time hours.
- 1. Open the timesheet: Open WPS Spreadsheet and select Open to load your timesheet, or create a new spreadsheet.
- 2. Enter daily hours: Enter the daily total as decimal hours in cell F6.
- 3. Add the formulas: Enter =MIN(MAX(F6,0),8) in the regular-hours cell, =MIN(MAX(F6-8,0),4) in the time-and-a-half cell, and =MAX(F6-12,0) in the double-time cell.
- 4. Test and extend: Enter 13 in F6 and check for results of 8, 4, and 1. Drag the formula cells' fill handles down for additional rows, then use Save As to save the timesheet.

Frequently Asked Questions
What happens when an employee works fewer than eight hours?
The regular-hours formula returns the total in F6, while both overtime formulas return zero.
How do I calculate overtime if my total is displayed as 12:30?
If F6 is an Excel duration, enter =F6*24 in a helper cell and format it as Number. Use that helper cell instead of F6 in the overtime formulas; 12:30 becomes 12.5 decimal hours.
Why does Excel show a formula error?
Check that F6 contains a numeric hour total and that the formula was entered with an equals sign. If Excel rejects commas as argument separators, replace them with semicolons.
Do these formulas calculate overtime pay?
No. They calculate hours in each category. Multiply regular hours by the base hourly rate, time-and-a-half hours by 1.5 times that rate, and double-time hours by twice that rate.




