Convert Imported Access Dates and Numbers from Text in Excel
Question details
Convert dates and numbers imported from an Access pass-through query into usable Excel values.

- 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.
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.
Convert imported columns with Text to Columns
Use Excel's Text to Columns wizard to convert recognizable date and numeric text in bulk.
In Excel, select the cells in one affected column, excluding the header.
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.
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.
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.
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 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. Open the workbook: Open WPS Spreadsheets and use Open to select the Excel workbook containing the imported data.
- 2. Select a column: Select the imported date or numeric cells in one column, excluding the header.
- 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. 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.

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.




