Split Excel Cells by Line Breaks with Text to Columns
Question details
The user wants to split the lines within Excel cells into separate columns.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Using Text to Columns on cells that contain multiple line breaks.
- Observed behavior
- Only the first line appears after the conversion.
Select a single column containing the cells to split, and make sure there are enough empty columns for the results. If needed, choose a blank destination in the Text to Columns wizard to avoid overwriting existing data.
Use Ctrl+J as the line-break delimiter in Excel
Use this method to place each line from a cell into a separate column.
Select the cells in one column, then go to Data > Text to Columns.
In the wizard, select Delimited and click Next.
Select Other, click its delimiter box, and press Ctrl+J. Clear any other delimiter checkboxes unless you also want to split on those characters.
Check that the Data preview shows each line in a separate column. Click Next, choose an empty Destination if needed, and click Finish.

Split cell lines into columns in WPS Spreadsheets
In WPS Spreadsheets, replace line breaks with a temporary delimiter in a helper column, then use Text to Columns to separate the lines.
- 1. Open the workbook: Open your Excel workbook in WPS Spreadsheets and identify the column containing the multiline cells.
- 2. Create a helper column: In an empty column, enter =SUBSTITUTE(A2,CHAR(10),"|") for the first cell, replacing A2 with the appropriate cell reference. Fill the formula down for the remaining rows.
- 3. Paste the results as values: Select and copy the helper-column results, then use Paste Special > Values to replace the formulas with text.
- 4. Split the helper column: Select the pasted cells and choose Data > Text to Columns. Select Delimited, enter | as the Other delimiter, check the preview, and finish the split into empty columns.

Frequently Asked Questions
Why does the Other delimiter box look empty after I press Ctrl+J?
Ctrl+J enters a line-break character that may not be visible. Check the Data preview in the Text to Columns wizard to see whether the lines are separated.
Will Text to Columns overwrite nearby cells?
It can overwrite data in the destination columns. Leave enough columns empty or select a blank Destination in the final step of the wizard.
What should I do if the split produces the wrong result?
Use Undo, then reopen Data > Text to Columns. Select Delimited, enter Ctrl+J in the Other box, and check the preview before finishing.
What if my text already contains the pipe character used in the WPS helper formula?
Choose a different character that does not appear in the source text. Use the same character in the SUBSTITUTE formula and as the Other delimiter in Text to Columns.




