First Name Extraction

  • Thread starter Thread starter Floridagal
  • Start date Start date
F

Floridagal

I have a group of names like this:

Brown, Joe D.
Smith, Thomas
Black, Susan E
White, Lisa
Green, Chad T.

I can extract out the last name in a separate column, I am
having a problem extracting out the first name (in another
column) with out the middle initial. Any help would be
sooooo appreciated.

TIA!!!
 
Try the following formula:

=MID(A1,FIND(" ",A1)+1,IF(ISERROR(FIND(" ",A1,FIND("
",A1)+1)),LEN(A1),FIND(" ",A1,FIND(" ",A1)+1)-FIND(" ",A1)))



--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com
 
Thank you Chip, works like a charm!!!!
-----Original Message-----
Try the following formula:

=MID(A1,FIND(" ",A1)+1,IF(ISERROR(FIND(" ",A1,FIND("
",A1)+1)),LEN(A1),FIND(" ",A1,FIND(" ",A1)+1)-FIND (" ",A1)))



--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com



message news:[email protected]...


.
 
Hi Floridagal,

Try this

=MID(A1,FIND(", ",A1)+2,FIND("~",SUBSTITUTE(A1,"
","~",LEN(A1)-LEN(SUBSTITUTE(A1," ",""))))-(FIND(",
",A1)+2)*(LEN(A1)-LEN(SUBSTITUTE(A1," ",""))=2))

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Matching Names 5
extract name 3
complicated text to column 4
How to join row data into one row 1
How do I extract part of a text string 2
Last initial 14
Right Text - Variable Find 2
Separate First, Last Names 2

Back
Top