Match an item in a column with cells containing multiple items and return a value

Hi,
Here is a brief description of the scenario.
There's a source file (Source) with a column (Item Group) having a variable number of items listed (possibly as multiple values column) and another column with specific values (Serial) for each row (or item group). Each item is listed only in one item group.
In another file - Database - there are all the items listed in a column (Items all) and I would like to pull the Serial data from the source file if the item is matched in the cell Item Group of the source file.
What's an efficient formula for that?
Answers
-
-
Here is an example of sheets that represent my case.
This is my source file, where I have multiple serial codes clustered in a cell. I have flexibility in changing how to insert them (separated by a comma or as multiple values).
Then I have my dashboard where I have all my item serials listed one per row. In the category (or price) column, I would like to have a formula that matches the item in the source file and completes it with the corresponding info.
Thanks for your help.
-
Give something like this a try... Change the Serial# column in the source sheet to be a multi-select dropdown then use this formula in the destination sheet:
=INDEX(COLLECT({Source Sheet Category Column}, {Source Sheet Serial# Column}, HAS([Item Serial]@row, @cell)), 1)
If that
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.9K Get Help
- 474 Global Discussions
- 208 Use Cases
- 517 Announcements
- 5.6K Ideas & Feature Requests
- 87 Brandfolder
- 157 Just for fun
- 84 Community Job Board
- 521 Show & Tell
- 36 Member Spotlight
- 3 SmartStories
- 309 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!