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

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
Your 1st formula is not valid. Do both columns have to match, or just one?
 
Upvote 0

Forum statistics

Threads
1,223,939
Messages
6,175,532
Members
452,652
Latest member
eduedu

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