How to Fix Excel Time Card Showing 28 Hours as 4:00
Question details
Calculate total hours worked over 24 hours without the time format resetting to zero.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Calculating employee time cards or weekly timesheets.
- Observed behavior
- When total hours exceed 24 (e.g., 28 hours), the cell displays the remainder (e.g., 4:00) instead of the cumulative total.
Ensure your individual time entries are entered in a valid time format (like hh:mm) before applying custom formatting to the total sum cells.
Apply the Cumulative Hour Custom Format
Use the custom number format to display hours over 24 instead of rolling over to zero.
By default, standard time formats in spreadsheets reset every 24 hours because they are designed to reflect a time of day rather than a duration. By enclosing the hour indicator in brackets, you instruct the spreadsheet to calculate cumulative hours continuously.
Highlight the cell or cells containing your total calculated hours on the time card.
Right-click the selected cell and choose 'Format Cells', or press Ctrl + 1 on your keyboard to open the formatting dialog.
Navigate to the 'Number' tab, select 'Custom' from the category list, type [h]:mm into the Type box, and click OK.

Easily Manage Time Cards with WPS Spreadsheet
WPS Office provides powerful and highly compatible spreadsheet tools to handle custom formatting seamlessly, including cumulative time calculations for employee timesheets.
- 1. Open your file: Launch WPS Spreadsheet and open your employee timesheet document.
- 2. Select the cell: Highlight the cells containing the total hours that need fixing.
- 3. Format cells: Right-click the selection, choose 'Format Cells', and click on the Custom category.
- 4. Apply cumulative format: Enter [h]:mm into the input field and click OK to display cumulative hours correctly.

Frequently Asked Questions
Why does my spreadsheet reset time after 24 hours?
By default, standard time formats operate on a 24-hour clock representing the time of day. Once the total reaches 24 hours, it rolls over to the next day, displaying only the remainder.
How can I display total hours with seconds included?
You can use the custom format [h]:mm:ss to display cumulative hours alongside both minutes and seconds.
Can I multiply cumulative hours by an hourly wage directly?
Because spreadsheets store time as fractions of a 24-hour day (e.g., 12 hours is stored as 0.5), you must multiply the total time cell by 24, and then multiply that result by the hourly wage (e.g., =(A1*24)*Wage) to calculate the correct pay.




