+ Reply to Thread
Results 1 to 5 of 5

Need vlookup to accept errors in names and name formats.

  1. #1
    Registered User
    Join Date
    10-28-2010
    Location
    UK, Swansea
    MS-Off Ver
    Excel 2010
    Posts
    64

    Need vlookup to accept errors in names and name formats.

    Hi
    I receive a list of several hundred personnel and occupations from various agencies. When I try to input the data onto a master list using a simple vlook up formula I keep getting #NA due to names being spelt incorrectly and different name spacing formats. Could someone please advise if there is a way of sorting out my problem so that I don’t have to correct every other name on the recieved list so that it will enter into my master list. I have attached a sample.
    Thanks for any assistance
    Mikey
    Attached Files Attached Files

  2. #2
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Need vlookup to accept errors in names and name formats.

    Hi Mikey,

    Few suggestions:-
    1) You can trim the names in the imported list
    2) When you apply vlookup, there will be some #n/A, which you can try matching with first name only or n characters from left, if you wish
    But still little chance of error would always be there and you might need to audit the results manually

    Any chance you have the IDs as well along with names which then can be used for vlookup and results would be more accurate



    See attached.. vlookup_sample.xlsx

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


    Regards,
    DILIPandey

    <click on below 'star' if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), [email protected]

  3. #3
    Forum Contributor johnjohns's Avatar
    Join Date
    11-19-2007
    Location
    Dubai, UAE
    MS-Off Ver
    2003 and 2007
    Posts
    526

    Re: Need vlookup to accept errors in names and name formats.

    Also this link may be of some help
    https://www.excelforum.com/showthread.php?t=841842
    regards

    johnjohns

    When you are not sure where to go, every road takes you there!

  4. #4
    Registered User
    Join Date
    10-28-2010
    Location
    UK, Swansea
    MS-Off Ver
    Excel 2010
    Posts
    64

    Re: Need vlookup to accept errors in names and name formats.

    Hi DILIpandey,
    Many, many thanks. Your formula has resulted in a huge reduction in #NA's. The ID's are allocated by myself so they are not on the imported list, would that be of any help?
    Thanks and Best regards
    Mikey

  5. #5
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Need vlookup to accept errors in names and name formats.

    You are welcome Mikey....

    If the IDs are not in the imported list then it would not be possible to apply vlookup on the basis of IDs... thanks.


    Regards,
    DILIPandey

    <click on below 'star' if this helps>

+ 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