Filter based on multiple criteria separated by commas

  • Hi,


    I have two existing codes that:


    1) Filters based on multiple criteria (keyed into 'Raw' tab, B3 to F3)
    2) One of the criteria is a dropdown data validation list, which i have used a code to enable multiple selections (see attached file 'Raw' tab, cell D3)


    The issue is that the filter does not work when D3 uses multiple criteria, as excel does not recognize the commas as separate criteria. Is there a way to modify my Filtering macro such that i can overcome this issue?


    It's possible that I may be selecting multiple options in the D3 dropdown and not just 2 values.


    Thanks!

  • Re: Filter based on multiple criteria separated by commas


    Try this.

  • Re: Filter based on multiple criteria separated by commas


    Hmm sorry but it does not seem to work when i replaced the FilterMe code with the above. The filter still produces no results when run with multiple criteria in cell D3/L3 :(

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!