Assistance Needed: JOIN and COLLECT Formula Returning Blank Values or Duplicates
Best Answer
-
Hey @MazU
The DISTINCT function will eliminate your duplicates
=JOIN(DISTINCT(COLLECT({Building Database Range 3}, {Building Database Range 4}, CONTAINS(@cell, [Site Name]@row))), ",")
Kelly
Answers
-
@Paul Newcome Hope you're well Paul
I tried using your formula but the values is blank
i tried it with contains but keep getting dupes (see second screenshot)
=JOIN(COLLECT({Building Database Range 3}, {Building Database Range 4}, CONTAINS(@cell, [Site Name]@row)), ",")
please can you assist me
-
Hey @MazU
The DISTINCT function will eliminate your duplicates
=JOIN(DISTINCT(COLLECT({Building Database Range 3}, {Building Database Range 4}, CONTAINS(@cell, [Site Name]@row))), ",")
Kelly
-
@Kelly Moore Thank you very much! Not sure why i didn't think of the Distinct function but it seems to be working like a charm.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65.5K Get Help
- 448 Global Discussions
- 145 Industry Talk
- 481 Announcements
- 5.1K Ideas & Feature Requests
- 85 Brandfolder
- 152 Just for fun
- 73 Community Job Board
- 492 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 304 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!