Search code examples
vbaexcelfilteringdynamic-typing

Filter while typing in a cell


Would that be possible to dynamically filter rows based on a value that I type in a cell? Suppose I have a column-range with data A10:A1000 and I filter that range on criteria I am typing in A1 cell.

I want the filter to react dynamically, in a run time, as I am typing, not after I hit [Enter]. I found a solution for that with a text box. http://www.vbforums.com/showthread.php?647621-Excel-filtering-while-typing

However, preferably, I would like to do typing in a cell not in some text box. Is it possible?


Solution

  • I ended up using the solution based on pivot tables. It filters hundreds of items on the file, narrowing results after typing each letter. What is more, it allows to select multiple items.

    I put the item list to page filter of the pivot table. You can hide the entire rows below the page filter for aesthetics so it does not even look like a pivot table, but just a cell for type/drop-down selection of the value.

    enter image description here