How to Sort an Excel List by Month and Day
Question details
The user needs to sort a list of dates chronologically by month and day in a spreadsheet.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Organizing data chronologically based on date values, particularly focusing on sorting accurately by the month and day components.
- Observed behavior
- The spreadsheet may sort the dates alphabetically instead of chronologically if the dates are incorrectly stored as text rather than valid numeric serial numbers.
Ensure your data range is clearly defined with column headers, and check if your dates are currently formatted as text or actual date serial numbers.
Format as Real Excel Dates and Sort by Month and Day
Use the built-in Sort feature after ensuring all date values are stored as valid numeric serial numbers instead of text.
Conventional dates in spreadsheets are stored as serial numbers (e.g., 7/13/2024 is stored as 45486). Dates stored this way can be sorted chronologically without errors.
Highlight the entire dataset you want to sort, making sure to include the column headers in your selection.
Navigate to the 'Data' tab on the top ribbon menu and click on the 'Sort' button.
Ensure the 'My data has headers' box is checked. In the 'Sort by' dropdown, select your Month column. Click 'Add Level' and select your Day column for the secondary sort.
Click 'OK' to execute the multi-level sort and organize your list chronologically.

Convert Text Dates to Valid Dates
If your sort fails because dates are stored as text, use Text to Columns or functions to convert them into recognizable values.
Sort Data by Month and Day Easily with WPS Spreadsheet
WPS Spreadsheet provides powerful and intuitive data sorting capabilities. You can easily manage complex chronological sorts and convert text to dates with seamless formatting tools.
- 1. Open your file in WPS Spreadsheet: Launch WPS Office and open your spreadsheet document containing the dates.
- 2. Access the Custom Sort feature: Highlight your data table, navigate to the 'Data' tab, and click the 'Sort' icon to open custom settings.
- 3. Add sort criteria: Set your primary sort key to your Month column, add a secondary level for Day, and click OK to organize your data perfectly.

Frequently Asked Questions
Why is Excel sorting my dates alphabetically instead of chronologically?
This happens when the spreadsheet recognizes your date entries as text strings rather than numeric date serial numbers. You need to convert them using the 'Text to Columns' tool or the DATEVALUE function before sorting.
Can I extract the month and day to sort them separately?
Yes, you can extract the month and day into separate helper columns using the =MONTH() and =DAY() functions. Once extracted, you can apply a standard multi-level sort to those new columns.
How do I check if my dates are stored correctly before sorting?
You can use the ISNUMBER function (e.g., =ISNUMBER(A2)). Since valid dates are stored as serial numbers under the hood, it will return TRUE. If it returns FALSE, the date is stored as text.




