Split Line-Break-Separated Contacts into Excel Columns
Question details
Split contact details separated by line breaks in each cell into five columns for more than 100 contacts.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Each contact occupies one cell, with first name, last name, job title, phone number, and email address on separate lines.
- Observed behavior
- The contact fields need to be separated into five columns while keeping each contact on its own row.
Check that each cell has the five fields in the same order and choose a delimiter, such as |, that does not appear in the contact details. Make sure the columns to the right of the destination are empty so the split does not overwrite other data.
Replace line breaks and split contacts with Text to Columns
Use Find and Replace in Excel for Windows to prepare the entire selected contact column for splitting.
Select the cells containing the contact records, excluding any header.
Press Ctrl+H. Click Find what and press Ctrl+J to enter a line break; it may appear as a small dot or seem invisible. In Replace with, enter |, then select Replace All.
With the contact cells still selected, go to Data > Text to Columns. Choose Delimited and select Next.
Select Other, enter |, and clear any other delimiter selections. Check that the preview shows five fields, then select Next.
Select the phone column in the preview and choose Text to preserve leading zeros that are still present. Choose an empty destination and select Finish.

Use SUBSTITUTE before splitting the contact column
Use a formula when the Ctrl+J Find and Replace shortcut is unavailable or you want to keep the original contact cells unchanged.
Separate Contact Details with WPS Spreadsheets
Use a helper formula and Text to Columns in WPS Spreadsheets to turn line-break-separated contact records into separate fields.
- 1. Open the workbook: Open WPS Spreadsheets and select Open to load the Excel workbook containing the contacts.
- 2. Replace line breaks in a helper column: In an empty cell, enter =SUBSTITUTE(SUBSTITUTE(A1,CHAR(13),""),CHAR(10),"|") and fill the formula down for all contacts. Use a delimiter that does not appear in the data.
- 3. Paste the results as values: Copy the helper cells and use Paste Special > Values to replace the formulas with their results.
- 4. Split the contact fields: Select the helper cells and choose Data > Text to Columns. Select Delimited, specify | as the delimiter, check the preview, and choose an empty destination. Set the phone column to Text before finishing.

Frequently Asked Questions
Why does the Find what box look empty after I press Ctrl+J?
In Excel for Windows, Ctrl+J enters a line-break character that may be invisible or appear as a small dot. Enter the replacement delimiter and select Replace All.
What can I do if Ctrl+J does not work on my Mac?
Use a helper formula such as =SUBSTITUTE(A1,CHAR(10),"|"). Fill it down, copy the results, paste them as values, and use Data > Text to Columns with | as the delimiter.
How can I preserve leading zeros in phone numbers?
In the Text to Columns wizard, select the phone field in the preview and set its column data format to Text before finishing. This preserves zeros still present in the source text; it cannot restore zeros already lost.
What if some contacts split into the wrong columns?
Check those source cells for missing fields, extra line breaks, or the delimiter appearing within a field. Correct the records and repeat Data > Text to Columns.




