Data Import & Export

Convert Imported Access Dates and Numbers from Text in Excel

Chanuka GeekiyanageChanuka Geekiyanage Nov 27, 2026 870 views

Question details

Convert dates and numbers imported from an Access pass-through query into usable Excel values.

Convert Imported Access Dates and Numbers from Text in Excel
Product
Microsoft Excel
Device & OS
not provided
Scenario
An Access pass-through query retrieves SQL Server data for use in Excel PivotTables, charts, and calculations.
Observed behavior
Imported dates and numbers are stored as text. Dates become valid after individual cells are double-clicked, while numeric fields do not work correctly in PivotTables and charts.
Before you start

Identify the affected date and numeric columns and check the order of the imported dates, such as month-day-year or day-month-year. Make sure the source values do not contain unexpected text or null markers that need separate cleanup.

Solution 1Recommended

Convert imported columns with Text to Columns

Use Excel's Text to Columns wizard to convert recognizable date and numeric text in bulk.

1
Select an imported column

In Excel, select the cells in one affected column, excluding the header.

2
Open Text to Columns

Go to Data > Text to Columns. Choose Delimited, click Next, and clear any delimiter selections so each value stays in one column. Click Next again.

3
Set the column type

Under Column data format, select Date for a date column and choose the order that matches the imported text, such as MDY or DMY. For a numeric column, select General. Click Finish.

4
Repeat and check the values

Repeat the process for each affected column. Use Home > Number Format to apply a date or number display format if needed, and test a converted value in a calculation.

5
Refresh the PivotTable

Right-click a PivotTable based on the converted data and select Refresh. Check any related charts to confirm that the dates and numbers are plotted as intended.

Convert imported columns with Text to Columns
Check values that remain as text: Blank cells, null markers, and unrecognized date or number strings may need separate cleanup. A later refresh of the external data may import the values as text again.
Work with imported data in WPS

Convert imported dates and numbers in WPS Spreadsheets

Open the workbook in WPS Spreadsheets and use Text to Columns to convert recognizable imported text into date and numeric values.

  1. 1. Open the workbook: Open WPS Spreadsheets and use Open to select the Excel workbook containing the imported data.
  2. 2. Select a column: Select the imported date or numeric cells in one column, excluding the header.
  3. 3. Convert the values: Go to Data > Text to Columns and follow the wizard without splitting the values. Choose the matching date order for dates or General for numbers, then finish the conversion.
  4. 4. Check and format the results: Use the number format controls on the Home tab to display the converted values as dates or numbers, then test them in a calculation or chart.
Convert imported date and numeric text in bulkOpen and edit Microsoft Excel XLS and XLSX filesUse familiar spreadsheet tools for calculations and charts
microsoft office alternative - wps office

Frequently Asked Questions

Why does double-clicking an imported date make it work?

Editing a text cell can prompt Excel to interpret its contents as a date. Data > Text to Columns applies a similar conversion to a selected column without editing each cell individually.

Which date order should I select in Text to Columns?

Choose the order used by the imported text in the wizard's Date setting. For example, select MDY for month-day-year values or DMY for day-month-year values.

Why are some values still text after conversion?

Excel may not recognize values that contain null markers, extra characters, or incompatible date or number formats. Inspect those cells and correct the text before running Data > Text to Columns again.

Why does my PivotTable still show the old values?

The PivotTable may still be using cached data. Right-click the PivotTable and select Refresh after converting the source cells.

Will refreshing the Access query preserve the conversion?

Not necessarily. Refreshing external data can reimport the fields as text, so check the columns after a refresh and repeat the conversion if needed.