How to Split Multiple Lines in One Cell into Separate Rows or Columns in Excel

This post will guide you how to split multiple lines in a cell into a spate rows or columns in Excel. How do I split cell contents into multiple cells with Text to Columns feature in Excel.

Split Multiple Lines in a Cell into Multiple Rows or Columns


Assuming that you have a list of data in range B1:B4 which contain multiple lines text string in each cell, and you want to split multiple lines in each cell in range B1:B4 into a spate rows or columns in Excel. How to achieve it.

You can use the Text to Columns feature to achieve the result. And you need to specify the delimiter in Text to Columns, and then it will use this delimiter to split the content of the cells in Range B1:B4. Just do the following steps:

#1 select the range of cells B1:B4 that you want to split.

split multiple lines in a cell into rows1

#2 go to DATA tab, click Text to Columns command under Data Tools group. And the Text to Columns dialog box will open.

split multiple lines in a cell into rows2

#3 choose the Delimited radio button under Original data type section. And click Next button.

split multiple lines in a cell into rows3

#4 only check the Other check box in the Delimiters section, and select the text box of Other, and then press Ctrl + J shortcut in your keyboard. And you can see the expected result in the Data preview section. Click Next button.

split multiple lines in a cell into rows4

#5 select one cell as the destination cell, such as: put the result in Cell C1, and you can type the value $C$1 in destination text box. and then click Finish button.

split multiple lines in a cell into rows5

x
How to Split Date into Day, Month and Year in Excel

#6 let’s see the result:

split multiple lines in a cell into rows6

Note: if you want to keep the original data, and you do not to specify the destination cell. And it will overwrite the existing data and generate the result.

Video: Split Multiple Lines in a Cell into Multiple Rows or Columns

 

Related Posts

VBA Macro For VLOOKUP From Another Sheet
vba macro for vlookup from another sheet1

In the previous post, you should know that how to fix or remove the #N/A error when using VLOOKUP formula to lookup value from another sheet. And this post will show you how to use VBA code to vlookup data ...

If Cell is Blank
If Cell is Blank_1

IF function is frequently used in Excel worksheet to return you expect “true value” or “false value” based on the result of created logical test. If you want to see if a cell is blank or not, and leave some ...

If Cell Equals Certain Text String
If cell equals certain text_1

IF function is frequently used in Excel worksheet to return you expect “true value” or “false value” based on the result of created logical test. If you want to see if cell equals a certain text string like “Win”, you ...

If Cell Contains Either Text1 or Text2
If cell contains text1 or text2_1

IF function is frequently used in Excel worksheet to return “true value” or “false value” based on the logical test result. If you want to see if cell contains certain substring1 like “abc” or substring2 like “def”, and returns true ...

If Cell Contains Certain Text OR Equals Certain Text

IF cell equals certain text IF function is frequently used in Excel worksheet to return “true value” or “false value” based on the logical test result. If you want to test values to see if they equal certain text like ...

VLOOKUP From Another Sheet Not Working
vlookup from another sheet not working3

In the previous post, you should know that how to fix or remove the #N/A error when using VLOOKUP formula to lookup value from another sheet. And this post will show you reasons why your VLOOKUP formula is not working ...

If Cell Begins with One of Three Supplied Characters
If Cell Begins with One of Three Supplied Characters

If you want to test values to see if they begin with some given specific characters like “x”, ”y”, or “z”, you can create a formula with COUNTIF and SUM functions to return results. EXAMPLE You can see “TRUE” or ...

Fix #N/A Error For VLOOKUP From Another Sheet
vlookup from anther sheet not working1

This post will show you how to fix the #N/A error why it occurs when you extract values from another sheet using VLOOKUP function in Excel 2016,2013,2010 or other Excel versions. How can you correct a #N/A error in VLOOKUP ...

How To Remove Special Characters in Excel
remove special character2

This post will show you how to remove special characters from text strings in Excel. And I am going to introduce two ways to remove special characters (@&)#%$) from a string in Excel. Removing Special Characters using Power Query If ...

How To Insert Comments in Protected Worksheet in Excel
insert commetns in protected workshee3

This post will show you how to allow comments in a protected worksheet in Excel. You can easily to insert comments into cells in a normal worksheet in Excel, but if want to insert a comment in a worksheet that ...

Sidebar