+ Reply to Thread
Results 1 to 5 of 5

Match surname list to a surname and initials list, names have 1 or 2 initials.

  1. #1
    Registered User
    Join Date
    05-09-2013
    Location
    Peterborough
    MS-Off Ver
    Excel 2010
    Posts
    5

    Match surname list to a surname and initials list, names have 1 or 2 initials.

    Please can anyone help me, is there a formula I can use to match a column that has initials and surname together with no gaps or anything separating the initials from the surname, some of the names have one initial & some have two initials. How can I can match another list of just the surnames to pull out the matching surname and initials to save me manually looking up if the person has one or two initials?
    Thank you

  2. #2
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,680

    Re: Match surname list to a surname and initials list, names have 1 or 2 initials.

    can anyone help me
    Not without a xls sample
    Willem
    English is not my native language sorry for errors
    Please correct me if I'm completely wrong

  3. #3
    Registered User
    Join Date
    05-09-2013
    Location
    Peterborough
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Match surname list to a surname and initials list, names have 1 or 2 initials.

    It's just a plain excel worksheet, column A = data source with all of the initials and surnames together, column B just surnames, what i need is to match the surnames from collumn B to column A & populate column C finding/ matching the same surname in column A & putting the name with the initials in cell C. I could do it if they all have 1 or all have 2 initials but because I don't know if they have 1 or 2 initials I'm a bit stuck.

    A B C
    jhhill hill Jhhill
    hjones blogs jsblogs
    hasmith
    jsblogs

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,050

    Re: Match surname list to a surname and initials list, names have 1 or 2 initials.

    This will help if you only have 1 instance of each last name (unlikely)...

    =vlookup("*"&B1,A1:A10,1,false)
    Last edited by FDibbins; 05-09-2013 at 05:34 PM.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  5. #5
    Registered User
    Join Date
    05-09-2013
    Location
    Peterborough
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Match surname list to a surname and initials list, names have 1 or 2 initials.

    Many thanks I will test this later, am I correct in thinking this will bring the closet match, if so that's just what I need, so if I have two people I need to check with the same surname I can just put one initial with the surname and it will tell me the closet match in column C so i will be able to see if the persons username has one or two initials.

    Im just currious, Is there a way that if there are more than one surname the same to tell it to put it in column D, or E if there are 3 people with the same surname?

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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