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

jeremypyle

Board Regular
Joined
May 30, 2011
Messages
166
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?
 

Some videos you may like

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"

Damon Ostrander

MrExcel MVP
Joined
Feb 17, 2002
Messages
4,239
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
 

s hal

Board Regular
Joined
Apr 10, 2013
Messages
198
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...
 

Watch MrExcel Video

Forum statistics

Threads
1,123,053
Messages
5,599,524
Members
414,315
Latest member
Yolanda5050

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
Top