Can I separate cells with varying name data?

djrome13

New Member
Joined
Mar 6, 2014
Messages
3
I have an excel sheet that I need to separate out. I've already got the city/state issue solved, but I have a "name" cell that contains varying data ie) a1= Dr Joe Smith a2= dr and mrs john adams a3= mr greg j. Johnson

I need to separate it out as simply as possible....any suggestions? I have 14k cells, so manually will take forever.

Thank you all for your help in advance. Your advice has greatly helped in the past!
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
exactly how would you want to separate them? Maybe take a look at Text2Columns?
 
Upvote 0
I tried the T2C but since there are varying names/lengths it does not convert very well.

I'd like:
Title
First Name/Initial
Last Name
 
Upvote 0
First use Len to determine the length in characters of the name field
then use =search to find the locations of the spaces
then use left and right to pull the names
last name = right of the Len minus the position of the space
first name uses left

for salutations just search for them explicitly =search("mr", within text) and amputate them before applying the Len left right methodology
 
Upvote 0
The thing I've come across is there are a bunch of "Dr. And Mrs David J Jones" or "Mr and Ms Roger Franklin"...it seems like it's going to end up just being a lot of manual fixes any way I do it.
 
Upvote 0

Forum statistics

Threads
1,223,236
Messages
6,170,906
Members
452,366
Latest member
TePunaBloke

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