Documents and Office

How to Fix Mixed Date Formats in a Spreadsheet Column

Clean a column mixing 05/03/2026, 2026-03-05, 5 Mar 2026 and Excel serial numbers into ISO dates, and catch day-month ambiguity early.

Saizul Amin
Saizul Amin2 Nov 2026 · 4 min read
How to Fix Mixed Date Formats in a Spreadsheet Column

How to Fix Mixed Date Formats in a Spreadsheet Column

Few spreadsheet problems are as quietly dangerous as a date column in mixed formats. It happens whenever data comes from more than one place: a web form that stores ISO dates, a bank export with day-first dates, a colleague in the United States typing month first, and a CSV where Excel dates turned into five-digit numbers. Sorting fails, monthly totals fall into the wrong month, and nobody notices until a report looks odd. This guide shows how to clean such a column with the Date Format Normalizer and, more importantly, how to deal with the dates that cannot be cleaned automatically.

The real problem: ambiguity

A date like 25/12/2026 can only mean the 25th of December, because there is no 25th month. But 04/05/2026 is a valid date both ways: the 4th of May in most of the world and April 5th in the United States. Spreadsheet programs resolve this silently using your computer's regional settings, and if half your data came from the other convention, those rows are now wrong by weeks or months. No program can know the truth from the value alone. The best any tool can do is decide the most likely convention and show you exactly which rows rely on that guess.

How the column is read

The normalizer first recognises every format it knows: ISO dates with or without time, numeric dates with slashes, dots or dashes, compact YYYYMMDD, month names in seven European languages with ordinal suffixes and weekdays, Excel serial numbers and Unix timestamps. Then it looks at the numeric dates and counts how many can only be day-first and how many can only be month-first. If thirty rows have a first number above 12 and none have a second number above 12, the column is almost certainly day-first, and that becomes the default reading. You can override it if you know better.

Reviewing the doubtful rows

Every row where both readings are valid and different is coloured amber, with both possible dates shown on two buttons. Press the correct one and the row turns green. If you know the whole file came from one system, the buttons to accept all guesses or swap all ambiguous rows settle them in one go. Decisions survive changes to the output format and can be undone. Rows that are not dates at all, such as n/a or an impossible 31st of February, are coloured red and passed through unchanged so you can fix them at the source.

Excel serial numbers and timestamps

If you see numbers like 46086 in a date column, they are Excel dates stored as the number of days since the end of 1899, which is what happens when a real date cell is exported to CSV. The normalizer converts them when the serial option is on. Ten-digit and thirteen-digit numbers are usually Unix timestamps from software logs and are converted in UTC, so everyone gets the same result regardless of their time zone. Switch either option off if your column legitimately contains such numbers that are not dates.

Choosing the output format

For anything that will be read by a computer, ISO 8601 is the right answer: year, month and day with dashes, as in 2026-03-05. It sorts correctly as text, every version of Excel reads it the same way in every country, and databases accept it. For documents meant for people, choose a written month such as 5 Mar 2026, which no reader can misread. You can also define your own pattern with tokens for year, month, day, weekday and time, or produce Excel serial numbers for formulas.

Writing the result back

Paste-in mode is useful for a quick check, but for a real file open the CSV or Excel workbook, choose the date column and decide whether the clean dates should go into a new column next to the original or replace it. Keeping both is safer the first time, because you can compare them. Download XLSX or CSV, or copy just the clean column and paste it back into your sheet.

Preventing the problem next time

Ask for dates in ISO format in any form or template you control, use a date picker rather than free text, and agree on one convention with anyone who sends you files. When you do receive mixed data, clean it once at the start of your process, not in the middle of a report. And whenever a date could be read two ways, treat it as a question, not a fact.

Completely freeNo cost, no sign-up
Files stay privateEverything runs in your browser
Easy in your languageAvailable in many languages