Calculation Issues

Cap Time-and-a-Half Overtime at Four Hours in Excel

Khadija KhanKhadija Khan Nov 22, 2026 869 views

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.

Cap Time-and-a-Half Overtime at Four Hours in Excel
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.
Before you start

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.

Solution 1Recommended

Split daily hours into three overtime categories

Use these formulas when F6 contains total daily hours as a decimal number.

1
Calculate regular hours

In the regular-hours cell, enter =MIN(MAX(F6,0),8) to count up to eight hours.

2
Cap time-and-a-half 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.

3
Calculate double-time hours

In the double-time cell, enter =MAX(F6-12,0) to count hours above twelve.

4
Check and copy the formulas

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.

Split daily hours into three overtime categories
Using time-formatted durations: If F6 contains an Excel duration rather than decimal hours, enter =F6*24 in a helper cell, format that cell as Number, and replace F6 in the formulas with the helper-cell reference. Format durations over 24 hours as [h]:mm.
WPS Spreadsheet

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. 1. Open the timesheet: Open WPS Spreadsheet and select Open to load your timesheet, or create a new spreadsheet.
  2. 2. Enter daily hours: Enter the daily total as decimal hours in cell F6.
  3. 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. 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.
Cap time-and-a-half hours at four with a simple formula.Open and save Microsoft Excel XLSX files.Copy formulas down a timesheet using the fill handle.Use familiar spreadsheet tools in a free office suite.
microsoft office alternative - wps office

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.