Data Import & Export

Split Multiline Address Cells into Separate Columns in WPS Spreadsheets

John WilsonJohn Wilson Nov 12, 2026 869 views

Question details

The user needs to split text stored on multiple lines within one spreadsheet cell into separate cells across the same row.

Split Multiple Lines in One Cell into Separate Columns in WPS Spreadsheets
Product
WPS Spreadsheets
Device & OS
not provided
Scenario
Multiline address or similar records contain line-feed characters within a single cell and need to be separated into columns.
Observed behavior
Each value is displayed on a separate line inside one cell instead of in separate columns.
Before you start

Confirm that the text contains actual line breaks rather than manually typed separators. Leave enough empty columns to the right of the source data so the split values do not overwrite existing cells.

Solution 1Recommended

Use Text to Columns with a line-feed delimiter

Use this method when each line inside a cell should become a separate value in adjacent columns.

Text to Columns can split selected cells at a custom delimiter. A line break is commonly stored as the line-feed character, CHAR(10).

1
Check whether the cells contain line feeds

In an empty cell, enter =SUBSTITUTE(A2,CHAR(10),";") and replace A2 with the source cell. If semicolons appear between the lines, the cell uses line-feed characters.

2
Select the multiline cells

Select the column or cell range containing the multiline text, then open the Data tab and choose Text to Columns.

3
Choose a custom delimiter

In the Text to Columns wizard, select Delimited, continue to the delimiter options, select Other, and press Ctrl+J in the Other delimiter box to enter the line-feed character.

4
Set the output destination

Preview the split result, select a destination cell if needed, and click Finish to place each former line in a separate column.

Use Text to Columns with a line-feed delimiter
Line breaks split into columns: Each line from the original cell is placed in the next available column on the same row.
WPS Spreadsheets data cleanup

Split Line-Break Text into Columns with WPS Spreadsheets

WPS Spreadsheets lets you identify line-feed characters with formulas and separate multiline cell content through the Text to Columns tool. It provides a familiar spreadsheet workflow for cleaning imported addresses, lists, and records.

  1. 1. Open the workbook in WPS Spreadsheets: Launch WPS Office, choose Spreadsheets, and open the .xlsx, .xls, or supported workbook containing the multiline cells.
  2. 2. Test the line-break delimiter: Enter =SUBSTITUTE(A2,CHAR(10),";") in an unused cell to verify that the source content uses line-feed characters.
  3. 3. Start Text to Columns: Select the source range, open the Data tab, and click Text to Columns.
  4. 4. Enter the line-feed delimiter: Choose Delimited, select Other in the delimiter options, and press Ctrl+J in the delimiter field.
  5. 5. Finish the split: Review the preview, select the output location, and click Finish to distribute each line across columns.
Split multiline address records into separate columns with Text to Columns.Use CHAR(10), SUBSTITUTE, MID, and CODE formulas to inspect hidden delimiters.Open and edit Microsoft Excel .xlsx and .xls files with compatible spreadsheet formatting.Use a familiar, lightweight spreadsheet interface for data cleanup tasks.
microsoft office alternative - wps office

Frequently Asked Questions

Why does Text to Columns not recognize the line breaks in my cells?

The cells may use a different hidden character than a standard line feed. Test the text with =SUBSTITUTE(A2,CHAR(10),";") or inspect a character with =CODE(MID(A2,position,1)) before choosing a delimiter.

How do I enter a line break as the Other delimiter in Text to Columns?

After selecting Data > Text to Columns and choosing Other as the delimiter, click the Other field and press Ctrl+J to enter the line-feed character.

Will splitting multiline cells overwrite nearby spreadsheet data?

It can if columns to the right contain values. Before clicking Finish in Data > Text to Columns, clear or move adjacent data, or set an empty destination range in the wizard.

Can I split multiline text into rows instead of columns?

Text to Columns splits values horizontally into columns. To place each line in rows, first split the text into columns, then copy the result and use Paste Special > Transpose, or use a suitable formula-based workflow.