How to Fix Excel Timesheet Totals When Hours Exceed 24
Question details
The user needs to correct timesheet total calculations that reset or display incorrectly after surpassing 24 hours.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Calculating total worked hours over a week or month in a timesheet.
- Observed behavior
- Total duration displays incorrectly because standard time formats reset to 0 after 24 hours instead of showing cumulative hours.
Ensure your timesheet inputs are recognized as valid time values by Excel and check if you have any hidden rows that might interfere with your sum ranges.
Apply Custom Formatting for Cumulative Hours
Use the [h]:mm custom format to force Excel to display total hours beyond a 24-hour period.
By default, Excel treats time values as times of the day. When the sum of hours exceeds 24, Excel automatically rolls over to a new day, showing the remainder rather than the total. You can override this behavior by applying a specific custom number format.
Highlight the cells in your timesheet that contain the incorrect total hours.
Right-click the highlighted cells and choose "Format Cells" from the context menu, or press the Ctrl+1 shortcut on your keyboard.
Go to the "Number" tab in the dialog box and select "Custom" from the Category list on the left.
In the "Type" field, enter [h]:mm and click OK to apply the cumulative time format.

Simplify and Verify Subtraction Formulas
Check for unnecessary SUM functions and ensure time subtraction formulas correctly reference the intended rows.
Easily Calculate Timesheet Hours with WPS Spreadsheet
WPS Spreadsheet provides seamless tools and formatting options to manage complex timesheets accurately, fully supporting Microsoft Excel formulas and custom time formats.
- 1. Open your file: Open your timesheet file in WPS Spreadsheet.
- 2. Format the total cells: Select the cells with total hours, right-click, and choose "Format Cells".
- 3. Apply cumulative format: Under the "Number" tab, select "Custom", input [h]:mm in the type box, and press OK to instantly display accurate total hours.

Frequently Asked Questions
Why does Excel show 2:00 instead of 26:00 for total hours?
Excel defaults to a standard clock time format. Once the total reaches 24 hours, it rolls over to a new day. Using the [h]:mm format prevents this reset and displays the true cumulative total.
Can I multiply my total hours by an hourly rate after formatting?
Yes, but you must multiply the total hours cell by 24 (e.g., =Total_Hours * 24 * Hourly_Rate). This is required because Excel mathematically stores time as a fraction of a 24-hour day, not as whole numbers of hours.
What if my time difference results in a negative number or ########?
Excel cannot display negative times by default and will show hash symbols instead. Ensure you are correctly subtracting the start time from the end time. If a work shift crosses midnight, use a formula like =(End_Time - Start_Time + (End_Time < Start_Time)) to calculate the correct duration.




