Join & Collect Children: 1 Occurrence
Smartsheet Community:
How can I modify this formula where it only Collect 1 Child Occurrence?
Existing Formula: =JOIN(COLLECT(CHILDREN(), CHILDREN(), <>""), ", ")
Children: Chrome, Chrome, Firefox, Safari, Safari
Thanks
Best Answer
-
That is because you have the delimiter set as part of the DISTINCT function. If we shift one of the closing parenthesis from the end, it should resolve the issue.
=JOIN(DISTINCT(COLLECT(CHILDREN(), CHILDREN(), <>"")), ", ")
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
Answers
-
You need to use Distinct formula:
 =JOIN(DISTINCT(COLLECT(CHILDREN(), CHILDREN(), <>""), ", "))
-
Formula Works, but No Commas between the browsers.
Results: SafariChromeFirefoxEdge,
-
@Paul Newcome You have any thoughts on how I can Accomplish this? I tried different variation of the formulas but unsuccessful. The Problem is that I have no Commas between the Different Browsers.
Current Formula: Â =JOIN(DISTINCT(COLLECT(CHILDREN(), CHILDREN(), <>""), ", "))
Results: SafariChromeFirefoxEdge
Thanks Paul & Alon
-
That is because you have the delimiter set as part of the DISTINCT function. If we shift one of the closing parenthesis from the end, it should resolve the issue.
=JOIN(DISTINCT(COLLECT(CHILDREN(), CHILDREN(), <>"")), ", ")
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
-
Excellent, Thanks Paul
-
Happy to help. 👍️
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
-
@Paul Newcome - I have a similar question. I have the following columns and children (the Blue row is the parent).
In the parent Workflow column I have: =JOIN(CHILDREN(), " ; ")
How can I change the formula so that if the Status for a child row = N/A, that it will not be included in the Join results?
I have tried =JOIN(DISTINCT(COLLECT(CHILDREN(), CHILDREN(), Status@row <> "N/A")), " ; ") but I still get all of the children listed.
Thank you!
Jennifer
-
@JSpears It looks like your syntax may be just a little off...
=JOIN(DISTINCT(COLLECT(CHILDREN(), CHILDREN(Status@row), @cell <> "N/A")), " ; ")
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.9K Get Help
- 379 Global Discussions
- 210 Industry Talk
- 441 Announcements
- 4.5K Ideas & Feature Requests
- 139 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 300 Events
- 33 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!