Splitting data delimited by comma into different cells

Johnmus

Board Regular
Joined
Jun 18, 2011
Messages
138
Hi all, hope anyone can help me with this. I have three names separated by comma in one cell C11 (John Doe, John Smith, Joe Strong). I would like to split the names and have them transferred to cell B8, B9, B10 on a different sheet (from Fest Info to Front). So John Doe will end up in B8, John Smith in B9 etc.

Thanks for your help!
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
Hi,

A little tired and late where I am, but this should help you:


Book1
BCD
10
11John Doe, John Smith, Joe Strong
12
Fest Info



Book1
ABC
7
8John Doe
9John Smith
10Joe Strong
11
Front
Cell Formulas
RangeFormula
B8=LEFT('Fest Info'!C11,FIND(",",'Fest Info'!C11)-1)
B9=TRIM(MID('Fest Info'!C11,FIND(",",'Fest Info'!C11)+1,FIND("/",SUBSTITUTE('Fest Info'!C11,",","/",2))-(LEN(B8)+2)))
B10=TRIM(RIGHT('Fest Info'!C11,LEN('Fest Info'!C11)-FIND("/",SUBSTITUTE('Fest Info'!C11,",","/",2))))
 
Last edited:
Upvote 0
Enter this into Front B8 and copy down:

=TRIM(MID(SUBSTITUTE(", "&'Fest Info'!$C$11,", ",REPT(" ",100)),ROWS($B$1:B1)*100,100))
 
Upvote 0

Forum statistics

Threads
1,224,824
Messages
6,181,187
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