Filter Function: I would like to supply a range into the include argument.. possible??

MartyCollins

New Member
Joined
Jan 21, 2022
Messages
38
Office Version
  1. 365
Platform
  1. Windows
Hi all,
I have a problem where i would like to return from a data table a list of parts that are used in several BOMs.
However i would like the include argument to take a splilled array as an input.. is this possible?
I know how to use AND/OR logic in Filter but this is a little different in that i want a dynamic list as the input.

FILTER(Data[Bill Item Name],Data[Component Name]=G27#) .. i was hoping this would work but it doesnt.. it works fine if G27 is "G27" only but then i have to drag down..

Thank you,
Martin.
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
How about
Excel Formula:
=FILTER(Data[Bill Item Name],ISNUMBER(MATCH(Data[Component Name],G27#,0)))
 
Last edited:
Upvote 0
Solution
Oops, there is a stray = sign in the formula, remove it.
 
Upvote 0
You're welcome & thanks for the feedback.

I have corrected the formula in post#2 & changed that to the solution.
 
Upvote 0

Forum statistics

Threads
1,213,479
Messages
6,113,897
Members
448,530
Latest member
yatong2008

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