Fix Excel Time Total Displays Zero: Convert Text to Time Values
Question details
The user needs to sum a list of time entries, but the calculation returns a total of zero because the values are formatted as text or incompatible decimals.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Calculating total hours from a spreadsheet column containing time entries.
- Observed behavior
- The SUM formula displays a total of zero even when the cell format is changed to [h]:mm, because the source entries are stored as text instead of calculable time values.
Ensure you have a backup of your data before converting column formats, and verify that your sum formula range correctly includes all the time entry cells.
Convert Text to Time Values Using Text to Columns
This is the most efficient method to batch-convert an entire column of text-based time entries into calculable real time values.
Simply applying a time format to text cells does not change the underlying data type. The Text to Columns wizard forces Excel to re-evaluate the text as time data so formulas can process it correctly.
Highlight the entire column containing the time values that are currently stored as text.
Navigate to the Data tab on the top ribbon and click on the 'Text to Columns' button.
Choose 'Delimited' in the first step and click Next. Clear any selected delimiters on the second screen so your data remains intact, then click Next.
In the Column data format section, select 'General' or the appropriate 'Date/Time' format depending on your Excel version, and click Finish.
Apply the SUM formula to the bottom of your column. To ensure totals over 24 hours do not reset, right-click the total cell, choose Format Cells, and apply the custom format [h]:mm.

Use the TIMEVALUE Function with a Helper Column
If you prefer not to alter your original source data, you can use a formula to extract the time values into a separate column.
Calculate Time and Data Effortlessly with WPS Spreadsheet
WPS Office Spreadsheet provides advanced calculation tools to easily format cells, convert text to time values, and accurately sum large datasets. It flawlessly handles time conversion tasks just like Microsoft Excel, but with a highly intuitive interface.
- 1. Open Your Data: Launch WPS Spreadsheet and open the document containing your time entries.
- 2. Select Text to Columns: Highlight your data, navigate to the Data tab, and select 'Text to Columns'.
- 3. Complete Conversion: Follow the simple on-screen prompts to automatically parse your text into actual time numbers.
- 4. Sum Your Hours: Use the AutoSum tool and format the result cell as [h]:mm to instantly view your precise total.

Frequently Asked Questions
Why does my Excel time sum reset to zero after 24 hours?
By default, standard time formatting in Excel represents the time of day, which resets every 24 hours. To display cumulative hours continuously, right-click the cell, select Format Cells, choose Custom, and input [h]:mm.
Will formatting a text cell directly to [h]:mm fix the issue?
No. Changing the cell format only changes the visual display of existing numbers. It does not convert a text string into a calculable numeric value. You must use Text to Columns or a formula like TIMEVALUE first.
Does the TIMEVALUE formula work if the cell includes a date and time?
The TIMEVALUE function only extracts the time portion from a text string. If your text string contains both a date and a time, you should use the VALUE function instead to capture the total date-time serial number.




