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.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
- 495 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!