Excel Drop Down List - typing first letter selects matching names in the Lookup range

%3CLINGO-SUB%20id%3D%22lingo-sub-1979352%22%20slang%3D%22en-US%22%3EExcel%20Drop%20Down%20List%20-%20typing%20first%20letter%20selects%20matching%20names%20in%20the%20Lookup%20range%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1979352%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20created%20a%20simple%20Dropdown%20List%20in%20an%20input%20cell%20in%20spreadsheet%201%20of%20a%20workbook%20that%20references%20a%20lookup%20range%20on%20spreadsheet%202%20within%20the%20same%20workbook.%26nbsp%3B%20This%20is%20to%20ensure%20correct%20data%20validation%20of%20the%20cell%20entry%20in%20spreadsheet%201.%26nbsp%3B%20So%20far%2C%20standard%20dropdown%20list%20stuff%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIt's%20a%20long%20list%20so%20rather%20than%20having%20to%20scroll%20up%2Fdown%20to%20find%20the%20input%20entry%20from%20the%20list%2C%20clicking%20to%20select%20and%20moving%20on%2C%26nbsp%3B%20I%20want%20to%20start%20typing%20the%20first%20few%20letters%20of%20the%20LookUp%20range%20item%20in%20spreadsheet%201%20input%20cell.%26nbsp%3B%20Once%20the%20correct%20value%20appears%20then%20ENTER%20or%20TAB%20to%20the%20next%20input%20cell%2C%20so%20that%20the%20correct%20input%20is%20always%20entered.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eeg%3A%20Start%20typing%20%22%3CEM%3Edo%3C%2FEM%3E%22%20in%20the%20input%20cell%20in%20spreadsheet%201%20and%26nbsp%3B%20%22Dover%2C%20Doncaster...%22%20appears%20as%20input%20options%20drawn%20from%20the%20lookup%20range%20in%20spreadsheet%202.%26nbsp%3B%20I%20can%20then%20click%20select%20the%20correct%20input%20option%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHow%20do%20I%20do%20this%20without%20complicated%20and%20buggy%20VBA%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1979352%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1979917%22%20slang%3D%22en-US%22%3ERe%3A%20Excel%20Drop%20Down%20List%20-%20typing%20first%20letter%20selects%20matching%20names%20in%20the%20Lookup%20range%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1979917%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F898796%22%20target%3D%22_blank%22%3E%40PhilbyUK%3C%2FA%3E%26nbsp%3BGoogle%20for%20%22searchable%20dropdown%20excel%22%20and%20you'll%20find%20plenty%20of%20resources%20that%20could%20help%20you%20achieve%20what%20you%20need.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1980261%22%20slang%3D%22en-US%22%3ERe%3A%20Excel%20Drop%20Down%20List%20-%20typing%20first%20letter%20selects%20matching%20names%20in%20the%20Lookup%20range%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1980261%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F898796%22%20target%3D%22_blank%22%3E%40PhilbyUK%3C%2FA%3E%26nbsp%3B%20as%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F403176%22%20target%3D%22_blank%22%3E%40Riny_van_Eekelen%3C%2FA%3E%26nbsp%3Bmentioned%20you%20can%20google%20search%20and%20many%20options%20will%20come%20up.%26nbsp%3B%20Here%20is%20one%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fwww.xelplus.com%2Fsearchable-drop-down-list%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ehttps%3A%2F%2Fwww.xelplus.com%2Fsearchable-drop-down-list%2F%26nbsp%3B%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EA%20couple%20things%20to%20note.%26nbsp%3B%3C%2FP%3E%3CP%3EA)%20basically%20all%20you%20are%20doing%20is%20referring%20to%20a%20list%20that%20is%20basically%20a%20'helper'%20list%20(a%20helper%20column%20that%20creates%20a%20filtered%20version%20of%20the%20original%20list)%20that%20is%20filtered%20based%20on%20the%20value%20in%20the%20cell%20you%20are%20entering.%26nbsp%3B%20So%20actual%20list%20in%20col%20A%20then%20in%20col%20B%20you%20have%20something%20like%20Filter(A%3AA%2C%20isnumber(search(C1%2C%20A%3AA)))%20and%20then%20the%20drop%20down%20in%20cell%20C1%20is%20based%20on%20col%20B.%26nbsp%3B%20This%20example%20and%20the%20link%20are%20relying%20on%20the%20new%20FILTER()%20function.%26nbsp%3B%20Without%20that%20function%20it%20gets%20more%20complicated.%26nbsp%3B%20Also%2C%20using%20SEARCH%20will%20filter%20the%20list%20with%20matches%20anywhere%20in%20the%20word%20i.e.%20your%20'do'%20example%20would%20also%20show%20%22Andover%22%20and%20%22Zanador%22.%26nbsp%3B%20If%20you%20do%20NOT%20want%20that%20feature%20you%20can%20tweak%20the%20FILTER%20condition%20to%20use%20something%20like%20LEFT(A%3AA%2CLEN(C1))%3DC1%26nbsp%3B%3C%2FP%3E%3CP%3EB)%20because%20you%20must%20let%20the%20user%20enter%20a%20character%20or%202%20you%20can't%20force%20the%20input%20to%20ONLY%20be%20in%20the%20list.%26nbsp%3B%20So%20although%20it%20helps%20and%20encourages%20the%20user%20to%20pick%20valid%20values%20from%20the%20list%20they%20could%20type%20something%20else%3C%2FP%3E%3CP%3EC)%20I%20have%20seen%20comments%20in%20threads%20that%20on%20a%20Mac%20it%20requires%20the%20user%20to%20hit%20ENTER%2FTAB%2Fetc%20before%20the%20drop%20down%20list%20is%20updated%20so%20they%20type%2C%20hit%20enter%2C%20then%20go%20back%20and%20click%20on%20the%20drop%20down.%3C%2FP%3E%3CP%3ED)%20I%20have%20also%20seen%20a%20comment%20that%20there%20might%20be%20issues%20if%20you%20have%20the%20helper%20(filtered)%20list%20on%20a%20different%20sheet%20than%20the%20drop%20down%20so%20you%20might%20need%20or%20want%20to%20'hide'%20it%20in%20a%20hidden%20column%20on%20that%20sheet.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ehope%20that%20all%20helps.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Visitor

