How to Standardize Dates in Excel
If a column has dates like 3/4/2023, 04-Mar-24, and even serial numbers, sorting and filtering won’t work correctly. Here’s how you can turn mixed date formats into one clean, reliable column.
Rowlum · Updated November 2026 · 5 min read
Why one date column ends up with five formats
Usually, two problems are mixed in the same column. Some values are real dates, just shown differently (Excel can display the same date as 3/4/2023 or 04-Mar-23). Others are text strings that only look like dates, often pasted from another system, and Excel treats these as words. As a result, they sort alphabetically and don’t work with date math.
Also, Excel reads ambiguous values based on your computer’s locale, not the file’s. For example, 03/04/2023 can become March 4th on one computer and 3rd April on another. That’s why a column might look fine to you but appear scrambled for someone else.
Four steps to one clean column
Convert text to real dates with Text to Columns
Select the column, then go to Data, choose Text to Columns, and click Next twice. In the last step, choose Date and pick the source order, DMY or MDY, that matches how the text is written. This changes text that looks like dates into real date values that Excel can sort and filter.
Or import with Power Query and set the locale
If you need to reopen a file, use Data, then From Text/CSV. Change the column type to Date and set Using Locale to the source country. Power Query can handle mixed and ambiguous values all at once and remembers this step when you refresh.
Apply one display format
Now that you have real dates, select the column and open Format Cells, then choose Custom and enter yyyy-mm-dd for a clean, sortable look. This only changes how the dates appear; the underlying values stay the same.
Force stubborn values with DATEVALUE
If some cells still won’t convert, use =DATEVALUE(A2) in a helper column to turn the text into a date, or =TEXT(A2,"yyyy-mm-dd") to create clean text. Then, copy and use Paste Special, choosing Values, to replace the originals.
The trap: a format is not a value
The biggest mistake is only changing the display format. If a cell is still text or still has an ambiguous date underneath, reformatting makes it look correct, but sorting, filtering, and date math still won’t work. When you export to CSV, the display format is lost, and only the raw value is saved.
FAQ
Why are my dates showing as numbers like 44624?
Excel stores every date as a serial number that counts the days since 1900. The number 44624 is just that raw value showing because the cell is formatted as General or Number instead of Date. It’s a real date underneath. Just select the cells and apply a Date format to see it.
Why does Excel swap the day and month?
Excel reads dates using your system’s locale. For example, 03/04/2023 is March 4th in the US and 3rd April in the UK. Excel guesses based on your settings, not the file’s. To fix this, import with the correct source locale, or use Text to Columns and specify the source order (DMY or MDY).
What date format should I standardize to?
ISO 8601, which is YYYY-MM-DD (e.g., 2026-11-14), is unambiguous in every country, sorts correctly as plain text, and is reliably accepted by systems and importers. It’s the safest choice when the file will be shared or imported elsewhere.
Keep going
- Keep leading zeros in a CSV — the same display-vs-value trap, for IDs and zip codes.
- Split full names in Excel — first and last, compound surnames intact.
- Browse all Rowlum spreadsheet guides.
- See how Rowlum cleans a spreadsheet from one plain-English instruction.