Formatting Issues

How to Fix Excel Date Displaying as a Serial Number Instead of mmm-yy

Natalie TaylorNatalie Taylor Nov 11, 2026 870 views

Question details

The user needs to troubleshoot why an entered date is displaying as a 5-digit serial number even though a custom date format has been applied.

How to Fix Excel Date Displaying as a Serial Number Instead of mmm-yy
Product
Excel
Device & OS
not provided
Scenario
Inserting new rows or modifying dates inside an existing Gantt chart template.
Observed behavior
The cell displays the date as a raw five-digit serial number (e.g., 44197) instead of the desired custom date format (mmm-yy).
Before you start

Ensure the template's worksheet is not protected, as worksheet protection can restrict formatting changes on newly inserted rows and lock cells into a General number format.

Solution 1Recommended

Verify and Re-apply the Custom Date Format

Check if the newly inserted row inherited a 'General' format and re-apply the correct custom date configuration.

When inserting new rows into an existing template, Excel sometimes fails to carry over the exact custom formatting from the row above. Manually overriding the cell's underlying format ensures the serial number converts back to a readable date.

1
Select the affected cells

Highlight the specific cell or range of cells in your Gantt chart that are displaying the five-digit serial number.

2
Open Format Cells dialog

Right-click the highlighted cells and select 'Format Cells' from the context menu, or press the Ctrl+1 keyboard shortcut.

3
Apply custom mmm-yy format

Navigate to the 'Number' tab, choose 'Custom' from the Category list on the left, type 'mmm-yy' into the Type box, and click 'OK'.

Verify and Re-apply the Custom Date Format
Tip: Use the Format Painter tool (paintbrush icon on the Home tab) to quickly copy the correct 'mmm-yy' formatting from an existing, working date cell to the broken one.
Seamless Spreadsheet Formatting

Fix Date Formatting Issues Easily with WPS Spreadsheet

WPS Spreadsheet offers an intuitive interface to manage custom date formats, ensuring your Gantt charts and project timelines display exactly as intended without format overriding issues.

  1. 1. Open your file in WPS: Launch WPS Spreadsheet and open your Gantt chart or timeline document.
  2. 2. Access the Format Cells menu: Highlight the cells displaying the 5-digit serial numbers, right-click, and select 'Format Cells' (or press Ctrl+1).
  3. 3. Set the custom date format: Under the Number tab, select 'Custom', input 'mmm-yy' in the text field, and click 'OK' to instantly convert the serial numbers into readable dates.
100% compatible with Microsoft Excel (.xlsx) formats and templatesIntuitive Format Cells dialog for custom date codes like mmm-yyAdvanced Conditional Formatting manager to easily spot conflicting rules
microsoft office alternative - wps office

Frequently Asked Questions

Why do dates in Excel turn into 5-digit numbers?

Spreadsheet software stores dates as sequential serial numbers so they can be easily used in calculations. By default, January 1, 1900, is serial number 1. If a cell containing a date is accidentally formatted as 'General' or 'Number', the software will display this underlying 5-digit serial number instead of the readable date format.

How do I fix date formatting locked in a downloaded template?

Downloaded templates often utilize worksheet protection to prevent accidental structural changes. To fix date formats in these files, navigate to the 'Review' tab and click 'Unprotect Sheet' (you may need a password if the creator set one). Once unprotected, you can apply your custom date formats freely.

What does the mmm-yy custom date format do?

The 'mmm-yy' custom format forces the cell to display the three-letter abbreviation of the month followed by a hyphen and the two-digit year (e.g., Jan-24). The underlying cell value remains a full standard date (e.g., 01/15/2024), which keeps it valid for chronological sorting and formulas while visually simplifying your chart.