Document Editing Problems

Split Excel Cells at Line Breaks with Text to Columns

Aamir Naveed AkramAamir Naveed Akram Dec 2, 2026 868 views

Question details

Split cell contents into separate columns wherever an Alt+Enter line break occurs.

Split Excel Cells at Line Breaks with Text to Columns
Product
Microsoft Excel
Device & OS
not provided
Scenario
A column contains cells with multiple lines of text, and each line needs to be placed in a separate column.
Observed behavior
Each line within a cell should appear in its own column after splitting.
Before you start

Check that the cells contain actual line breaks, not just text that wraps because the column is narrow. Make sure enough destination columns are empty, because Text to Columns can overwrite existing data.

Solution 1Recommended

Use a line break as the Text to Columns delimiter in Excel

Use this method to split Alt+Enter line breaks directly into separate columns.

1
Select the cells

Select the cells or column containing the multiline text in Excel.

2
Open Text to Columns

Go to Data > Text to Columns, select Delimited, and click Next.

3
Set the line-break delimiter

Clear the other delimiter checkboxes, select Other, click its input box, and press Ctrl+J in Excel for Windows. The line-break character may not be visible in the box.

4
Review and finish

Check the data preview, click Next to choose an empty destination if needed, and click Finish.

Check the preview: If the text does not split in the preview, confirm that the cells contain actual line breaks rather than visually wrapped text.
Split multiline cells

Split line-break text into columns in WPS Spreadsheets

Use a helper formula to replace line breaks with a visible delimiter, then split the results with Text to Columns.

  1. 1. Open the spreadsheet: Open the workbook in WPS Spreadsheets and identify the cells containing line breaks.
  2. 2. Create a helper column: In an empty column, enter =SUBSTITUTE(A2,CHAR(10),"|") for the first source cell, adjusting A2 as needed. Fill the formula down for the remaining rows.
  3. 3. Paste the results as values: Copy the helper cells, then use Paste Special > Values to replace the formulas with their results.
  4. 4. Split the text: Select the helper cells and choose Data > Text to Columns. Select Delimited, choose Other, enter |, and finish the wizard after checking the preview and destination.
Separate multiline cell contents into individual columnsUse a visible delimiter to check the splitOpen and edit Microsoft Excel XLSX and XLS filesWork in a familiar spreadsheet interface
microsoft office alternative - wps office

Frequently Asked Questions

Why can't I see the delimiter after pressing Ctrl+J?

The line-break character may appear invisible in the Other delimiter box. Check the Text to Columns preview to see whether the text is split.

Will Text to Columns overwrite existing data?

It can overwrite cells in the destination columns. Before clicking Finish, check the destination and make sure there are enough empty columns for the results.

Why doesn't wrapped text split at each visible line?

Text wrapping changes how content is displayed without necessarily inserting line-break characters. Text to Columns splits only where the selected delimiter actually occurs.

What if my text already contains the pipe character?

In WPS Spreadsheets, choose a character that does not appear in your data. Use it in the SUBSTITUTE formula and enter the same character as the Other delimiter in Text to Columns.