+ Reply to Thread
Results 1 to 5 of 5

Fuzzy Logic - search for similar values

  1. #1
    Forum Contributor
    Join Date
    05-09-2009
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    315

    Fuzzy Logic - search for similar values

    Hi

    Does anyone know of a function to perform a fuzzy logic match of 2 values, which are similar but not exactly the same? So for example, the strings 'ABC4005' and 'ABC400S' or '0094567' and '00094567' would be flagged as matching because they're the same apart from one character.

    Any help appreciated.

    Dion
    Last edited by mojo249; 01-22-2012 at 04:08 PM.

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,228

    Re: Fuzzy Logic - search for similar values

    Hi mojo249,

    Look at http://www.blog.methodsinexcel.co.uk...7/fuzzy-logic/ and download the sample file. It has a SoundEx function that may work for youj.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Forum Contributor
    Join Date
    12-28-2011
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    280

    Re: Fuzzy Logic - search for similar values

    Dion

    There is a sophisticated fuzzy vlookup code here:

    http://www.mrexcel.com/forum/showthread.php?t=195635

  4. #4
    Forum Contributor
    Join Date
    05-09-2009
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    315

    Re: Fuzzy Logic - search for similar values

    Thanks for the suggestion Marvin.

    All of those methods are incredibly clever but they seem to deal with alpha only strings (people or place names) which are spelt differently but pronounced similarly (such as Tsolakis vs Chollakis).

    I'm dealing with alpha/numeric or numeric only reference numbers which don't match for any number of reasons - because 1 character has been entered incorrectly (5 entered as an S), 2 characters have been transposed (ELFT001 and ELTF001), leading zeros have been omitted (0001234 and 1234) etc.

    Dion

  5. #5
    Forum Contributor
    Join Date
    05-09-2009
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    315

    Re: Fuzzy Logic - search for similar values

    That's perfect Firefly. I think I'll be able to adapt the FuzzyPercentage function to do what I want.

    Thanks

    Dion

+ 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