Split Excel Cells at Line Breaks with Text to Columns
Question details
Split cell contents into separate columns wherever an Alt+Enter line break occurs.

- 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.
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.
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.
Select the cells or column containing the multiline text in Excel.
Go to Data > Text to Columns, select Delimited, and click Next.
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.
Check the data preview, click Next to choose an empty destination if needed, and click Finish.
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. Open the spreadsheet: Open the workbook in WPS Spreadsheets and identify the cells containing line breaks.
- 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. Paste the results as values: Copy the helper cells, then use Paste Special > Values to replace the formulas with their results.
- 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.

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.




