Forum Discussion
Advanced filter by DATE
One way is VBA, on each change of any cell in criteria range it updates the filter. I believe HansVogelaar could suggest you perfect variant if concrete sample exists.
Another way to refresh is to click on Advanced Filter button when Ok, it remembers your previous setting.
And if you are on Excel 365 you may use FILTER() function:
- Vince_Lunetta_1962Jul 21, 2021Copper Contributor
Thanks for your responsiveness. I laughed when you mentioned VARIANT in light of the COVID stuff.
Is $G$2 a variable that limits the lookup? If I type a month in that location, the filter 'runs' and returns all those in July. Is that correct?
- SergeiBaklanJul 21, 2021Diamond Contributor
In G2 is just month number for criteria formula, you may hardcode month number directly into formula.
If to copy into another sheet the workaround is here How to copy data to another worksheet with Advanced Filter in Excel? (extendoffice.com)