Formatting Issues

How to Display and Sort Excel Dates as MM/DD Without a Year

Amos GikundaAmos Gikunda Oct 20, 2026 870 views

Question details

The user wants to format dates to display only the month and day while being able to sort them in correct chronological order regardless of the year.

How to Display and Sort Excel Dates as MM/DD Without a Year
Product
Microsoft Excel
Device & OS
not provided
Scenario
Formatting date columns for birthdays, anniversaries, or recurring annual events where the specific year is irrelevant but chronological sorting is necessary.
Observed behavior
Excel retains the underlying year in its serial date value even when formatted as mm/dd. Consequently, standard sorting operations prioritize the hidden year, disrupting the intended month and day sequence.
Before you start

Verify whether your current dates are stored as valid Excel date serial numbers or as plain text, as this will determine which formatting and sorting method will work best for your data.

Solution 1Recommended

Use Custom Format and Helper Columns for Sorting

Hide the year visually using Excel's Custom Format feature, and extract the month and day into separate columns to achieve accurate sorting.

Because Excel cannot store a true date without a year, visually hiding the year is only half the solution. To sort your data accurately by month and day, you must evaluate those specific components using separate helper columns.

1
Apply the Custom Format

Select the cells containing your dates. Right-click and choose 'Format Cells' (or press Ctrl+1 on your keyboard). Go to the 'Number' tab, select 'Custom' from the Category list, type 'mm/dd' into the Type box, and click OK.

2
Create Helper Columns

Insert two new columns next to your date column. Name the first one 'Month' and the second one 'Day'.

3
Extract Month and Day Values

Assuming your first date is in cell A2, type '=MONTH(A2)' in the Month column and '=DAY(A2)' in the Day column. Drag the fill handle down to apply these formulas to the rest of your data.

4
Sort the Data

Highlight your entire data range, navigate to the 'Data' tab on the ribbon, and click 'Sort'. Add a primary sort level for 'Month' (Smallest to Largest), click 'Add Level', and set the secondary sort for 'Day' (Smallest to Largest). Click OK.

Use Custom Format and Helper Columns for Sorting
Reliable Sorting: This method ensures your list sorts perfectly chronologically every time, regardless of what hidden years are attached to the original dates.

Format and Sort Dates Easily with WPS Spreadsheet

WPS Office offers a comprehensive spreadsheet application that allows you to easily format dates as MM/DD and accurately sort massive datasets with its intuitive multi-level sorting features.

  1. 1. Open Your Workbook: Launch WPS Spreadsheet and open the file containing your date values.
  2. 2. Apply Custom Date Format: Highlight your dates, press Ctrl+1 to open Format Cells, choose 'Custom', type 'mm/dd', and click OK to hide the year visually.
  3. 3. Extract Month and Day: Use the =MONTH() and =DAY() functions in adjacent columns to pull the specific numerical values out of your date cells.
  4. 4. Perform Multi-level Sort: Select your dataset, navigate to the Data tab, select 'Sort', and organize your data primarily by the Month column and secondarily by the Day column.
Fully compatible with Microsoft Excel (.xlsx, .xls) files and date formatting.Intuitive custom cell formatting interface for hiding date values like years.Advanced multi-level sorting to easily organize Month and Day helper columns.Free, lightweight, and fast alternative to expensive spreadsheet software.
microsoft office alternative - wps office

Frequently Asked Questions

Why does Excel show a random 5-digit number when I change my date to Text format?

Excel fundamentally stores dates as serial numbers counting the days elapsed since January 1, 1900. When you convert an existing date cell into a Text format, Excel drops the date styling and reveals this underlying serial number.

Is it possible to permanently delete the year from an Excel date?

No, Excel requires a year, a month, and a day to recognize an entry as a valid date. The only ways to 'remove' the year are to visually hide it using custom formatting (mm/dd) or to convert the date entirely into a text string.

Can I use dd/mm instead of mm/dd for custom formatting?

Yes. The custom format you use should match your regional preferences. If you prefer to see the day before the month, simply type 'dd/mm' into the Custom formatting Type box instead. The helper column sorting method will still work the exact same way.