Rearranging text (I screwed up the first post)

Joined
Dec 15, 2023
Messages
2
Office Version
  1. 2016
Platform
  1. Windows
I need a formula to change the way a person's name is displayed.
The current format is - Smith, Bob J.
And I need a formula to change it to - Bob J. Smith
I have a large list of names of different character lengths and some have the middle initial followed by a . and some do not have a middle inital.

Thank you
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
I'm supposing that all cells have a comma after the surname and the list starts in cell A1; if so then you can use this formula in a help column, lets say B1 (then pull down):

=CONCATENATE(LEFT(A1,FIND(",",A1,1)-1)," ",MID(A1,FIND(",",A1,1)+2,LEN(A1)))
 
Upvote 0
A similar approach...and I assumed the same thing...that a comma can be used as a delimiter. I wasn't sure whether any extra spaces might follow the original name, so I wrapped that portion with TRIM.
MrExcel_20231214.xlsx
AB
1Smith, Bob J.Bob J. Smith
Sheet2
Cell Formulas
RangeFormula
B1B1=CONCAT(TRIM(RIGHT(A1,LEN(A1)-FIND(",",A1)))," ",LEFT(A1,FIND(",",A1)-1))

Note that the offering from @rollis13 has the name parts out of order...I believe it would be:
Excel Formula:
=CONCATENATE(MID(A1,FIND(",",A1,1)+2,LEN(A1))," ",LEFT(A1,FIND(",",A1,1)-1))
 
Upvote 0
OMG :eek:. Thanks @KRice, you're absolutely right, I was testing the single parts then I messed up the final merge 🤣.
 
Upvote 0
This somewhat simple formula should work for you...

=MID(A1&" "&A1,FIND(" ",A1)+1,LEN(A1)-1)
 
Upvote 0
Smith Taylor, Bob J. would be a 'wordy surname'.
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,333
Members
452,636
Latest member
laura12345

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