+ Reply to Thread
Results 1 to 6 of 6

Excel lookup for to return multiple approximate matches

  1. #1
    Registered User
    Join Date
    02-07-2011
    Location
    France
    MS-Off Ver
    Excel 2007
    Posts
    3

    Excel lookup for to return multiple approximate matches

    Hi all, I'm looking for a solution to get multiple approximate matches.

    For example,
    In my first workbook, I have a row with these names

    BigMouth
    BigMouth AG
    BigMou



    In my 2nd workbook,
    I have BigMouth

    And I want BigMouth, BigMouth AG, and BigMou to appear in the subsequent columns of my BigMouth row



    Thanks,
    Last edited by nhuang; 02-09-2011 at 06:20 AM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Excel lookup for to return multiple approximate matches

    Not sure if it will cover all your possibilities, but try this.

    In Sheet1 beside the multiple entries enter a formula like:

    Please Login or Register  to view this content.
    Where Sheet2!A1 holds your search term "BigMouth" and A2 is the first cell on your active sheet to check.

    copy the formula down. This finds all the terms that "might match".

    Then in Sheet2, in say B1 enter:
    Please Login or Register  to view this content.
    where Sheet1, column B is where you entered the first formula above.

    then in the location where you want your list entered, enter formula:
    Please Login or Register  to view this content.
    copied down as far as you want... adjusting again the references to suit.

    Attached is a sample.
    Attached Files Attached Files
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    02-07-2011
    Location
    France
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Excel lookup for to return multiple approximate matches

    Thank you very much.

    I think we are very close to the solution.

    I'm looking for a list of the approximate matches to be listed out in the same Row.

    In Sheet 2, I'd like For example Row 1, Bigmouth, BigMouth AG, BigMou etc. The approximate matches should appear on the same row but on different columns.

    In the example you gave me, they appeared on the same column and different rows. I tried to work around it but to no avail.

    Thanks!

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Excel lookup for to return multiple approximate matches

    Change the last formula to:
    Please Login or Register  to view this content.
    copied across.

  5. #5
    Registered User
    Join Date
    02-07-2011
    Location
    France
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Excel lookup for to return multiple approximate matches

    Hi there, I seem to have problems - when I add other words, I get blanks in the 'count' formula in sheet1. Going to upload the spreadsheet to make it clearer.
    Attached Files Attached Files

  6. #6
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Excel lookup for to return multiple approximate matches

    The solution was designed based on retrieving information only for 1 input...

    For multiple inputs, the design is a bit different. See attached.

    Added 2 helper columns in Sheet1.

    In B2:

    Please Login or Register  to view this content.
    copied down. This does a 2-way check and finds the matching input, if any.

    In B3:

    Please Login or Register  to view this content.
    copied down. This counts the number of matches for each input.

    In Sheet2, B1:

    Please Login or Register  to view this content.
    copied down. This gives count of each input found in Sheet1.

    in Sheet2, D1:

    Please Login or Register  to view this content.
    copied down and across. This extracts the matches in respective rows.
    Attached Files Attached Files

+ 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