+ Reply to Thread
Results 1 to 6 of 6

Excel 2007 : Partial Match, Multiple Criteria PLEASE HELP!!!

  1. #1
    Registered User
    Join Date
    02-03-2012
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    41

    Partial Match, Multiple Criteria PLEASE HELP!!!

    I am trying to do the following:

    COLUMN A COLUMN B COLUMN C COLUMN D COLUMN E COLUMN F
    Airline 1 Belgium Arline1 Belg. EUR
    Airlinee 2 Switzerland Airline2 Switzlan EUR
    Airline 3 Morrocco Aiiline 3 Morocco USD
    etc.
    etc.
    etc.

    I need to partially match COLUMN A to COLUMN C, as well as partially match COLUMN B to COLUMN D. If BOTH criteria are met, then yield the same value from COLUMN E into COLUMN F

    Please help I have tried EVERYTHING!!!!!!
    Last edited by [email protected]; 02-20-2012 at 07:29 AM. Reason: SOLVED

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

    Re: Partial Match, Multiple Criteria PLEASE HELP!!!

    Hi Dan and welcome to the forum,

    I believe you are looking for a Fuzzy Logic type of matching. I don't have a good answer but perhaps knowing the term will help.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Partial Match, Multiple Criteria PLEASE HELP!!!

    Please Login or Register  to view this content.

    When attempting to apply crazy fuzzy matching like this, the human eye can provide context a program cannot. Worse, you don't have ONE column with "always clean" answers and one with errors, both columns are full of errors.

    You will need create your own reference table to lookup corrected spellings... the first column you gather all the misspellings (and one copy of the correct spellings), and in the second column you put the correct spellings for each. It's a chore to put together, but when done you would be able to reuse that table, and only when you column F formula fails and gives an error would you add to the table of errors to get the new variations in.

    I've attached an example, just keep adding to the lookup table. As it grows, more and more of your rows will resolve themselves. The formula is in G1 already.

    The results you will get are:
    1) The number from E will appear because you lookup table has provided matching strings
    2) #VALUE will appear because your strings are not yet in the table, add them
    3) BLANK will appear because all strings are in the table and they do not match.
    Attached Files Attached Files
    Last edited by JBeaucaire; 02-03-2012 at 12:07 PM.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  4. #4
    Registered User
    Join Date
    02-03-2012
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    41

    Re: Partial Match, Multiple Criteria PLEASE HELP!!!

    Thanks to both of you for the quick response!

    Jerry, your answer was particularly helpful thank you!!

    Although this does work well, I am trying to avoid manually sifting through partially matched data and correcting mistakes.

    There must be some formula / algorythim that allows for this (similar to Google search ie. Tyger Wodes will bring up Tiger Woods automatically)...

    Maybe even some VBA or C++ integrated code will work??

    Every problem has a solution and we shall find it!!

    Until then...

  5. #5
    Registered User
    Join Date
    02-03-2012
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    41

    Re: Partial Match, Multiple Criteria PLEASE HELP!!!

    !!! SOLVED !!!

    To Jerry and Marvin thank you for your assistance, Marvin for pointing out the Fuzzy Lookup function.

    The answer is to download the Fuzzy Lookup addin for Excel on the Microsoft website.

    Once installed it will appear as an addin in Excel and runs like a little micro function without formulas.

    Exactly what I needed and I hope this will help anybody else out there with the same problem.

    Regards,

    Dan

  6. #6
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Partial Match, Multiple Criteria PLEASE HELP!!!

    If that takes care of your need, please click EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED.

+ 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