Could you create a stripped-down copy of the workbook demonstrating the problem (without sensitive information) and make it available through one of the websites that let you upload and share a file, such as OneDrive, Google Drive, FileDropper or DropBox. Then post a link to the uploaded and shared file here.
excel 365 why won't the data in my worksheet sort correctly by date
Microsoft 365 and Office | Excel | For business | Windows
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
3 answers
Sort by: Most helpful
-
-
triptotokyo-5840 36,676 Reputation points Volunteer Moderator
2024-05-01T21:34:43+00:00 Can’t reproduce.
Here’s my file with your data in it:-
Download the file and open it clicking on:-
Enable Editing
- if required / necessary.
1.
Highlight the range:-
A 2 to E 8
- then:-
Data tab
Sort & Filter group
Click on:-
Sort
- to open a window of the same name.
2.
Change the window called:-
Sort
- to read:-
Column Sort On Order
Sort by DATE Cell Values Oldest to Newest
- then click:-
OK
3.
DATE column now shows dates in correct order.
-
Anonymous
2024-05-02T01:28:44+00:00 I suspect the dates in the Dates column are not actually dates. Test this by selecting the dates, format the selected cells as General, click OK. If the dates appear as numbers around the 45000 mark then those are real Excel dates and should sort properly (undo to revert the formatting). If they still appear as eg. 12/12/2023 then those are strings and will need carefully converting to proper Excel dates.