Help with filter combined with 3 indirects

malaki1974

New Member
Joined
Feb 14, 2006
Messages
46
Hello, I have a working filter that looks like this:
Excel Formula:
=filter('2022'!A:E,('2022'!D:D=B1),('2022'!C:C=C1))

I tried converting to also use indirect so that I could make a filter that I could change with a dropdown with matching years for tab names.
Excel Formula:
=filter(INDIRECT("'"&B5&"'!A:E"),indirect("'"&B5&"'!D:D=C1"),indirect("'"&B5&"'!C:C=D1"))

I am not able to figure out the formatting for adding indirects to this.

Can anyone assist?


Bonus: I need the filters to work if some of them are blank also
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
Your 1st formula is not valid. Do both columns have to match, or just one?
 
Upvote 0

Forum statistics

Threads
1,225,740
Messages
6,186,759
Members
453,370
Latest member
juliewar

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top