Hi Experts,
As you are aware we cannot filter more than two and/or criteria using custom auto filter.
I have a scenario where I have to filter entire data (kept in “Data” sheet) for column C “Country” based on 6 different and/or criteria. The attached file is my working template and has a fake data in it, my real data has long sentences in each cell (In Column C) and each time I have to filter data based on texts that “contains” (part of) in that sentence.
I did some research and found out that if I create a criteria range and use advanced filter I could achieve the results. You would see that in the “Input” sheet I have created a bunch of combo box and option buttons to define a criteria range that advanced filter could use. So when you enter the texts in the combo boxes and choose and/or you would see that the criteria table on the right is prepared for advanced filter.
I have also recorded a macro to apply advanced filter however the results are not coming right – If you run Macro1 nothing gets filtered. I am not sure what is the problem. I need help with a code that could filter the table in “Data” sheet (Or in the “Filtered Data”) with the criteria set in “Input” sheet. I had used the wildcards to catch a text that contains in the cell however it doesn’t seem to work.
I apologize if this is silly question, I have very basic knowledge of VBA. I really appreciate your help and time.
P.S – How do I make the tab order more efficient? So that user do not have to click on each box to enter the details.
Best,
Bunty
Bookmarks