Split Multiple Names in One Cell

2blues

New Member
Joined
Apr 25, 2018
Messages
7
Hi All,

I have data that has multiple names all in one cell, which looks like this:

A John Smith B Dave Smith C Jack Jones D Eric Jones

Is there anyway I can split the names into individual cells? It is ok if the letter comes with the name like so:

A John Smith
B Dave Smith
C Jack Jones
D Eric Jones

They can split either horizontally or vertically.

Thank you
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
Hi - welcome to the board.

The easiest way is to use text to columns: menu path is - data | text to column, then follow the prompts

If you want a formula:

=left(a1,find(" ",a1)-1)

=right(a1,len(A1)-find(" ",a1))
 
Upvote 0
Hi,

Assuming the names in your data string is Always 2 words (as in your sample), separated by a Single character:


Excel 2010
ABCDEF
1A John Smith B Dave Smith C Jack Jones D Eric Jones E John DoeA John SmithB Dave SmithC Jack JonesD Eric JonesE John Doe
2A John Smith B Dave Smith C Jack Jones D Eric Jones E John DoeJohn SmithDave SmithJack JonesEric JonesJohn Doe
Sheet11
Cell Formulas
RangeFormula
B1=TRIM(MID(SUBSTITUTE($A1," ",REPT(" ",100)),COLUMNS($A1:A1)*300-299,300))
B2=MID(TRIM(MID(SUBSTITUTE($A2," ",REPT(" ",100)),COLUMNS($A2:A2)*300-299,300)),3,255)


Use B1 formula copied across if you want to keep the Single character preceding the Name (i.e. A, B, C, D, etc.)
Use B2 formula copied across if don't want to keep the Single character preceding the Name.

Formulas can be copied as far across as necessary for longer strings of the same structure (as many names as you have separated by a single character)
 
Last edited:
Upvote 0
Given that jtakw managed to read and answer the question you asked, rather than some other question as I did, I'd go with that answer ;)
 
Upvote 0
You're welcome, welcome to the forum.
 
Upvote 0

Forum statistics

Threads
1,215,429
Messages
6,124,841
Members
449,193
Latest member
MikeVol

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