Return all rows that match any names in a master list
Hi! I have been trying to return set of rows from a data set (separate sheet) with one of the columns (Action Owners) being the criteria range. However, the criteria is not just one value, but I want it such that if the name in Action Owner matches any name my "master list" of names (separate sheet), it will return those rows.
Will make it easier to add/change names in future, compared to using the filter functionality of reports.
Please help!
I have tried to use INDEX and COLLECTS but I know something is missing because it does not iterate through my list of names:
=INDEX(COLLECT({Data set Range}, {Action Owners Range}, CONTAINS({Team Members}, @cell)), 1)
Answers
-
Try a JOIN function instead of an INDEX function.
-
Hi @Paul Newcome thanks for the suggestion.
Even if I change to JOIN instead of INDEX, I have a problem that I am unable to iterate through my master list (in bold). I know that CONTAINS doesn't quite do the job but I can think of any other way to go about it.
=INDEX(COLLECT({Data set Range}, {Action Owners Range}, CONTAINS({Team Members}, @cell)), 1)
-
Are you able to provide some screenshots for reference?
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!