Data Import & Export

How to Convert Mixed Date Formats to a Common Format in Excel

Rana GarciaRana Garcia Nov 10, 2026 868 views

Question details

The user needs to convert SAP-generated dates that are formatted differently into a consistent and standardized Excel date format.

How to Convert Mixed Date Formats to a Common Format in Excel
Product
Excel
Device & OS
not provided
Scenario
Importing data from SAP or other external sources where dates appear as text or in mixed configurations, causing Excel to misinterpret the day and month.
Observed behavior
Dates are not recognized as valid date serial numbers by Excel, preventing proper sorting, formatting, and calculation until they are converted and standardized.
Before you start

Before making changes, use the =ISNUMBER() function on a few date cells to verify if Excel already recognizes them as numeric dates or if they are formatted as plain text.

Solution 1Recommended

Use Text to Columns to Standardize Text Dates

The most efficient way to convert a single column of text-based dates into real Excel date values without complex formulas.

When Excel fails to recognize an imported date, it treats the data as text. The Text to Columns wizard forces Excel to re-evaluate the text based on your specified date structure (like Day-Month-Year).

1
Select the data

Highlight the column containing the mixed or text-formatted dates.

2
Open Text to Columns

Navigate to the 'Data' tab on the Excel ribbon and click 'Text to Columns'.

3
Choose Delimited

Select 'Delimited' in the first step of the wizard and click 'Next' twice to reach Step 3.

4
Set date format

In Step 3, select 'Date' from the Column data format options, choose 'DMY' (or the format matching your raw data) from the drop-down list, and click 'Finish'.

5
Apply consistent formatting

Right-click the converted column, select 'Format Cells', and apply a Custom format like 'DD-MMM-YYYY' to ensure uniformity.

Use Text to Columns to Standardize Text Dates
Quick Fix: Text to Columns is the safest and fastest method for one-time conversions of messy imported date columns.
Powerful Data Formatting

Clean and Standardize Your Data Faster with WPS Office

WPS Spreadsheet provides powerful data processing tools, including an intuitive Text to Columns wizard and advanced formula support, allowing you to instantly convert and format imported SAP or CSV data.

  1. 1. Open your data: Launch WPS Spreadsheet and open the file containing the messy dates.
  2. 2. Use Text to Columns: Highlight the affected column and navigate to Data > Text to Columns.
  3. 3. Standardize dates: Set the column format to Date (DMY) in the wizard and click Finish to instantly standardize your data.
Fully compatible with Microsoft Excel formulas and date formatting.Intuitive Text to Columns wizard for quick data cleaning.Free, lightweight, and easy to use for daily data processing tasks.
microsoft office alternative - wps office

Frequently Asked Questions

Why does Excel show my imported dates as random numbers?

Excel stores dates as sequential serial numbers for calculations (e.g., January 1, 2025 is 45658). If you see a number instead of a date, Excel has correctly read the date but has the wrong visual format applied. Select the cell, right-click, choose 'Format Cells', and apply a Date format.

How can I tell if my dates are stored as text?

You can use the formula =ISNUMBER(A2). If it returns FALSE, the value is stored as text. Additionally, text dates generally align to the left side of the cell by default, whereas true date numbers align to the right.

Can I change the default date format in Excel?

Excel's default date format is determined by your system's regional settings. To change how dates display in a specific document without changing Windows settings, apply a custom number format like 'DD-MMM-YYYY' via the Format Cells dialog.