+ Reply to Thread
Results 1 to 8 of 8

Autocomplete dropdown list, NOT data validation or ActiveX

  1. #1
    Registered User
    Join Date
    02-11-2014
    Location
    Florida
    MS-Off Ver
    Excel 2010
    Posts
    19

    Autocomplete dropdown list, NOT data validation or ActiveX

    I have a somewhat complicated sheet set up with a LOT of dropdowns. They are just regular form control dropdowns, NOT ActiveX or data validation dropdowns. The contents of these dropdowns are somewhat lengthy, and I've been asked to find a way so that people can quickly jump to the name in the dropdown they want by typing the first few letters.

    I do know that this is easily done with ActiveX control dropdowns, but unfortunately our sheet uses ordinary form controls instead. Is there any way to accomplish this? VBA solutions welcome; I was just hoping I wouldn't have to start all over from scratch using ActiveX controls.

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

    Re: Autocomplete dropdown list, NOT data validation or ActiveX

    Let me be the first to say... start over with ActiveX controls.

    It's always better to redo mistakes than it is to add plumbing to work around the errors. The built-in functions Excel has to offer would always be preferable.
    _________________
    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!)

  3. #3
    Registered User
    Join Date
    09-28-2012
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    53

    Re: Autocomplete dropdown list, NOT data validation or ActiveX

    The patchwork method is to recreate the entire contents of the drop-down in the cells immediately preceding each drop-down.

    For obvious reasons, this is rarely feasible.

  4. #4
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Autocomplete dropdown list, NOT data validation or ActiveX

    You can get a data validation list that will work pretty close to what you want if the source data is sorted and you insert the letters before each group.

    For example:

    Data Range
    A
    2
    A
    3
    AirHead
    4
    Angry
    5
    B
    6
    Badly
    7
    Bladder
    8
    C
    9
    Creepy
    10
    D
    11
    Doofus
    12
    Dumbo


    Setup the drop down list using A2:A12 as the source.

    Then, assuming cell C2 contains the drop down list...

    Type the first letter of the group of interest but don't hit enter, instead, click the drop arrow and the list will automatically scroll to the letter you typed. Then you can scroll as needed and make your selection without having to scroll through the entire list.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  5. #5
    Registered User
    Join Date
    02-11-2014
    Location
    Florida
    MS-Off Ver
    Excel 2010
    Posts
    19

    Re: Autocomplete dropdown list, NOT data validation or ActiveX

    Sigh. Guess starting over will be the way to go. Thank you all for your input!

  6. #6
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Autocomplete dropdown list, NOT data validation or ActiveX

    Good deal. Thanks for the feedback!

  7. #7
    Forum Contributor
    Join Date
    05-10-2011
    Location
    Central Ohio
    MS-Off Ver
    Excel 2000, and 2010
    Posts
    654

    Re: Autocomplete dropdown list, NOT data validation or ActiveX

    Here is a You Tube link to a video by Neil Furth on how to create a searchable drop down list using only formulas.

    HTML Code: 
    I have used it and it works very well.

    Jim O

  8. #8
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Autocomplete dropdown list, NOT data validation or ActiveX

    You can eliminate the numbering formula and create the source list using another formula.

    For example...

    Let's assume the drop down list is setup in cell A5.

    E6:E16 is the master list (all names) and the source for the drop down list will be the dynamic list in F6:Fn.

    Data Range
    E
    F
    5
    Master List
    Dynamic List
    6
    Tom jones
    John Lennon
    7
    Tony Valko
    Bill Johnson
    8
    Tony Spam
    Terry Johnson
    9
    Bill Jones
    Nancy Johnston
    10
    Frank Sentak
    11
    John Lennon
    12
    Bill Johnson
    13
    Tim Jones
    14
    Lisa Babs
    15
    Terry Johnson
    16
    Nancy Johnston


    This array formula** entered in F6:

    =IFERROR(INDEX(E:E,SMALL(IF(ISNUMBER(SEARCH(A$5,E$6:E$16)),ROW(E$6:E$16)),ROWS(F$6:F6))),"")

    ** array formulas need to be entered using the key
    combination of CTRL,SHIFT,ENTER (not just ENTER).
    Hold down both the CTRL key and the SHIFT key
    then hit ENTER.

    Copy down to enough cells so that it will return all the corresponding results.

+ 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. [SOLVED] How do I change properties of activex combobox that is linked data validation list?
    By Chris* in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 01-13-2014, 07:03 AM
  2. How to fill an activex combobox with a data validation list?
    By Sape in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-03-2013, 04:45 PM
  3. Autocomplete using dropdown list
    By kevinf5 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 12-24-2010, 08:17 AM
  4. Autocomplete cell from choice on dropdown list
    By mc515 in forum Excel General
    Replies: 3
    Last Post: 10-23-2008, 10:05 AM
  5. [SOLVED] Validation List Autocomplete
    By Guilherme Loretti in forum Excel General
    Replies: 2
    Last Post: 03-21-2006, 09:15 PM

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