INDEX() MATCH() Formula with some cells containing multiples items?
I am cross-referencing sheets to auto-populate the [Assigned To - Organisation] column in the {Action Tracker} sheet. I utilise the values in the [Assigned To - Individual] column to extract the Organisation from the {Project Directory[Organisation]} sheet/column. I have achieved this using INDEX, MATCH formula, see below,
=INDEX({Project Directory[Organisation]}, MATCH([Assigned To - Individual]@row, {Project Directory Range 1}, 0)). Which works fine when there is only one item within the email cell.
However, when one cell in the [Assigned To - Individual] contains two individuals' email addresses, I would require extracting these people's organizations and joint their results in the respective [Assigned To - Organisation] cell.
So far, the formula I figure out within my novice capabilities looks like this;
=JOIN(INDEX({Project Directory[Organisation]}, MATCH(CONTAINS([Assigned To - Individual]@row, {Project Directory Range 1}), 0)))
But the result in the [Assigned To - Organisation] column is #NOT MATCH
Thank you very much in advance for those taking the time to help me with this.
Best Answer
-
Try it this way:
=JOIN(COLLECT({Project Directory[Organisation]},{Project Directory Range 1},HAS([Assigned To - Individual]@row, @cell))," / ")
Answers
-
I think you are looking for something like the below:
=JOIN(COLLECT({Project Directory[Organisation]},{Project Directory Range 1},HAS(@cell,[Assigned To - Individual]@row))," / ")
-
Hi Leibel Shuchat,
Your response is highly appreciated.
I used your formula, which returns the right organisations, but again only over those cells with only one individual. In the case of those cells with multiples email addresses, the cell remains blank.
Would this response light you on any idea what might be missing here?
Cheers.
-
Try it this way:
=JOIN(COLLECT({Project Directory[Organisation]},{Project Directory Range 1},HAS([Assigned To - Individual]@row, @cell))," / ")
-
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.4K Get Help
- 364 Global Discussions
- 200 Industry Talk
- 430 Announcements
- 4.4K Ideas & Feature Requests
- 137 Brandfolder
- 129 Just for fun
- 128 Community Job Board
- 446 Show & Tell
- 28 Member Spotlight
- 1 SmartStories
- 284 Events
- 35 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!