Excel Split Data Into Columns

This article will tell you some examples of how to split one cell text data into multiple columns after the cell data column in excel.

1. Excel Split Data Into Columns Example Overview.

  1. There are 3 examples in this post.
  2. In the first example, it will split email addresses in column A into columns B and C. Column B saves the email name part, and column C saves the email domain part.
  3. In the second example, column A contains a long text, the text contains the user name, title, and mobile phone separated by a comma(,).
  4. What we want to do is to split the long text into columns A, B, and C. Column A saves the user name, column B saves the user title, and column C saves the user phone.
  5. In the third example, column A still contains long text, but there are no separators in the long text, so we have to set the split width manually to split the text in column A.

2. Split Email Address Into Multiple Columns In Excel Example.

  1. Below is the example data table.
      A B C
    1 Email Email Prefix Email Domain
    2 [email protected] Jerry gmail.com
    3 [email protected] Tom hotmail.com
    4 [email protected] Richard yahoo.com
    5 [email protected] Ben apple.com
    6 [email protected] John google.com
  2. Input the first email user name text ( such as Jerry ) in cell B2.
  3. Then click the cell B2, press the Shift key, and click cell B6 to select the cell range B2:B6.
  4. Press the key combination Ctrl + E.
  5. Then you can find that excel will fill all the selected cells in column B with the email user name part text.
  6. Input the first user email address’s domain (gmail.com) in cell C2.
  7. Select the cell in range C2:C6 like above.
  8. Press the key combination Ctrl +E again.
  9. Then it will fill the user email address’s domain part in the selected cells accordingly in column C.

3. Split Text That Contains Delimiter Into Multiple Columns In Excel Example.

  1. Below is the example data table before the text split operation.
      A B C
    1 User User Phone User Title
    2 jerry, 81718891, CEO
    3 tom, 89978987, CFO
    4 richard,98982389, CTO
    5 ben,98927868, Dev
    6 John,89881278,QA
  2. Below is the data table after the text split operation.
    A B C
    1 User User Phone User Title
    2 jerry 81718891 CEO
    3 tom 89978987 CFO
    4 richard 98982389 CTO
    5 ben 98927868 Dev
    6 John 89881278 QA
  3. To implement the above effect, you should first click cell A2 to select it.
  4. Then press the Shift key and hold, and click cell A6 at the same time to select the cell range A2:A6.
  5. On the excel top ribbon area, click the Data tab —> Text to Columns icon button in the Data Tools group.
  6. It will open the Convert Text to Columns Wizard dialog window.
  7. Check the radio button Delimited in the Original data type section and click the Next button.
  8. In the Delimiters group, check the checkbox Tab, Comma, and Space.
  9. You can see the split result in the Data preview area.
  10. Click the Next button.
  11. In the next wizard window, the original text has been split into 3 columns in the Data preview area.
  12. Click each column in Data preview area, then select the Text radio button in the Column data format group and click the Finish button.

4. Split Text That Does Not Contain Delimiter Into Multiple Columns In Excel Example.

  1. Below is the example data table before the text split operation, we can see the text in column A does not contain any delimiter.
    A B C
    1 User User Phone User Title
    2 81718891CEOJerry
    3 89978987CFOTom
    4 98982389CTORichard
    5 98927868DEVBen
    6 89881278Q&ARichard
  2. Below is the data table after the text split operation.
    A B C
    1 User Phone User Title User
    2 81718891 CEO Jerry
    3 89978987 CFO Tom
    4 98982389 CTO Richard
    5 98927868 DEV Ben
    6 89881278 Q&A Richard
  3. Click cell A2 to select it, press the Shift key and click cell A6 at the same time, then you selected the cell range A2:A6.
  4. On the excel ribbon area ( located at the excel top menu bar ), click the Data tab.
  5. In the Data Tools group, click the Text to Columns icon button to open the Convert Text to Columns Wizard.
  6. Select the Fixed width radio button in the Original data type group area and click the Next button.
  7. It will open the column break lines wizard dialog window, you can create, delete, and move break lines on your original cell text in this dialog.
  8. You can see there is an x-axis line in the Data preview area, click the number 10 on the x-axis, then it will create a break-line in your original cell text.
  9. You can move the break-line position on the x-axis and split the cell data manually to set the user phone, user title, and user name column width.
  10. You can create multiple break lines to separate the cell text into multiple columns.
  11. Click the Next button to go to the next wizard.
  12. Now, the original cell text has been split into multiple columns in the Data preview area.
  13. Select each column in the Data preview area, and select the Text radio button in the Column data format group section.
  14. Click the Finish button to complete the split process.
  15. Now you can see the data table with the split text in each column.
  16. This kind of text split requires each column of the data in the original cell to have the same and fixed width, otherwise, it will not split out each column’s text accurately.

Leave a Comment

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Clicky