Power Query Problems

How to Fix Power Query Dates Loading as Numbers in Excel

Nimra MalikNimra Malik Nov 2, 2026 871 views

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.

How to Fix Power Query Dates Loading as Numbers in Excel
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.
Before you start

Ensure that your Power Query has finished loading completely and that the destination worksheet is not locked or protected from formatting changes.

Solution 1Recommended

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.

1
Open Power Query Editor

Navigate to the Data tab on the Excel ribbon, click on 'Queries & Connections', right-click your query, and select 'Edit'.

2
Change Data Type to Date

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.

3
Close and Load

Click the 'Close & Load' button located in the Home tab of the Power Query Editor to output the updated data to your worksheet.

4
Format Worksheet Cells

In your Excel worksheet, highlight the entire column containing the loaded numerical values.

5
Apply Date Format

Right-click the highlighted column, select 'Format Cells', navigate to the 'Number' tab, choose 'Date', select your preferred date format, and click 'OK'.

Set the Date Data Type and Apply Worksheet Formatting
Preserving Formatting During Refreshes: To prevent your date formatting from reverting to numbers upon future data refreshes, right-click any cell in the loaded table, go to 'Table' > 'External Data Properties', and ensure 'Preserve cell formatting' is checked.
Free Microsoft Office alternative

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. 1. Download WPS Office: Visit the official WPS website to download and install the free WPS Office suite.
  2. 2. Open WPS Spreadsheets: Launch the application and open the Spreadsheets module.
  3. 3. Load Your File: Open your existing Excel workbook to seamlessly handle data and cell formatting without compatibility issues.
100% compatible with Microsoft Excel formats (.xlsx, .xls, .csv)Lightweight installation with blazing-fast performanceIntuitive formatting tools to easily manage dates and numbersCompletely free to use with a familiar, easy-to-navigate tabbed interface
microsoft office alternative - wps office

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.