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
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(), <>"")), ", ")
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
Excellent, Thanks Paul
Happy to help. 👍️
@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")), " ; ")
ref must be one of: categoryID, siteSectionID, category, category/categoryID, category/name, category/description, category/url, category/allowedDiscussionTypes, locale, siteSection, siteSection/basePath, siteSection/contentLocale, siteSection/sectionGroup, siteSection/sectionID, siteSection/name, siteSection/description, siteSection/apps, siteSection/attributes, layoutViewType, discussionID, commentID, page, latest, sort, sortType, lookupSort, discussion, discussion/name, tags, breadcrumbs, discussionApiParams, serverDraftID, serverDraft.