Data Import & Export

Split Line-Break-Separated Contacts into Excel Columns

Anum MushtaqAnum Mushtaq Nov 18, 2026 869 views

Question details

Split contact details separated by line breaks in each cell into five columns for more than 100 contacts.

Split Line-Break-Separated Contacts into Excel Columns
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.
Before you start

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.

Solution 1Recommended

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.

1
Select the contacts

Select the cells containing the contact records, excluding any header.

2
Replace line breaks

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.

3
Open Text to Columns

With the contact cells still selected, go to Data > Text to Columns. Choose Delimited and select Next.

4
Choose the delimiter

Select Other, enter |, and clear any other delimiter selections. Check that the preview shows five fields, then select Next.

5
Set the phone format and finish

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.

Replace line breaks and split contacts with Text to Columns
Check the results: If a contact has a missing field, an extra line break, or the chosen delimiter within a field, review and correct that row; its values may not align with the five columns.
Split contacts in WPS Spreadsheets

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. 1. Open the workbook: Open WPS Spreadsheets and select Open to load the Excel workbook containing the contacts.
  2. 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. 3. Paste the results as values: Copy the helper cells and use Paste Special > Values to replace the formulas with their results.
  4. 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.
Split contact names, titles, phone numbers, and email addresses into columnsOpen and edit Microsoft Excel XLSX and XLS filesUse familiar spreadsheet formulas and data toolsUse WPS Office for free
microsoft office alternative - wps office

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.