Why do dates imported from two schedule files sort into the wrong order?
Quick answer
The files may look as if they contain dates while one or both date columns contain text, or the same-looking pattern may have been interpreted differently during import. In Excel, dates need to be stored as date/time values to sort chronologically; text entries can sort unexpectedly. Check both files’ date fields, resolve ambiguous formats using the files’ known conventions, convert and verify values, then sort a copy from oldest to newest. [S1] [S2]
The question, the details, the next step.
A practical checklist
Save untouched copies of both schedule files before editing.
Record each file’s date pattern and confirm its intended month/day order.
Check for text dates, blanks, invalid entries, and ambiguous values.
Review Excel’s import behavior and locale if the files were interpreted differently.
Convert confirmed text dates in a working copy and verify sample results against the originals.
Sort the verified date field oldest to newest, then inspect the result before using it.
A few more useful answers
Does changing the cell format to a date fix a text date?
Not necessarily. Excel documents conversion methods for dates stored as text; applying a display format is not a substitute for confirming that conversion succeeded and interpreted the value correctly. [S2]
Can I safely convert every ambiguous date automatically?
No universal interpretation rule is established here. Confirm the source’s date convention first; if it remains unclear, flag the value for clarification rather than guessing. [S2]
Sources
References used for this guide.
- [S1] Sort data in a range or table in Excel support.microsoft.com · Checked
- [S2] Convert dates stored as text to dates support.microsoft.com · Checked
- [S3] Data import and analysis options in Excel support.microsoft.com · Checked
