+ Reply to Thread
Results 1 to 5 of 5

Obtain First, Middle and Surname from multiple names

  1. #1
    Registered User
    Join Date
    10-27-2013
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    13

    Question Obtain First, Middle and Surname from multiple names

    Hi,

    I have a list of names which need to be split in to 3 fields: First Name, Middle Name and Surname. This would be simple if all names were limited to 3 names, however, the names in the list can sometimes be 3, sometimes 4,5,6 or sometimes only 2: First and Last. Below is a sample of names:

    Please Login or Register  to view this content.
    In theory, what I need in fname field is to get the text up to first space and this works fine using: =LEFT(A2,FIND(" ",A2,1)-1)
    For Surname: It should be everything after the last space
    Middle name: Should be everything else or blank if there's only 2 names.

    Please help..

  2. #2
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: Obtain First, Middle and Surname from multiple names

    Welcome to the forum jturner12
    Assuming your data is is in column A and you want the results to be in Columns B(first name), C(middle names, if any),D(last name):
    in B2:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Drag down as far as needed

    in C2:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Drag down as far as needed

    in D2:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Drag down as far as needed

    Hope this helps

    EDIT

    You need all 3 formulas in place before the second one works, it relies upon the 3rd one to operate correctly
    Last edited by dredwolf; 10-27-2013 at 04:43 AM.
    A picture may be worth a thousand words, BUT, a sample Workbook is worth a thousand screenshots!
    -Add a File - click advanced (next to quick post), scroll to manage attachments, click, select add files, click select files, select file, click upload, when file shows up at bottom left, click done (bottom right), click submit
    -To mark thread Solved- go top of thread,click Thread Tools,click Mark as Solved
    If you received helpful response, please remember to hit the * of that post

  3. #3
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: Obtain First, Middle and Surname from multiple names

    Self deleted, duplicate post...again

  4. #4
    Registered User
    Join Date
    10-27-2013
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    13

    Re: Obtain First, Middle and Surname from multiple names

    perfect! Thank you so much

  5. #5
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: Obtain First, Middle and Surname from multiple names

    You are welcome !

    Please mark thread as closed (see signature below for details) if you are satisfied with answer

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Show same surname's first names after data validation warning message
    By mukeshbaviskar in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-22-2013, 12:04 PM
  2. Match surname list to a surname and initials list, names have 1 or 2 initials.
    By MrsExcell2013 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-10-2013, 02:21 AM
  3. Sort list of names by surname
    By BVan in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-29-2008, 02:31 PM
  4. Replies: 5
    Last Post: 06-06-2007, 09:10 AM
  5. Surname and First names formula
    By Steved in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 08-07-2006, 02:25 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1