How to make multiple phrases in my cell (seperated by commas) go into their own cell

jeremypyle

Board Regular
Joined
May 30, 2011
Messages
174
Hi,

I have the following in excel:

a1=red apple
a2=green grapes, yellow bananas, orange oranges
a3=black grape

I want a formula that I can put into b1 and then simply drag the formula down. I want the results to be as follows:

b1=red apple
b2=green grapes
b3=yellow bananas
b4=orange oranges
b5=black grape

I'm not sure if this is a simple formula or not. I can't figure it out. I have thousands of items in column A.

Anyone able to help with this?
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
Hi Jeremy,

What you describe is exceedingly difficult to do with a worksheet formula (perhaps even a MrExcel Challenge of the Month candidate). However, it is not difficult at all to do with a VBA macro. Are you interested in entertaining a macro solution?

Damon
 
Upvote 0
Do you only want the UNIQUE results? Or you want a long list of all the fruits? Is there a reason for wanting this? Sometimes the best solution is the one you aren't on the path for...
 
Upvote 0

Forum statistics

Threads
1,214,540
Messages
6,120,106
Members
448,945
Latest member
Vmanchoppy

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