One cell with first and last name into two cells

clever

New Member
Joined
Dec 4, 2002
Messages
12
I'm trying to split a cell containing first and last name or first name, MI, last name into separate cells for first, middle, last.

Dataset is 56,000+ lines, but first, middle and last seem to always be separated by a space.

Examples of name formats that I'm seeing (actual names modified to protect the guilty):

William H. Gates III
Steven Ballmer
James I. Cash, Jr.
R. V. Gilmartin
Jean Phillipe Courtois
Mo-Fun Appul, Ph.D.

I can lose the titling items, but would like a column each for first, middle and last names/initials.
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
This formula will extract everything from the left of the last space character for the text in cell A1

=LEFT(A1,FIND("*",SUBSTITUTE(A1," ","*",LEN(A1)-LEN(SUBSTITUTE(A1," ",""))))-1)

this one will extract everything from the right of the last space character

=RIGHT(A1,LEN(A1)-FIND("*",SUBSTITUTE(A1," ","*",LEN(A1)-LEN(SUBSTITUTE(A1," ","")))))
 
Upvote 0
Muchas Gracias Senor.

I'll tickled that a little bit to make it work for the Jr., Sr., III, Ph.D. thing and it works like a charm.
 
Upvote 0

Forum statistics

Threads
1,224,801
Messages
6,181,047
Members
453,014
Latest member
Chris258

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