Data Import & Export

Prevent Excel from Automatically Converting Imported Values to Dates in WPS Spreadsheets

Natalie TaylorNatalie Taylor Nov 13, 2026 868 views

Question details

The user wants to understand why values such as 12-1-1 are converted to dates during import and whether automatic data-type detection can be disabled or avoided.

Product
Microsoft Excel / WPS Spreadsheets
Device & OS
not provided
Scenario
A user imports a CSV or text file containing product codes, part numbers, or other hyphenated values such as 12-1-1 into a spreadsheet and wants the values to remain unchanged.
Observed behavior
The spreadsheet automatically interprets the values as dates, and applying Text formatting after conversion does not restore the original text.
Before you start

Identify the columns that may be treated as dates and check the delimiter used in the source CSV or text file before opening the import dialog.

Solution 1Recommended

Set affected columns to Text in the WPS Spreadsheets Text Import dialog

Use this method before loading data to prevent WPS Spreadsheets or Excel from converting values such as 12-1-1 into dates.

Spreadsheet apps apply automatic data-type detection during CSV import. Once a value is converted to a date, changing the cell format to Text only changes the display, not the underlying value. The WPS Spreadsheets import dialog lets you control the column data format before the data is written.

1
Open the CSV or TXT file in WPS Spreadsheets

Launch WPS Spreadsheets, click the menu button in the top-left corner, choose Open, select the CSV or TXT file, and click Open.

2
Choose the file type and delimiter

In the Text Import dialog, select Delimited or Fixed width, choose the delimiter that matches your file, such as comma, tab, semicolon, or space, and click Next.

3
Set the target column data format to Text

Select the column that contains values such as 12-1-1, choose the Text column data format, and repeat for any other columns that should not be date-converted.

4
Finish the import

Click Finish, choose where to place the imported data, and confirm that the values appear exactly as they do in the source file.

Values stay as text: Because the column is set to Text before import, WPS Spreadsheets does not apply automatic date conversion to 12-1-1 or similar values.
Direct solution in WPS Spreadsheets

Prevent Automatic Date Conversion When Importing CSV Data in WPS Spreadsheets

Use the built-in WPS Spreadsheets Text Import dialog to control column data types before loading CSV or text files. It helps keep values such as 12-1-1 exactly as text without waiting for Microsoft 365 Insider settings.

  1. 1. Open WPS Spreadsheets: Install and launch WPS Office, then open WPS Spreadsheets from the home screen or Start menu.
  2. 2. Open the CSV or TXT file: Click the menu button and choose Open, or use Ctrl+O, select your CSV or TXT file, and click Open.
  3. 3. Select file type and delimiter: In the Text Import dialog, choose Delimited or Fixed width and set the delimiter used in the source file.
  4. 4. Set sensitive columns to Text: Select each column containing hyphenated or slash-separated values and choose the Text column data format.
  5. 5. Complete the import: Click Finish and choose the target location in the sheet to import the data without date conversion.
Preserve values like 12-1-1 exactly as text during CSV import.Full compatibility with Microsoft Excel .xlsx, .xls, and .csv files.Free, lightweight spreadsheet app with a familiar Office interface.Built-in import options for delimiters and column data formats.
microsoft office alternative - wps office

Frequently Asked Questions

Why does Excel convert 12-1-1 to a date automatically?

Excel treats values that match a recognized date pattern as dates during import. Because 12-1-1 can be interpreted as year-month-day or month-day-year depending on regional settings, it is converted into a date serial number.

Can I simply format the converted cells as Text to restore 12-1-1?

No. After the value has been converted to a date, formatting the cell as Text changes only the display format. The original text has already been replaced by a date serial number, so you need to import again with the column set to Text or use a recovery formula.

How do I choose the Text format for a column in WPS Spreadsheets during import?

When the Text Import dialog opens, select the column in the preview, choose the Text column data format, and repeat for any other columns that should not be converted. Then click Finish.

Does Microsoft Excel have a setting to turn off automatic date detection?

Some Microsoft 365 Insider builds are introducing controls for automatic data-type detection, but availability depends on the installed version and update channel. WPS Spreadsheets can prevent the conversion during the import step by setting the column format to Text.

Can I use this method for delimited files other than CSV?

Yes. The WPS Spreadsheets Text Import dialog works with CSV and TXT files that use commas, tabs, semicolons, spaces, or fixed-width columns.