Function Problems

Convert Period-Separated Text to Time Values in Excel

Huda QurayshiHuda Qurayshi Nov 18, 2026 869 views

Question details

Convert period-separated text times into valid Excel time values for thousands of rows.

Convert Period-Separated Text to Time Values in Excel
Product
Microsoft Excel
Device & OS
not provided
Scenario
A worksheet contains text times such as 8.36.10 that need to be used as Excel time values.
Observed behavior
Excel does not interpret text with multiple periods as a time value.
Before you start

Check that the periods separate hours, minutes, and seconds, rather than decimal fractions. Identify the column containing the text and choose an empty column for the converted values.

Solution 1Recommended

Convert text times with SUBSTITUTE and TIMEVALUE

Use a formula to replace periods with colons and convert the result into a time value.

1
Enter the conversion formula

If the first text time is in A2, select B2 and enter =TIMEVALUE(SUBSTITUTE(A2,".",":")), then press Enter.

2
Apply a time format

Select column B, open Format Cells, and choose a Time format that displays hours, minutes, and seconds. Alternatively, use the custom format h:mm:ss.

3
Fill the formula down

Select B2 and double-click its fill handle to copy the formula down alongside the adjacent data. Check the last row to confirm that all required rows were filled.

Convert text times with SUBSTITUTE and TIMEVALUE
Check inconsistent entries: If a row returns an error, check that it contains a valid time. To remove ordinary leading and trailing spaces, try =TIMEVALUE(SUBSTITUTE(TRIM(A2),".",":")) in B2.
Convert text times in WPS Spreadsheets

Convert Period-Separated Times in WPS Spreadsheets

Use SUBSTITUTE and TIMEVALUE in WPS Spreadsheets to turn text such as 8.36.10 into a time value, then format and fill the formula down.

  1. 1. Open the workbook: Open the Excel workbook in WPS Spreadsheets and locate the column containing the text times.
  2. 2. Enter the formula: If the first text time is in A2, select B2 and enter =TIMEVALUE(SUBSTITUTE(A2,".",":")), then press Enter.
  3. 3. Format the results: Select column B, open Format Cells, and choose a Time format or the custom format h:mm:ss.
  4. 4. Fill down: Select B2 and double-click the fill handle to copy the formula alongside the adjacent rows. Check that the formula reaches the last required row.
Convert period-separated text times with a formulaFill the conversion formula across thousands of rowsOpen and edit Microsoft Excel XLSX and XLS filesUse a familiar spreadsheet interface for everyday work
microsoft office alternative - wps office

Frequently Asked Questions

Why doesn't Excel recognize 8.36.10 as a time?

Excel does not interpret the periods in this text as time separators. Use =TIMEVALUE(SUBSTITUTE(A2,".",":")) to replace them with colons and convert the result.

Why does the converted time appear as a decimal?

Excel stores times as fractions of a day. Select the result cells, open Format Cells, and choose a Time format or the custom format h:mm:ss.

How can I convert thousands of rows at once?

Enter the formula beside the first text time, then double-click the formula cell's fill handle to copy it down alongside the adjacent data. Check the last row to confirm the full range was covered.

What should I do if the formula returns an error?

Check that the source contains a valid time and that periods separate the time components. To remove ordinary leading and trailing spaces, try =TIMEVALUE(SUBSTITUTE(TRIM(A2),".",":")) in the result cell.