How to Convert Mixed Date Formats to a Common Format in Excel
Question details
The user needs to convert SAP-generated dates that are formatted differently into a consistent and standardized Excel date format.

- 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 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.
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).
Highlight the column containing the mixed or text-formatted dates.
Navigate to the 'Data' tab on the Excel ribbon and click 'Text to Columns'.
Select 'Delimited' in the first step of the wizard and click 'Next' twice to reach Step 3.
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'.
Right-click the converted column, select 'Format Cells', and apply a Custom format like 'DD-MMM-YYYY' to ensure uniformity.

Extract and Convert Dates Using Excel Formulas
Ideal for dynamic data imports where a helper column can automatically clean and convert incoming text dates using functions.
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. Open your data: Launch WPS Spreadsheet and open the file containing the messy dates.
- 2. Use Text to Columns: Highlight the affected column and navigate to Data > Text to Columns.
- 3. Standardize dates: Set the column format to Date (DMY) in the wizard and click Finish to instantly standardize your data.

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.




