Excel usually reads an imported date with the date order of your regional settings, so “03/04/2026” becomes March 4 on a month/day setup and 3 April on a day/month setup, while “28/04/2026” may stay as text on a month/day setup because there is no month 28. Fix the date format at import, not afterwards: keep the original text, set the column to Date with the source’s order (DMY, MDY or YMD), then change the cell format only for display.
Changing the cell format later never corrects a date that was already read the wrong way: it only redisplays the wrong date. For invoices, there is a second question before the format: which date is it? Issue date, due date and service period answer different reporting questions, and each belongs in its own column. Date checks are part of the same invoice data validation checks as amounts and codes.
Why does Excel swap day and month when importing?
A date such as 03/04/2026 is valid in both orders, so Excel cannot detect the mistake. When you open the CSV directly, it typically applies the order of the regional settings in use; check this on your own setup with the test values below. The W3C tabular data model lists dd/MM/yyyy, MM/dd/yyyy and yyyy-MM-dd as distinct date formats: the order must be declared, not guessed.
The symptom is a mixed column. Dates with a day of 12 or less are converted, but in the wrong order; dates with a day above 12 usually fail and stay as text, often aligned left. Sorting that column then puts April invoices in March and leaves late-month invoices outside every month.
How do you import dates in the right format in Excel?
- Keep an untouched copy of the CSV and a raw text column for each date field.
- Confirm the supplier’s convention from the PDF: a day above 12 (such as 28/04/2026) settles the order for that source.
- Import the file instead of double-clicking it. In the text/CSV import, set the date column’s type to Date with the source order (DMY for 28/04/2026). In the spreadsheet’s query editor, change the type to Date using the locale of the source, for example en-GB for day/month or en-US for month/day.
- Check year, month and day separately on three test values: an ambiguous date (03/04/2026), a day above 12 and a month boundary.
- Only then apply a display format, such as
yyyy-mm-ddord mmm yyyy, through Format Cells.
If the dates are already text in the sheet, rebuild them from their parts instead of reformatting. For a confirmed dd/mm/yyyy source in cell A2:
=DATE(VALUE(RIGHT(A2,4)),VALUE(MID(A2,4,2)),VALUE(LEFT(A2,2)))
For “03/04/2026” this returns 3 April 2026. The formula assumes two-digit day and month; test it on your own sample before filling it down.
InvoiceLineLab extracts invoice line items from PDF to Excel or CSV and keeps the invoice and page reference beside each row, so every converted date can be checked against the label printed on the source page. The synthetic example shows that layout.
How can a correct total land in the wrong month?
In this fictional vendor (supplier) invoice, the confirmed convention is day/month/year. The PDF shows issue date 03/04/2026 and due date 03/05/2026; two lines have net amounts of EUR 40.00 and EUR 60.00.
| Date used for the monthly report | Parsed as | Month | Amount |
|---|---|---|---|
| Issue date, day/month (correct) | 3 April 2026 | April | 100.00 |
| Due date, day/month | 3 May 2026 | May | 100.00 |
| Issue date, month/day (wrong order) | 4 March 2026 | March | 100.00 |
All three reports sum to EUR 100.00 (40.00 + 60.00), so amount reconciliation cannot select the right month. Keep the confirmed issue date on each line row so sorting does not separate it from its invoice, and sum the line amounts, not a repeated invoice total. State in the report which date field drives the month.
Which invoice date should a spreadsheet use?
Use the field that matches the question. The issue date is the usual key for a purchase or spend report; the due date belongs to payment and cash planning; a service period may cross a month boundary and needs its own allocation rule. Peppol defines the invoice issue date in year-month-day form: a useful normalized form, not proof that an arbitrary PDF follows it.
Do not replace a missing issue date with the file creation date. This is about analytical grouping, not tax-period determination.
How do you handle dates you cannot resolve?
Keep a decision record per date field: document key, PDF label and page, original string, confirmed convention, normalized value and review status. The synthetic cases below are independent.
| Original value and label | Available evidence | Normalized issue date | Treatment |
|---|---|---|---|
03/04/2026, issue date | Confirmed day/month/year | 2026-04-03 | Include in April |
03/05/2026, due date | Confirmed day/month/year | Not this field | Keep as due date |
03/04/2026, issue date | Convention unknown | Pending | Do not guess March or April |
31/04/2026, issue date | Day/month/year confirmed | Invalid | Check the original; no automatic rollover to May |
| File modified on 4 April | File metadata only | Not established | Do not substitute for the issue date |
Under month/day, 28/04/2026 fails because month 28 does not exist: use it to test whether the setting fits the source, and test 03/04/2026 too, because both orders give a valid date. One supplier may change its export format between systems, so group conversion rules by confirmed source convention, not by your own country.
Keep pending dates visible. Publish the included-line count, the unresolved-date count and their amounts, so every source line has either a month or an explicit exception. Finally, a field containing only 2026-04-03 is a calendar day, not an instant: do not shift it between time zones.
FAQ
Why does Excel change my dates when I open a CSV?
Opening the file directly usually applies your regional date order to every date-like field. Import it instead and declare the source order for that column.
How do I change the date format in Excel without changing the date?
Use Format Cells and pick a date or custom format such as yyyy-mm-dd. This changes the display only, which is why it cannot repair a date read in the wrong order.
How do I convert dd/mm/yyyy text to a real date?
Rebuild it with DATE() from the year, month and day parts, or reimport the column as Date with DMY order. Check one ambiguous value afterwards.
Which date should a monthly invoice report use?
Usually the issue date for spend and purchases, the due date for payment planning. Write the choice in the report.
Continue the checks
Amounts can be misread for the same locale reason: see how Excel reads decimal separators in invoice amounts. To prove where a date came from, trace each spreadsheet row back to its PDF page, and align column names first with a supplier invoice column map. The difference between invoice-level dates and line-item fields decides where each date is repeated.
InvoiceLineLab turns supplier invoice lines into reviewable spreadsheet rows. Compare the fictional invoice and its rows and the checks applied to each extracted line.