Multiselect values being treated as one group instead of separate values.
I have a join(collect) formula set up to look for a matching value and to return all of the test names that the restaurant (matching value) is running. That test name can have multiple restaurants selected in a multi-select dropdown column.
When I have one restaurant selected, this formula works great. When there is more than one restaurant selected, the formula doesn't return anything. I know this is due to the way the values are being treated but is there a way around this?
Best Answer
-
Try this:
=JOIN(COLLECT({2024 Test Markets Range 1}, {2024 Test Markets Range 3}, HAS(@cell, [Restaurant Number]1)), ", ")
Answers
-
You will need to incorporate the HAS function to get it to evaluate the multi-select options as individual selections.
-
This is the formula, do you have a suggestion on where?
=JOIN(COLLECT({2024 Test Markets Range 1}, {2024 Test Markets Range 3}, {2024 Test Markets Range 3} = [Restaurant Number]1), ", ")
I was thinking doing it this way but I get an error. This makes the most sense, to me, out of all the ways I've tried:
=JOIN(COLLECT({2024 Test Markets Range 1}, {2024 Test Markets Range 3}, =HAS({2024 Test Markets Range 3} = [Restaurant Number]1, [Restaurant Number]1), ", "))
-
Try this:
=JOIN(COLLECT({2024 Test Markets Range 1}, {2024 Test Markets Range 3}, HAS(@cell, [Restaurant Number]1)), ", ")
-
Saved me a lot of time, thank you Paul!
-
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
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!