Reformatting Names in Excel

Cal10

New Member
Joined
Feb 15, 2016
Messages
34
I am trying to reform names in Excel by using a formula. Everything I find only include Fist last name. I need to reformat a name with multiple commas

Currently reading:Doe, Jon, MD
Need to read Jon Doe MD

How can I do this without using Text to columns and only using a formula.

Thanks!
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
How many different formats are there? Or is it always surname, first_name, AA? Do you want the result in one column or three?
 
Last edited:
Upvote 0
This should do it (where the text is in A1):

=MID(A1,FIND(",",A1)+2,3)&" "&LEFT(A1,FIND(",",A1)-1)&SUBSTITUTE(RIGHT(A1,FIND(",",A1,FIND(",",A1)-1)),",","")
 
Upvote 0
When I plug in this formula it is only grabbing the first 3 letters of the first name then adding the remaining letters of the first name to the end of the last name.

Ex: Gooding, David, MD is showing as Dav Goodingvid MD.
 
Upvote 0
Assuming the text after the last comma is always two characters long (as your previous posts suggest), give this formula a try...

=MID(LEFT(A1,LEN(A1)-4)&" "&LEFT(A1,LEN(A1)-4),FIND(",",A1)+2,LEN(A1)-3)&RIGHT(A1,2)
 
Upvote 0
in B2

=TRIM(MID(SUBSTITUTE(A1,",",REPT(" ",50)),50,50))&" "&LEFT(A1,FIND(",",A1)-1)&" "&TRIM(RIGHT(SUBSTITUTE(A1,",",REPT(" ",50)),50))


Unknown
AB
1Doe, Jon, MDJon Doe MD
Sheet1
 
Upvote 0
Try this too

=MID(A1,FIND(" ",A1)+1,FIND(",",A1)-1)&" "&LEFT(A1,FIND(",",A1)-1)&" "&RIGHT(A1,2)

OR

=MID(A1,FIND(" ",A1)+1,FIND(",",A1)-1)&" "&LEFT(A1,FIND(",",A1)-1)&" "&TRIM(CLEAN(RIGHT(SUBSTITUTE(A1,CHAR(160),CHAR(32)),2)))
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,888
Messages
6,175,212
Members
452,618
Latest member
Tam84

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