Way to use type ahead in a validation list?

teachman

Active Member
Joined
Aug 31, 2011
Messages
310
Hello,

I use a lot of lists in Data Validation. It gets tedious to bring up the list and scroll through until I find the one I want. Is there a way to use type ahead to select the choice without displaying the whole list?

Thanks,

George Teachman
 

Scott T

Well-known Member
Joined
Dec 14, 2016
Messages
2,586
Office Version
365, 2016
Platform
Windows
This video show how to type in part of a name and have the list update. It used the new dynamic arrays

https://youtu.be/Z-h2UER3b_0


If you do not have the new dynamic arrays then you will can use array formulas but you will have blank lines in the drop down.

NOTE: when you setup DV you will need to unclick the "Show error alert after invalid data is entered" under error alert tab so that the list can update.

ABCDEFG
1Annname6
2dv---->naBethname7
3Mikename8
4benname9
5Beckyname10
6name6name11
7name7name12
8name8
9name9
10name10
11name11
12name12

<COLGROUP><COL style="BACKGROUND-COLOR: rgb(218,231,245)"><COL><COL><COL><COL><COL><COL><COL></COLGROUP><THEAD>
</THEAD><TBODY>
</TBODY>
Sheet2

Array Formulas
CellFormula
G1{=IF(ROWS(G$1:G1)>SUM((ISNUMBER(SEARCH($B$2,$E$1:$E$12))+0)),"",INDEX($E$1:$E$12,SMALL(IF(ISNUMBER(SEARCH($B$2,$E$1:$E$12)),ROW($E$1:$E$12)-1+ROW($E$1)),ROWS(G$1:G1))))}

<THEAD>
</THEAD><TBODY>
</TBODY>
Entered with Ctrl+Shift+Enter. If entered correctly, Excel will surround with curly braces {}.
Note: Do not try and enter the {} manually yourself

<TBODY>
</TBODY>
 
Last edited:

Forum statistics

Threads
1,081,476
Messages
5,358,908
Members
400,514
Latest member
JoHio2577

Some videos you may like

This Week's Hot Topics

  • VBA (Userform)
    Hi All, I just would like to know why my code isn't working. Here is my VBA code: [CODE=vba]Private Sub OKButton_Click() Dim i As Integer...
  • List box that changes fill color
    Hello, I have gone through so many pages trying to figure this out. I have a 2020 calendar that depending on the day needs to have a certain...
  • Remove duplicates and retain one. Cross-linked cases
    Hi all I ran out of google keywords to use and still couldn't find a reference how to achieve the results of a single count. It would be great if...
  • VBA Copy and Paste With Duplicates
    Hello All, I'm in need of some input. My VBA skills are sub-par at best. I've assembled this code from basic research and it works but is...
  • Macro
    is it possible for a macro to run if the active cell value is different to the value above it
  • IF DATE and TIME
    I currently use this to check if date has passed but i also need to set a time on it too. Is it possible? [CODE=vba]=IF(B:B>TODAY(),"Not...
Top