INDEX/MATCH when the MATCH is a multi-select drop down column.
Hello! I have set up an Index/Match for the Secondary ID to be matched to the Sites Under Consideration. This works for the rows where there is only 1 selection in the Sites Under Consideration column. It gives a #No Match error for the rows with multiple Sites selected. I would like it to work and list all the secondary ids for each site(Key ID). Any help figuring this out is appreciated!
Best Answer
-
You would need a JOIN/COLLECT instead.
=JOIN(COLLECT({Secondary ID}, {KEY ID}, HAS([Sites Under Consideration]@row, @cell)), CHAR(10))
If that doesn't work right off. You may need to switch around the HAS function. I can never remember off the top of my head which way it needs to go for this one.
HAS(@cell, [Sites Under Consideration]@row)
Answers
-
You would need a JOIN/COLLECT instead.
=JOIN(COLLECT({Secondary ID}, {KEY ID}, HAS([Sites Under Consideration]@row, @cell)), CHAR(10))
If that doesn't work right off. You may need to switch around the HAS function. I can never remember off the top of my head which way it needs to go for this one.
HAS(@cell, [Sites Under Consideration]@row)
-
@Paul Newcome Thank you! The first one worked perfectly!
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.5K Get Help
- 430 Global Discussions
- 136 Industry Talk
- 465 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 146 Just for fun
- 63 Community Job Board
- 466 Show & Tell
- 32 Member Spotlight
- 2 SmartStories
- 301 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!