Calculation Issues

Fix Excel Time Total Displays Zero: Convert Text to Time Values

Jason MillerJason Miller Oct 22, 2026 870 views

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.

How to Fix Excel Time Total Displays Zero in Excel
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.
Before you start

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.

Solution 1Recommended

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.

1
Select the Data Column

Highlight the entire column containing the time values that are currently stored as text.

2
Open Text to Columns

Navigate to the Data tab on the top ribbon and click on the 'Text to Columns' button.

3
Configure Delimiters

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.

4
Apply Time Format

In the Column data format section, select 'General' or the appropriate 'Date/Time' format depending on your Excel version, and click Finish.

5
Sum the Converted Values

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.

Convert Text to Time Values Using Text to Columns
Format Exceeding 24 Hours: Formatting the final calculation cell with [h]:mm is essential. Standard time formats reset to 0 after 24 hours, but the bracketed [h] forces the display of cumulative hours.
Advanced Spreadsheet Capabilities

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. 1. Open Your Data: Launch WPS Spreadsheet and open the document containing your time entries.
  2. 2. Select Text to Columns: Highlight your data, navigate to the Data tab, and select 'Text to Columns'.
  3. 3. Complete Conversion: Follow the simple on-screen prompts to automatically parse your text into actual time numbers.
  4. 4. Sum Your Hours: Use the AutoSum tool and format the result cell as [h]:mm to instantly view your precise total.
Fully compatible with Microsoft Excel file formats (.xlsx, .xls, .csv).Built-in Text to Columns feature for instant data conversion.Native support for the TIMEVALUE function and custom [h]:mm time formatting.Completely free and lightweight suite for all daily office tasks.
microsoft office alternative - wps office

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.