A CSV that mixes 02/11/2026 and 2026-11-02 in one column will sort wrongly and calculate wrongly, because Sheets cannot tell which order each row uses. Parsing every entry into a real date in one format, and checking the ambiguous ones against the source, fixes the column for good.
Prerequisites
- Google Sheets
- The CSV file and knowledge of the source date order
- A copy of the source file, so the original stays untouched.
Steps
- Import the CSV with File, Import, and choose not to convert text to numbers and dates, so the original strings stay visible.
- Add a helper column with DATEVALUE on each date string, and check which rows fail to parse.
- For rows that parse to the wrong order, rebuild the date with DATE, using the year, month and day taken from the original string.
- Set the helper column to one date format, such as YYYY-MM-DD, for the whole column.
- Paste the helper values over the original column, delete the helper, and sort to confirm the order is chronological.
Worked example: Fictional donation dates standardised
The practice table below is a fictional five-donation list after standardising. The amount column is the donation, and the total is their sum. The table below is fictional practice material, with fictional values. It is the expected result, worked out by hand, not a run of any tool.
| Donor | Date | Amount |
|---|---|---|
| Amara | 2026-11-02 | 20.00 |
| Ben | 2026-11-05 | 15.00 |
| Clara | 2026-11-09 | 25.00 |
| Dev | 2026-11-14 | 10.00 |
| Elena | 2026-11-20 | 30.00 |
| Total | 100.00 |
Expected result. Five dates in one format, each matches the source, and the donations add to 100.00.
Limits
- DATEVALUE follows the sheet locale, so a day-first date in a month-first locale will parse wrongly.
- A date that fails to parse must be fixed from the source, never by guessing the order.
