+ Reply to Thread
Results 1 to 2 of 2

Drop down list that narrows as you type

  1. #1
    Registered User
    Join Date
    03-02-2011
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    17

    Drop down list that narrows as you type

    Is it possible to use a formula/trick to create a drop down list that narrows as you type the name in the field.

    E.g I have a drop down list linked to a data series that contains thousands of product names. Currently I have to scroll down to the correct item which can be difficult to find in order to select it. I would like to start typing the name in the field and have the drop down list automatically narrow down to only those products which have characters typed. If I started typing P, the list would narrow to Pan, Plate, Pot etc and exclude all other products in that data column.

    Any help would be greatly appreciated

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Drop down list that narrows as you type

    This can be done with a combobox control, which has this feature built in. (You are probably talking about data validation with a list.)

    Go to the Developer tab of the ribbon. In the Controls panel, click on Design Mode. Then click Insert. Under ActiveX Controls, click on the combobox icon (pick around, you'll find it). Your cursor will turn to a "+" and you can drag out the combobox wherever you want it on your worksheet.

    Right click on the combobox and select Properties. In the Properties list, select ListFillRange and for its value type in the address of the range of cells that will contain the values you want to appear in the combobox.

    In the Properties list, select LinkedCell. Type in the address of the cell that you want to contain the value selected by the user in the combobox.

    Click on Design Mode again to turn it off, and you're ready to go.

    Edit: If you type in P, it won't show you all the values that start with P, just the first one. As you type more letters it will continue to show you the closest match. If you truly need to see an entire list that narrows as you type, then you need a custom VBA solution.
    Last edited by 6StringJazzer; 11-16-2011 at 09:22 AM. Reason: blue text added
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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