Split a single cell into multiple rows

sharshra

Active Member
Joined
Mar 20, 2013
Messages
404
Office Version
  1. 365
I have a cell with many items listed one below the other. I would like to pull the cell content into separate rows so that it can be managed better. Can someone advise how to do this?

See the example below. Cell A1 has 4 items (refer 'single cell.png'). I want to pull each of these into 4 rows (refer 'cell content in separate rows.png').

I tried with Text to Columns option, but it is not giving the expected result. Tried to search in the internet, but couldn't find an appropriate solution.
 

Attachments

  • cell content in separate rows.png
    cell content in separate rows.png
    1.5 KB · Views: 15
  • single cell.png
    single cell.png
    1.5 KB · Views: 14

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
I don't know what unicode character this bullet refers to, but nesting a SUBSTITUTE() inside of the TEXTSPLIT() to get rid of it would probably suffice?
Can you please try with any character not necessarily bullet & advise how to get rid of that character after TEXTSPLIT? I'm trying, but it's not working somehow.
 

Attachments

  • cell content in separate rows.png
    cell content in separate rows.png
    1.5 KB · Views: 9
  • single cell.png
    single cell.png
    1.5 KB · Views: 9
Upvote 0
Please see post#9 an image is of no real use.
 
Upvote 0
Can you post some sample data.

MrExcel has a tool called “XL2BB” that lets you post samples of your data that will allow us to copy/paste it to our Excel spreadsheets, so we can work with the same copy of data that you are. Instructions on using this tool can be found here: XL2BB Add-in

Note that there is also a "Test Here” forum on this board. This is a place where you can test using this tool (or any other posting techniques that you want to test) before trying to use those tools in your actual posts.
Sample data is here
split text.xlsx
A
1• afd • bl • crerer • diu
Sheet1


The following formula split the text & put them into separate rows. The output includes bullet also.
Excel Formula:
=TEXTSPLIT(A1,,CHAR(10))
But, I need the output from the formula without bullets as shown below.
split text.xlsx
A
3afd
4bl
5crerer
6diu
Sheet1
 
Upvote 0
Can you please try with any character not necessarily bullet & advise how to get rid of that character after TEXTSPLIT?
Try
Excel Formula:
=TRIM(TEXTSPLIT(MID(A1,2,LEN(A1)),,CHAR(10)&LEFT(A1,1)))
 
Upvote 0

Forum statistics

Threads
1,224,824
Messages
6,181,186
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top