How to Fix Power Query Dates Loading as Numbers in Excel
Question details
Users need to resolve an issue where dates processed in Power Query appear as integer serial numbers after being loaded into an Excel worksheet.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Loading processed data from the Power Query Editor back into an Excel worksheet.
- Observed behavior
- Dates display correctly in the Power Query Editor but appear as five-digit integer serial numbers in the destination Excel worksheet.
Ensure that your Power Query has finished loading completely and that the destination worksheet is not locked or protected from formatting changes.
Set the Date Data Type and Apply Worksheet Formatting
The most effective way to resolve this issue is to explicitly define the column as a Date type within Power Query, and then apply the Date number format to the destination cells in Excel.
Excel inherently stores dates as sequential serial numbers so they can be used in calculations (e.g., 44000 represents a specific date). When Power Query loads data into Excel, the destination cells might default to a 'General' number format, causing the dates to appear as these underlying integers. Adjusting both the query type and the cell format resolves the mismatch.
Navigate to the Data tab on the Excel ribbon, click on 'Queries & Connections', right-click your query, and select 'Edit'.
In the Power Query Editor, click the data type icon on the header of your date column (it might show 'ABC' or '123') and select 'Date' from the dropdown menu.
Click the 'Close & Load' button located in the Home tab of the Power Query Editor to output the updated data to your worksheet.
In your Excel worksheet, highlight the entire column containing the loaded numerical values.
Right-click the highlighted column, select 'Format Cells', navigate to the 'Number' tab, choose 'Date', select your preferred date format, and click 'OK'.

Try WPS Office for Seamless Spreadsheet Management
If you frequently encounter complex data formatting issues in Excel, try WPS Office. It provides a highly compatible, lightweight, and completely free alternative for managing spreadsheets, analyzing data, and handling formatting with an intuitive interface.
- 1. Download WPS Office: Visit the official WPS website to download and install the free WPS Office suite.
- 2. Open WPS Spreadsheets: Launch the application and open the Spreadsheets module.
- 3. Load Your File: Open your existing Excel workbook to seamlessly handle data and cell formatting without compatibility issues.

Frequently Asked Questions
Why does Excel convert my dates into 5-digit numbers?
Excel stores dates as sequential serial numbers starting from January 1, 1900. A 5-digit number like 44200 is simply the number of days that have passed since that starting date. Changing the cell format to 'Date' translates this number back into a human-readable format.
How do I stop Power Query from changing my date format when refreshing?
To keep your date formats from reverting to numbers upon refresh, right-click anywhere in the loaded Excel table, navigate to 'Table' > 'External Data Properties', and check the box labeled 'Preserve cell formatting'.
Can I force Power Query to output text instead of a date serial number?
Yes. You can change the column's data type to 'Text' in the Power Query Editor before clicking Close & Load. However, keep in mind that doing this will prevent you from using date-based formulas on those specific cells in your worksheet.




