Rearranging text in a cell

Status
Not open for further replies.
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 - Smith J. Bob
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

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
=LEFT(SUBSTITUTE(A1,", "," "&TRIM(RIGHT(SUBSTITUTE(MID(A1,FIND(",",A1)+2,255)," ",REPT(" ",255)),255))&" "),LEN(A1))
 
Upvote 0
Duplicate to: Rearranging text (I screwed up the first post)
In future, please do not post the same question multiple times. Per Forum Rules (#12), posts of a duplicate nature will be locked or deleted. Instead, post any corrections/clarifications in the original thread.

In relation to your question here, I have closed this thread since the other one has your corrected question. Please continue in the linked thread.
 
Upvote 0
Status
Not open for further replies.

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