HELP! Need to convert comma delimited text into rows

tbark

New Member
Joined
Jul 8, 2013
Messages
9
Hello -

I have 65 rows of data; each cell contains anywhere from 5 to 8 comma delimited values that need to be housed in their own rows. Here is an example of my data:

Cell A2: 0x460297gpr,9806458rtgjd,0x5641313746fd,9x44564fs4f5s4f5ds3,5x4f35sd4f3sd4f3s
Cell A3: 3xsf23ds4dff,8xf4ds23df2s,1xf2sdfs3fds534f3s,2x5df45s34f5s3fds2,5x45fds34f5ds34fd5s3,7xdfs354fds5s
Continues through cell A65+ with similar values.

Here's where I need to get to: would love if I can do this in a macro or a formula. Doing it manually is not an option since this will go into another file where rows will be added to Column A with new and updated values. Here's my desired output:

1. the values in each cell get their own row
2. i then need to de-dupe the results and only show unique values
3. all of the results need to be in one column.

can someone PLEASE help me?
 
No, I did not really follow that at all. Perhaps a small example would help. Let's say you had this on Sheet1...

ABCDE
1one,two,threeB1C1D1
2four,five,six,sevenB2C2D2
3

<COLGROUP><COL style="FONT-WEIGHT: bold; WIDTH: 30px"><COL style="WIDTH: 118px"><COL style="WIDTH: 64px"><COL style="WIDTH: 64px"><COL style="WIDTH: 64px"><COL style="WIDTH: 64px"></COLGROUP><TBODY>
</TBODY>

What should the output on Sheet2 look like for these values?
 
Upvote 0

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
I am so sorry - sometimes explaining these things are more clear in my head than in words :(

Using your example, here is what the output would look like on Sheet2 (sorry mine is not as nicely formatted as yours, but hopefully you get the gist of it!):

ABCD
1 oneB1C1D1
2 twoB1C1D1
3 threeB1C1D1
4 fourB2C2D2
5 fiveB2C2D2
6 sixB2C2D2
7 sevenB2C2D2

<colgroup><col width="64" span="5" style="width:48pt"> </colgroup><tbody>
</tbody>
 
Upvote 0

Forum statistics

Threads
1,215,841
Messages
6,127,221
Members
449,371
Latest member
strawberrish

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