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

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
Your 1st formula is not valid. Do both columns have to match, or just one?
 
Upvote 0

Forum statistics

Threads
1,226,739
Messages
6,192,739
Members
453,754
Latest member
milestogo

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