Fix a CSV that opens in one column in Excel
Find the file’s actual separator and compare two ways to recover the expected columns.
Read the first line of the original CSV to find the actual separator, then open it through the spreadsheet’s text importer and select that separator before loading the worksheet. If the data is already sitting in one column, select the populated cells and use Text to Columns with the same delimiter, leaving free space to the right for the result. In the local WPS test, a comma interpretation kept every semicolon-delimited row in one cell, while both a semicolon split and a fresh delimited import produced the three expected columns.
What to look for
Use this guide when you open a CSV in Excel and the header seems to be a single long label, even though you expected separate fields. Select a cell and read the formula bar. If it contains the whole header with separators still inside it, the spreadsheet imported the line as one field. A wide column or wrapped display changes how that cell looks. It still has one stored value.
This is a separator problem when the original file contains several distinct fields and the selected import delimiter does not match their boundaries. If the correct headings are present and only the letters look wrong, diagnose the encoding. If the row has split into the expected columns and its codes have changed, check column types separately.

Why it happens
A text export has its own separator. Its filename can end in CSV even if the producer wrote semicolons. The importing spreadsheet needs to know what separates one field from the next. Auto-detection and the program’s previously selected settings can make different choices. Opening the same file through a text importer gives you a preview and allows an explicit choice without changing the system-wide settings.
Before you begin
Use semicolon-input.csv from the sample files. It has a header and two data records. The header is Code;Name;City. The first record is A;Lina;Lyon and the second is B;Mina;Oslo. The expected grid has three columns, with A in Code, Lina in Name and Lyon in City for the first record. semicolon-wizard.txt contains exactly the same sample bytes under a name that lets the separate delimited text import route run.
Keep the original available and plan a place to load the output. The first repair acts on a worksheet that already has the lines in one column. The second starts over from the original text. Both can be compared with the same header and records. The local execution used WPS Spreadsheets. The Excel steps below follow Microsoft’s documented import controls. Excel text import options
Steps
Identify the actual separator in the source.
Open the CSV as plain text and inspect the header alongside a record. In the practice file, the same semicolons divide Code, Name and City on every row. There are no commas acting as field boundaries. Write down the expected headings and check how a representative record should fit under them before opening the spreadsheet again.
- On a real file, examine several lines and distinguish punctuation inside a field from the separator used between fields.
- If quoted text includes a separator, the importer should keep that quoted value together.
- Leave the original text untouched while you work out which controls to use.
- Replacing punctuation throughout a file can change its actual contents and make the result harder to verify.
Confirm that the current result really has one column.
Select the first populated cell. Compare its full value with the original header. In the failing local run, WPS opened the CSV with comma as the selected separator, even though the source used semicolons. The actual used grid had one column and three populated rows including the header. A1 still held Code;Name;City, and A2 still held the complete A;Lina;Lyon line.
- Look at the adjacent cells rather than judging by the apparent width of the line.
- The text may spill into empty cells on screen.
- If reading the stored cell reveals the whole record, switching the column width cannot distribute its values.
- Keep this sheet as the input for the in-place split, or close the copy and re-import from the source if you also need to adjust character encoding or data types.
Repair the current worksheet using Text to Columns.
Make sure the columns to the right of the selected source are free, or work in a separate sheet. Select the populated cells and start Data → Text to Columns. Choose Delimited, set Semicolon as the separator, and review the preview before finishing. Turn off separators that do not belong to the source. Keep the ordinary text qualifier if your file uses double quotes to protect field contents.
- In this run, invoking that same kind of split in WPS converted the existing one-column grid to Code, Name and City. Check that the first row of data is divided into A, Lina and Lyon and that the second row ends in Oslo. If the split would overwrite cells you need, cancel, choose a safe destination or switch to the fresh import route. Excel Text Import Wizard controls
Re-import the source with an explicit delimiter.
In Excel, start Data → From Text/CSV, select the source and set the delimiter to Semicolon in the preview. Review the columns before loading. Use the legacy text importer if that is the interface your version of Excel provides, where you can select Delimited and then Semicolon during import. A text-named copy can also be useful for reaching the explicit text import route in versions that handle CSV double-clicks automatically.
- txt with Semicolon selected.
- It produced the same three fields for both records directly from the source.
- Select any required field types before loading your own data.
- A clean split is the first check.
- Confirm that codes and dates still have the meanings your receiving workflow expects.
Save a separate result and inspect the raw export.
Save the repaired worksheet or export it as a new CSV suitable for the recipient. The local split and fresh import each produced a separate CSV. Open both downloads and confirm the header has separate values for Code, Name and City. Look up Lina and Mina by Code and confirm their cities. Decide whether your recipient expects a comma-delimited output or the original semicolon format and document that choice separately from the on-screen repair.
- If you need to send the data onwards, re-import a copy using the settings the recipient will use.
- If they get one column again, confirm which delimiter was actually saved.
- A clean workbook preview proves the import worked in that workbook.
- Inspecting the new text file identifies what another importer will receive.
Check your result
Compare the original file, the affected worksheet and each fixed result. Count populated columns and records separately from the header. The tested source contains two data records. The incorrect import retained them under one column with the original semicolons still inside each cell. Both repairs led to three data columns with the same two records. Inspect the first and last field of each row to catch a shift that column count alone would miss.
In the two saved CSV outputs, look up A and verify the Name and City values Lina and Lyon, then check the B row for Mina and Oslo. Compare the output bytes through the measurement record if you need to identify the exact tested downloads. The delimited wizard source and the original practice CSV let you reproduce the two entry points without changing the source content.
| Import or repair | Data rows | Columns | First data row |
|---|---|---|---|
| Wrong separator | 2 | 1 | A;Lina;Lyon |
| Text to Columns | 2 | 3 | A / Lina / Lyon |
| Delimited import | 2 | 3 | A / Lina / Lyon |
Common mistakes
Changing width before inspecting the stored value. Read the actual cell or formula bar. If the complete header is in A1, choose the correct delimiter during import or split the populated column.
Assuming the CSV extension settles the separator. Inspect the first lines. Set the delimiter from the source and check the displayed field boundaries before committing the import.
Splitting into occupied columns. Review the destination and use free space or a fresh workbook. Re-open the source if you need another attempt.
Comparing the preview only. Inspect the saved text file and reopen it with the recipient’s delimiter. Check real fields as well as the number of columns.
Limitations
The lab examines a semicolon-delimited exercise in WPS Spreadsheets using the same file bytes for both recovery paths. Excel controls vary by release. For real files with embedded delimiters, blank values or significant text types, examine the preview and verify a representative sample of the saved cells.
Test record
Tested on 2026-11-23 with WPS Spreadsheets 12.1.0.29161 under Windows PowerShell 5.1.22621.2428. The WPS comma import produced one column. TextToColumns with Semicolon and the independent OpenText import of the text-named source each recovered all three columns.
The measurement record lists the local outputs and their SHA-256 digests.
Tested in
Questions
Which route should I use if I still have the original file?
A fresh delimited import lets you check the delimiter, encoding and field types together before loading. The in-sheet split is useful when the stored cell values still contain the complete unmodified source lines.
Why did the whole record appear to extend into other columns?
A spreadsheet can display long content across empty adjacent cells. Check the selected cell’s value and look at its neighbors. Use the split or import preview to confirm separate stored fields.
Should I put a comma everywhere the source contains a semicolon?
Use the actual semicolon setting in the importer. If the recipient asks for another delimiter, export a new copy and check the resulting fields. This protects semicolons that belong inside values.
Can a correct column count still hide a mistake?
Yes. Check the headings, representative records and their first and last fields. Preserve any required column types and reopen the CSV to confirm what another importer receives.