Formatting Issues

How to Fix Excel Dates Showing as Number Codes in WPS Office

Steven ParkerSteven Parker Nov 13, 2026 870 views

Question details

User needs to restore recognizable dates in a WPS Office Spreadsheet after saving because date cells display as numeric codes.

How to Fix Excel Dates Showing as Number Codes in WPS Office
Product
WPS Office Spreadsheets
Device & OS
not provided
Scenario
The user entered and saved spreadsheet data, and dates now appear as numeric codes instead of recognizable dates.
Observed behavior
Affected cells display numeric codes after saving, even though the underlying date information may still be present.
Before you start

Open your WPS Office spreadsheet and make the affected cells or column visible. Check whether the codes look like five-digit serial numbers such as 45292 or text strings, because that determines whether you only need formatting or also need to convert the values.

Solution 1Recommended

Apply a Date Format to Affected Cells

Use this first when the saved dates appear as numeric codes; it changes how the values are displayed without changing the underlying date.

1
Select the affected cells or column

Open the WPS Office spreadsheet, click the first cell that shows a numeric code, and drag to select the affected range, or click the column header to select the entire column.

2
Open the Number Format drop-down

Go to the Home tab, locate the Number group, and open the Number Format drop-down list.

3
Choose a date format

Select Short Date or Long Date. For more control, click More Number Formats, select Date under Category, choose the date type you want, and click OK.

Apply a Date Format to Affected Cells
Dates should now display correctly: If the selected cells are real date values, they will immediately appear as dates. If nothing changes, the entries are likely stored as text and need conversion.

Restore Date Formatting in WPS Office Spreadsheets

Use WPS Office Spreadsheets to quickly reapply date formats, convert text dates, and preserve Excel-compatible date values when saving.

  1. 1. Open WPS Office Spreadsheets: Download and launch WPS Office, then open the affected .xlsx or .xls workbook in WPS Office Spreadsheets.
  2. 2. Select the affected cells: Click the first cell or column header containing the numeric codes, then drag or press Ctrl+Space to select the column.
  3. 3. Apply a date format from Home: On the Home tab, open the Number Format drop-down and choose Short Date, Long Date, or More Number Formats to pick a date type.
  4. 4. Convert text dates if needed: If the codes remain, insert a helper column and use =DATEVALUE(reference), then paste the results as values over the original cells.
  5. 5. Save the workbook: Press Ctrl+S to save the workbook; WPS preserves the date formatting and Excel compatibility.
Restores numeric date codes to recognizable short or long date formats.Includes tools such as Format Cells, Number Format, and DATEVALUE for text dates.Opens, edits, and saves Microsoft Excel .xlsx and .xls files with full compatibility.Free and lightweight with a familiar ribbon interface for easy migration from Excel.
microsoft office alternative - wps office

Frequently Asked Questions

Why does WPS Office Spreadsheets show dates as number codes after saving?

Dates in spreadsheets are stored as serial numbers, so if the cell format is set to General, Number, or Text, the saved date can display as a numeric code. Select the cells and apply a date format from Home > Number Format to display them as dates.

How do I change a value like 45292 back into a date?

Select the affected cells, open Home > Number Format, and choose Short Date or Long Date. If you need a specific layout, right-click the cells, choose Format Cells > Date, select a type, and click OK.

What should I do if applying a date format does not fix the codes?

The values may be text instead of real dates. Check Format Cells to confirm Text, then use a helper column with =DATEVALUE(A2) and paste the results as values over the original cells.

Will WPS Office preserve my dates when saving as an Excel file?

Yes. WPS Office Spreadsheets supports Excel .xlsx and .xls formats and keeps date values and formatting when you save, as long as the cells contain real date values or a proper date format is applied.

Can I convert an entire column of text dates at once?

Yes. Select the column, go to Data > Text to Columns, choose Delimited or Fixed width depending on your data, and in step 3 select Date to convert the column to true date values.