logo
search
Data Import & Export

How to Fix Excel Importing Dates Incorrectly from PDF

Maira MehtabMaira Mehtab Sep 20, 2026 868 views

Question details

The user needs to correct multiple incorrectly interpreted dates when importing data from a PDF into Excel.

Product
Excel
Device & OS
not provided
Scenario
Importing table data containing dates from a PDF document into a spreadsheet.
Observed behavior
Excel incorrectly converts the day and year format during import, for example interpreting May 14, 2024, as 2014-05-01.
Before you start

Verify the original date format in your source PDF file (e.g., MM/DD/YYYY or DD/MM/YYYY) so you know exactly which regional format to apply during the import process.

Solution 1Recommended

Adjust Regional Settings in Power Query

Use Power Query's locale settings to correctly interpret the date formats when importing data from a PDF.

When importing data from a PDF or CSV file, Excel relies on your system's default regional settings to interpret dates. If the source document uses a different date format, days and years might be flipped or misinterpreted. Adjusting the locale inside the Power Query Editor resolves this mismatch.

1
Import the PDF Data

Go to the Data tab on the Excel ribbon, click on 'Get Data', select 'From File', and choose 'From PDF'. Locate and select your file.

2
Transform the Data

In the Navigator window, select the table containing your dates and click 'Transform Data' to open the Power Query Editor.

3
Change Column Type with Locale

Right-click the header of the column with the incorrect dates, go to 'Change Type', and select 'Using Locale' from the context menu.

4
Select the Correct Locale

In the Change Type with Locale dialog box, choose 'Date' as the Data Type. Then, select the Locale (regional format) that matches the date format originally used in your PDF (e.g., English (United States) for MM/DD/YYYY). Click OK.

5
Load the Fixed Data

Click 'Close & Load' in the Home tab to import the correctly formatted dates into your Excel worksheet.

Consistency Check: Applying the correct locale ensures that Excel interprets ambiguous dates accurately across the entire column, preventing any background text-to-date errors.
Convert PDF to Excel seamlessly

Easily Import and Convert PDF Data with WPS Office

WPS Office offers a dedicated PDF to Excel conversion feature that accurately recognizes table structures and date formats, saving you the hassle of manual data transformation and locale adjustments.

  1. 1. Open PDF in WPS Office: Launch WPS Office and open the PDF document containing the date tables.
  2. 2. Select PDF to Excel: Navigate to the 'Tools' tab on the top ribbon and select the 'PDF to Excel' conversion tool.
  3. 3. Convert and Save: Choose your preferred output settings, click 'Convert', and open your newly created spreadsheet with perfectly formatted dates.
Highly accurate PDF to Excel table conversionMaintains original date formatting and cell alignmentFully compatible with Microsoft Excel file formats (.xlsx)Built-in lightweight PDF editor and viewer
microsoft office alternative - wps office

Frequently Asked Questions

Why does Excel swap the days and months when importing data?

Excel interprets imported dates based on your computer's default system regional settings. If the source file uses a US date format (MM/DD/YYYY) but your system is set to a European format (DD/MM/YYYY), Excel may swap the day and month or fail to recognize the date altogether.

How do I fix dates that have already been imported incorrectly?

If dates are already imported as text or jumbled values, you can use the 'Text to Columns' feature in the Data tab. Highlight the affected column, click 'Text to Columns', click Next twice, and on Step 3, choose 'Date' and select the original format of the data (e.g., MDY) before clicking Finish.

Can I change my default date format globally in Excel?

Excel's default date format is controlled by your operating system's regional settings. You can change this in the Windows Control Panel by navigating to 'Clock and Region' > 'Change date, time, or number formats', which will apply to all future Excel workbooks.