How to Fix Excel Date Displaying as a Serial Number Instead of mmm-yy
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.

- 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).
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.
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.
Highlight the specific cell or range of cells in your Gantt chart that are displaying the five-digit serial number.
Right-click the highlighted cells and select 'Format Cells' from the context menu, or press the Ctrl+1 keyboard shortcut.
Navigate to the 'Number' tab, choose 'Custom' from the Category list on the left, type 'mmm-yy' into the Type box, and click 'OK'.

Clear Conflicting Conditional Formatting Rules
Gantt chart templates often rely heavily on conditional formatting, which might override standard cell formats on newly inserted rows.
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. Open your file in WPS: Launch WPS Spreadsheet and open your Gantt chart or timeline document.
- 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. 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.

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.




