+ Reply to Thread
Results 1 to 4 of 4

Compare two lists of words to find closest matches

  1. #1
    Registered User
    Join Date
    08-07-2015
    Location
    Rockville, MD
    MS-Off Ver
    2013
    Posts
    2

    Compare two lists of words to find closest matches

    Hello, I'm trying to figure out how I can compare one list of words to another, and get the closest match based on the number of similar letters in the cell. I have the Levenshtein formula, which gives you the percentage match based on two cells, but I need a way to have these two different lists lined up in order to be able to use the formula.

    One list of words is shorter, and the other list is more comprehensive. How can I do this?

    Thanks, Elise
    Last edited by elise.benjamin; 08-10-2015 at 10:03 AM.

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Compare two lists of words to find closest matches

    What you do mean by "lined up"? Are you comparing each word in one list to all other words in the other list? Or just one-to-one comparisons?

    It would be helpful to provide your file, or at least a small sample so we can see better what you're trying to do. I have not implemented the Levenshtein formula before but I suspect it may need to be implemented as a macro.

    (P.S. I work on Research Blvd in Rockville)
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Registered User
    Join Date
    07-16-2012
    Location
    Newcastle upon Tyne
    MS-Off Ver
    Excel 2010
    Posts
    69

    Re: Compare two lists of words to find closest matches

    Something like this perhaps...ListCompare.xlsx
    Steve D. a.k.a. Stephen Dunn

  4. #4
    Registered User
    Join Date
    08-07-2015
    Location
    Rockville, MD
    MS-Off Ver
    2013
    Posts
    2

    Re: Compare two lists of words to find closest matches

    Thank you, I decided to use Fuzzy Lookup!

+ 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. Replies: 8
    Last Post: 08-09-2013, 06:42 PM
  2. Search for a value if it matches find closest date
    By pedrojoin in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-14-2013, 08:36 AM
  3. Replies: 0
    Last Post: 08-11-2012, 03:25 PM
  4. 2 lists of coordinates. I wanna find the closest
    By 008 in forum Excel General
    Replies: 1
    Last Post: 04-28-2011, 01:09 AM
  5. Compare 2 lists, when 2 matches, then copy
    By ABBOV in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-10-2010, 06:27 AM
  6. Replies: 3
    Last Post: 06-21-2010, 10:55 AM
  7. compare lists, highlight matches
    By trixxnixon in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-05-2009, 11:30 AM
  8. Replies: 1
    Last Post: 07-28-2006, 03:50 AM

Tags for this Thread

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