I've found lots online about how to use the advanced filter with multiple criteria, but I am running into a bit of a problem. I am able to get my advanced filter working correctly when I use just one AND filter, but I cannot get my OR filter to work properly.
I have three fields: Group, Date, Status
Status can be open or closed. I want my advanced filter to be able to sort by all 3 fields together or sort by Status only, i.e. ALL open or ALL closed (Group and Date fields would be blank). I am using a dropdown box with a named range to allow the user to make their selection. I am using two lines in my advanced filter for this OR operation. I can get my filter to do either one of these scenarios correctly, but not both together. Is there a way to fix this? Can excel do what I am asking? I assume it can.
Do I need to make two separate filters to get this functionality or is just one filter enough? I am using a command button to allow the user to apply the filter. So if I need two separate filters, then I would need an additional button, which I am hoping to avoid.
I have three fields: Group, Date, Status
Status can be open or closed. I want my advanced filter to be able to sort by all 3 fields together or sort by Status only, i.e. ALL open or ALL closed (Group and Date fields would be blank). I am using a dropdown box with a named range to allow the user to make their selection. I am using two lines in my advanced filter for this OR operation. I can get my filter to do either one of these scenarios correctly, but not both together. Is there a way to fix this? Can excel do what I am asking? I assume it can.
Do I need to make two separate filters to get this functionality or is just one filter enough? I am using a command button to allow the user to apply the filter. So if I need two separate filters, then I would need an additional button, which I am hoping to avoid.
Last edited: