Convert Period-Separated Text to Time Values in Excel
Question details
Convert period-separated text times into valid Excel time values for thousands of rows.

- 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.
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.
Convert text times with SUBSTITUTE and TIMEVALUE
Use a formula to replace periods with colons and convert the result into a time value.
If the first text time is in A2, select B2 and enter =TIMEVALUE(SUBSTITUTE(A2,".",":")), then press Enter.
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.
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 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. Open the workbook: Open the Excel workbook in WPS Spreadsheets and locate the column containing the text times.
- 2. Enter the formula: If the first text time is in A2, select B2 and enter =TIMEVALUE(SUBSTITUTE(A2,".",":")), then press Enter.
- 3. Format the results: Select column B, open Format Cells, and choose a Time format or the custom format h:mm:ss.
- 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.

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.




