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
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 08:22 AM. Reason: blue text added
Making the world a better place one fret at a time
||||||
If someone helped you, please click on the star icon at the bottom of their post
If your problem is solved, please update the first post:
EDIT, Go Advanced button, set Prefix to SOLVED
[code]
' Enclose code in tags like this
[/code]
Don't attach a screenshot--just attach your Excel file! It's easier and will let us experiment with your data, formulas, and code.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks