+ Reply to Thread
Results 1 to 3 of 3

autocomplete with vlookup providing multiple results

  1. #1
    Registered User
    Join Date
    02-15-2013
    Location
    NJ
    MS-Off Ver
    Excel 2003
    Posts
    2

    autocomplete with vlookup providing multiple results

    Hello and thank you in advance for any assistance provided.

    Some background on what I am trying to accomplish.
    Column A contains customer names
    Column B contains customer account numbers.

    I have created a auto complete sequence that will allow our call center people to type in a partial name, or part of a name and get a result. Then a second Vlookup provides the account number associated with the customer name that comes up in the auto complete which provides pricing based on that acct.. etc. etc.

    The formula I am using is: =IF($A2="","",VLOOKUP("**"&$A$2&"*",$A$7:$B$700,1,FALSE)) (A2 being the "search box")

    This works great, but some of our customers have similar names or key words in their name appear dozens of times. Like if they were to type in soccer, we have almost 2 dozen account names that contain soccer and that vlookup only provides the first account it comes across that contains the word soccer.

    What I have been trying to do is figure out a way to use that auto complete Vlookup statement but have it spit out multiple results, capture those results in a list and create a drop down menu showing all the possible results based on what they typed in.

    If there some kind of IF THEN statement that I can use telling subsequent vlookups to move on to the next closest match after the first has been identified?

    I tried using an Index match... but I could not figure out how to incorporate the auto complete vlookup I have into it.

    Any assistance would be greatly appreciated.

    Thank you
    Ed

  2. #2
    Registered User
    Join Date
    01-30-2013
    Location
    Hobart, TAS
    MS-Off Ver
    Office 2003, XL2007
    Posts
    46

    Re: autocomplete with vlookup providing multiple results

    A1 Name, B1 Acct, C1 data1, D1 data2, E1 data3 headers, data in row 2
    F2 =IF(ISNUMBER(FIND($J$1,A2)),ROW(),"") copy down to match col A
    J1 enter search info
    K2 =IF(ROWS($1:1)>COUNT($F:$F),"",INDEX(A:A,MATCH(SMALL($F:$F,ROWS($1:1)),$F:$F,0))) copy across to col O, select K2:O2 and copy down say 20 rows (enough to show all possible matches add more)
    Create you dropdown menu from this shortlist.

  3. #3
    Registered User
    Join Date
    02-15-2013
    Location
    NJ
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: autocomplete with vlookup providing multiple results

    Thank you for the reply M E GOOD.

    I could not get it to work... and I posted an attachment for you to check out. But then I realized I am an Idiot and it was not working because I have to type in all CAPS to match the data source.
    So Thank you so much for your assistance!! I very much appreciate it.
    Last edited by ejcnj; 02-18-2013 at 05:06 PM. Reason: I am an idiot

+ 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