Data Import & Export

How to Fix Excel Treating 31/12/2022 as Text Instead of a Date in WPS Office

Huma Ashraf ChHuma Ashraf Ch Nov 13, 2026 869 views

Question details

The user needs to understand why 31/12/2022 is treated as text and how to convert it to a recognized date in Excel or WPS Office Spreadsheets.

How to Fix Excel Treating 31/12/2022 as Text Instead of a Date in WPS Office
Product
WPS Office Spreadsheets / Microsoft Excel
Device & OS
not provided
Scenario
The user opens or enters day/month/year dates such as 31/12/2022 while the spreadsheet application or operating system expects month/day/year.
Observed behavior
The cell remains text, date functions return errors or incorrect results, and sorting or grouping by date does not work as expected.
Before you start

Check the current regional date format in your operating system and confirm whether the problematic cell is formatted as Text or General. This determines whether you can change the cell format directly or need to convert the text value first.

Solution 1Recommended

Convert 31/12/2022 Text Dates with Text to Columns

Use this formula-free method when you have many dd/mm/yyyy text dates in one column and need to turn them into real dates quickly.

Excel and WPS Office Spreadsheets leave 31/12/2022 as text when the active locale expects m/d/yyyy because 31 is not a valid month. Text to Columns forces the application to re-interpret the existing values as dates using a DMY order.

1
Select the text date column

Open the workbook in WPS Office Spreadsheets and select the column that contains 31/12/2022 or similar text dates.

2
Open Text to Columns

Go to the Data tab on the ribbon and click Text to Columns.

3
Choose the Date format

In the wizard, click Next, click Next again, then select Date under Column data format and choose DMY from the dropdown.

4
Finish the conversion

Click Finish and confirm the cells are right-aligned. Press Ctrl+1 and set the Number format to Date if you want a specific display format.

Convert 31/12/2022 Text Dates with Text to Columns
Date conversion completed: The text entries are now real dates. You can sort, filter, and use them in date formulas without retyping.
WPS Office Spreadsheets

Convert Text Dates to Real Dates in WPS Office Spreadsheets

Open the workbook in WPS Office Spreadsheets and use Data > Text to Columns with the DMY date order, or use a DATE formula, to convert 31/12/2022 text entries into real dates. WPS Office handles Excel date workflows without recreating the file.

  1. 1. Open the Excel workbook: Launch WPS Office, click Menu > Open, and select the Excel file containing 31/12/2022 text dates.
  2. 2. Select the affected date column: Click the column letter to select the entire column, or drag to select only the cells you want to convert.
  3. 3. Run Text to Columns: Go to the Data tab and click Text to Columns. Click Next, click Next again, then select Date and choose DMY.
  4. 4. Finish and verify: Click Finish. Confirm the cells are right-aligned, then press Ctrl+1 and set a Date number format if necessary.
Converts inconsistent dd/mm/yyyy text dates into real dates for sorting, filtering, and formulas.Maintains full compatibility with Microsoft Excel .xlsx, .xls, and .xlsm files.Familiar Data tab and Text to Columns tool reduce the learning curve for Excel users.Free download with no subscription for everyday spreadsheet tasks.
microsoft office alternative - wps office

Frequently Asked Questions

Why does Excel treat 31/12/2022 as text when my system is set to the United States?

Because the United States regional format expects m/d/yyyy. Since 31 is not a valid month, Excel and WPS Office Spreadsheets leave the entry as text instead of converting it to a date.

Can I convert dd/mm/yyyy text dates without a formula?

Yes. Select the column, go to Data > Text to Columns, click Next twice, choose Date, select DMY, and click Finish.

What formula converts 31/12/2022 from text to a real date?

Use =DATE(RIGHT(A1,4),MID(A1,4,2),LEFT(A1,2)) in a helper column. If your regional list separator is a semicolon, replace commas with semicolons.

Will WPS Office Spreadsheets open Excel files that have this text date issue?

Yes. WPS Office Spreadsheets opens Excel workbooks and includes Data > Text to Columns, Date number formats, and date functions, so you can fix the issue without Microsoft Excel.

How do I prevent future dd/mm/yyyy entries from being treated as text?

Set your operating system regional format to a locale that uses dd/mm/yyyy, reopen the spreadsheet, and apply a Date number format to the cells before entering dates.