find space between first name(inits) and second name

Scottish Dude

New Member
Joined
Feb 16, 2005
Messages
3
Can anyone help me.
I have a column full of contact names. Each cell has Init(s) Name. Can anyone help me with some code to change each cell in the column to read Name Init(s)
I have been using the functions , left, mid, right to do this, But as each cell could contain any number of inits this is very time consuming. I have been trying to work out how to do this by using function to find the space between the inits and name then try to select a nos of characters either side of the space.
I am getting nowhere.

using excel (office xp)
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
Can you post an example of your data, perhaps using Colo's HTML Maker?

If you can't post using this (there have been problems recently) just include an example in the post.
 
Upvote 0
Perhaps some variation of this:

Change Mary J. Smith
to Smith, Mary J.

=SUBSTITUTE(MID(A6,FIND(".",A6)+2,100),".","")&", "&LEFT(A6,FIND(".",A6))
 
Upvote 0

Forum statistics

Threads
1,216,129
Messages
6,129,047
Members
449,482
Latest member
al mugheen

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