+ Reply to Thread
Results 1 to 4 of 4

Finding Closest Match (VLookup is no good)

  1. #1
    Registered User
    Join Date
    08-12-2008
    Location
    new york
    Posts
    5

    Finding Closest Match (VLookup is no good)

    Hello good people!

    I have an excel worksheet listing about 900 names [file 1] in various formats (last, first; first last; First Last; LAST, FIRST; etc...) with some pertinent information in the contiguous columns .

    Every few days I receive and email with and excel attachment [file 2] that lists a few (10) of the names that appear in [file 1] with some updated information.

    I was trying to write a script that automatically copied over the new information from [file 2] to the appropriate row in [file 1]. However the names don't always match perfectly.

    To no avail, tried using VLookup with final argument both on and off. I also found a script on this site with a function called TVLookup(). It did a little better of a job at matching the two names, but not really what I need.

    I was thinking about using VBA's find function, but i dont think this will look for partial matches like I want.

    Thank you for your assistance.
    -nibix

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258
    Hello nibix,

    Welcome to the Forum!

    To get an answer your question quickly, you should include any code you have, and examples of the data layout on the worksheet. You can also post your Excel workbook(s) for review.

    Sincerely,
    Leith Ross

  3. #3
    Registered User
    Join Date
    08-12-2008
    Location
    new york
    Posts
    5
    I have made an example of what I am trying to do. I want a function that will be able to find the best match for a text value. VLookup just doesn't do the job
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    08-12-2008
    Location
    new york
    Posts
    5
    I was thinking. Maybe this is just fundamentally a bad way to do what I am trying to accomplish. Any thoughts?

+ 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