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