I have created a simple Dropdown List in an input cell in spreadsheet 1 of a workbook that references a lookup range on spreadsheet 2 within the same workbook.  This is to ensure correct data validation of the cell entry in spreadsheet 1.  So far, standard dropdown list stuff

 

It's a long list so rather than having to scroll up/down to find the input entry from the list, clicking to select and moving on,  I want to start typing the first few letters of the LookUp range item in spreadsheet 1 input cell.  Once the correct value appears then ENTER or TAB to the next input cell, so that the correct input is always entered.

 

eg: Start typing "do" in the input cell in spreadsheet 1 and  "Dover, Doncaster..." appears as input options drawn from the lookup range in spreadsheet 2.  I can then click select the correct input option

 

How do I do this without complicated and buggy VBA?

 

 

3 Replies

@PhilbyUK Google for "searchable dropdown excel" and you'll find plenty of resources that could help you achieve what you need.

@PhilbyUK  as @Riny_van_Eekelen mentioned you can google search and many options will come up.  Here is one: https://www.xelplus.com/searchable-drop-down-list/  

A couple things to note. 

A) basically all you are doing is referring to a list that is basically a 'helper' list (a helper column that creates a filtered version of the original list) that is filtered based on the value in the cell you are entering.  So actual list in col A then in col B you have something like Filter(A:A, isnumber(search(C1, A:A))) and then the drop down in cell C1 is based on col B.  This example and the link are relying on the new FILTER() function.  Without that function it gets more complicated.  Also, using SEARCH will filter the list with matches anywhere in the word i.e. your 'do' example would also show "Andover" and "Zanador".  If you do NOT want that feature you can tweak the FILTER condition to use something like LEFT(A:A,LEN(C1))=C1 

B) because you must let the user enter a character or 2 you can't force the input to ONLY be in the list.  So although it helps and encourages the user to pick valid values from the list they could type something else

C) I have seen comments in threads that on a Mac it requires the user to hit ENTER/TAB/etc before the drop down list is updated so they type, hit enter, then go back and click on the drop down.

D) I have also seen a comment that there might be issues if you have the helper (filtered) list on a different sheet than the drop down so you might need or want to 'hide' it in a hidden column on that sheet.

 

hope that all helps.