Forum Discussion
filter a table based on a list [UPDATED]
Would it be OK to return the filtered records to another range?
- HansVogelaarDec 14, 2022MVP
If you have Microsoft 365 or Office 2021, the formula would be
=FILTER(A2:Z6,ISNUMBER(MATCH(A2:A6,A9:A11,0)))
You only need to enter this in one cell; it will spill to as many rows and columns as needed.
- JC ReardonDec 14, 2022Brass ContributorThat's what I'm looking for, beautiful! Now to see if all my coworkers have UTD versions of Office...
- Patrick2788Dec 14, 2022Silver Contributor
Attached are the filter in place solutions. The TAKE workbook is for 365 and the OFFSET for legacy. Looks like you have some good options from everyone.
- Patrick2788Dec 14, 2022Silver ContributorYou could use the provided solution in conditional formatting and then filter by color. The helper column wouldn't be needed.
- JC ReardonDec 14, 2022Brass Contributor
Also a good idea. Is there a way to allow a conditional statement like that dynamically adjust for a shorter or longer list?
A formula that relatively references each list item would solve that issue, but the best I can think of is a VLOOKUP, but that's just going to return one data value per record, when I want to get all of them.