Formula Errors

Convert Text Time from Pacific to Central European Time in Excel

Ayan MasoodAyan Masood Dec 2, 2026 868 views

Question details

Convert imported Pacific Time text into Central European time in Excel without a #VALUE! error.

Convert Text Time from Pacific to Central European Time in Excel
Product
Microsoft Excel
Device & OS
not provided
Scenario
A user wants to convert a column of imported text times from Pacific Time to Central European time.
Observed behavior
Applying a time-zone offset to the text returns #VALUE!, and changing the cell format does not resolve it.
Before you start

Check that the imported values use a time format Excel recognizes, and identify the relevant date and time-zone offset. Pacific and Central European daylight saving changes occur on different dates, so the offset is not always nine hours.

Solution 1Recommended

Convert the text to an Excel time before adding the offset

Use this formula when imported times contain extra spaces and need to be converted with a known time-zone offset.

Changing a cell's format does not turn text into a time value. TIMEVALUE converts recognizable time text into a number that Excel can use in calculations.

1
Enter the conversion formula

If the imported time is in A2 and the applicable offset is nine hours, enter =TIMEVALUE(TRIM(SUBSTITUTE(A2,CHAR(160)," ")))+9/24 in an empty cell. SUBSTITUTE replaces nonbreaking spaces, and TRIM removes extra spaces.

2
Format the result as time

Select the formula cell, press Ctrl+1 or open Format Cells, and choose a Time format. If the result is 24:00 or later, Excel may display it as a time on the following day.

3
Fill the formula down

Drag the fill handle from the formula cell down alongside the imported time column. Replace 9 with the applicable number of hours if the offset differs for the dates involved.

Convert the text to an Excel time before adding the offset
Check daylight saving time and dates: A fixed offset does not account for daylight saving changes. For historical or year-round accuracy, use a time-zone conversion process that considers each date. If the date matters, include it in the calculation and format the result as a date and time.
Convert imported times

Convert Pacific text times in WPS Spreadsheets

Use WPS Spreadsheets to clean imported time text, convert it to a time value, and add the appropriate Central European offset.

  1. 1. Open the workbook: In WPS Spreadsheets, choose Open and select the workbook containing the imported time column.
  2. 2. Enter the formula: If the text time is in A2 and the applicable offset is nine hours, enter =TIMEVALUE(TRIM(SUBSTITUTE(A2,CHAR(160)," ")))+9/24 in an empty cell.
  3. 3. Format and fill: Select the result cell, open Format Cells, and choose a Time format. Then drag the fill handle down to apply the formula to other rows.
  4. 4. Check the offset: Check the dates against the Pacific and Central European daylight saving schedules, and adjust the offset in the formula where necessary.
Convert imported text times with familiar spreadsheet formulasOpen and save Microsoft Excel XLSX filesApply time formats to converted resultsUse WPS Office for free
microsoft office alternative - wps office

Frequently Asked Questions

Why does changing the cell format not fix the #VALUE! error?

Formatting changes how a value is displayed; it does not convert imported text into a numeric time. Use TIMEVALUE on recognizable time text before adding the offset.

Is Central European time always nine hours ahead of Pacific Time?

No. The difference is commonly nine hours, but it can change when the regions switch daylight saving time on different dates. Check the offset for each relevant date.

What if TIMEVALUE still returns #VALUE!?

Check the source cell for nonbreaking spaces using SUBSTITUTE(A2,CHAR(160)," "), and use TRIM to remove extra spaces. Also check that the text uses a time format recognized by Excel's regional settings.

How can I show only the converted time of day?

Use =MOD(TIMEVALUE(TRIM(SUBSTITUTE(A2,CHAR(160)," ")))+9/24,1) for a nine-hour offset, then format the result as Time. MOD removes the day portion, so use a date-aware calculation if the resulting date matters.