Welcome to the Smartsheet Forum Archives


The posts in this forum are no longer monitored for accuracy and their content may no longer be current. If there's a discussion here that interests you and you'd like to find (or create) a more current version, pleaseVisit the Current Forums.

Roll-up distinct selections in dropdown to parent row

Is there a way to roll-up child dropdown selections to the parent row so that the selections show only once in the parent?

Example:

Dropdown contains: Red, Blue, Yellow

Child 1 selects Red

Child 2 selects Yellow

Child 3 selects Red

I found where I can use JOIN(Children()), but this will display Red, Yellow, Red in the parent.

I want to see only Red, Yellow

Is this possible?

Comments

  • Shaine Greenwood
    Shaine Greenwood Employee
    编辑的01/17/17

    I tested a formula out a bit and have pasted it below:

    =IF(COUNTIF(CHILDREN(), "Red") > 0, "Red") + " " + IF(COUNTIF(CHILDREN(), "Yellow") > 0, "Yellow") + " " + IF(COUNTIF(CHILDREN(), "Green") > 0, "Green")

    A few caveats on this:

    1. Don't copy and paste the formula in your sheet. (Some times the quotes and parens get messed up and Smartsheet can't read them if they're copied from somewhere like the Community site.)

    2. If you're using a symbol column, only one symbol can be displayed in the column at a time. With this formula, for example, you'll see the text string "Red Yellow" in the cell instead of a red symbol and a yellow symbol.

  • Christine Mick
    编辑的01/17/17

    That could get crazy with large dropdown lists. Prefer a solution that does not require I hard code the selections in the formula as I could potentially have 20-30 options to select from.

This discussion has been closed.
Try removing one of the closing parenthesis after the DATE function.<\/p>"},{"commentID":388644,"body":"

Thanks! That sorted it!😀<\/span><\/p>"}]}},"status":{"statusID":3,"name":"Accepted","state":"closed","recordType":"discussion","recordSubType":"question"},"bookmarked":false,"unread":false,"category":{"categoryID":322,"name":"Formulas and Functions","url":"https:\/\/community.smartsheet.com\/categories\/formulas-and-functions","allowedDiscussionTypes":[]},"reactions":[{"tagID":3,"urlcode":"Promote","name":"Promote","class":"Positive","hasReacted":false,"reactionValue":5,"count":0},{"tagID":5,"urlcode":"Insightful","name":"Insightful","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":11,"urlcode":"Up","name":"Vote Up","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":13,"urlcode":"Awesome","name":"Awesome","class":"Positive","hasReacted":false,"reactionValue":1,"count":0}],"tags":[]},{"discussionID":108430,"type":"question","name":"Any idea why apps are missing from apps and integrations?","excerpt":"I can see all the apps my user account has but my admin account just shows an image and tells me to access apps via Solutions Center, but since the recent update all that is listed are templates. Anyone else experiencing this? Perhaps an account level setting? Thanks","snippet":"I can see all the apps my user account has but my admin account just shows an image and tells me to access apps via Solutions Center, but since the recent update all that is…","categoryID":343,"dateInserted":"2023-08-02T16:55:13+00:00","dateUpdated":null,"dateLastComment":"2023-08-02T22:43:15+00:00","insertUserID":157976,"insertUser":{"userID":157976,"name":"scot tupper","url":"https:\/\/community.smartsheet.com\/profile\/scot%20tupper","photoUrl":"https:\/\/aws.smartsheet.com\/storageProxy\/image\/images\/u!1!BEDmARvGKWs!HZlnn1Ozkzs!BAzk9Ud4lRH","dateLastActive":"2023-08-02T22:39:04+00:00","banned":0,"punished":0,"private":false,"label":"✭✭"},"updateUserID":null,"lastUserID":157976,"lastUser":{"userID":157976,"name":"scot tupper","url":"https:\/\/community.smartsheet.com\/profile\/scot%20tupper","photoUrl":"https:\/\/aws.smartsheet.com\/storageProxy\/image\/images\/u!1!BEDmARvGKWs!HZlnn1Ozkzs!BAzk9Ud4lRH","dateLastActive":"2023-08-02T22:39:04+00:00","banned":0,"punished":0,"private":false,"label":"✭✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":2,"countViews":20,"score":null,"hot":3382012708,"url":"https:\/\/community.smartsheet.com\/discussion\/108430\/any-idea-why-apps-are-missing-from-apps-and-integrations","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/108430\/any-idea-why-apps-are-missing-from-apps-and-integrations","format":"Rich","lastPost":{"discussionID":108430,"commentID":388617,"name":"Re: Any idea why apps are missing from apps and integrations?","url":"https:\/\/community.smartsheet.com\/discussion\/comment\/388617#Comment_388617","dateInserted":"2023-08-02T22:43:15+00:00","insertUserID":157976,"insertUser":{"userID":157976,"name":"scot tupper","url":"https:\/\/community.smartsheet.com\/profile\/scot%20tupper","photoUrl":"https:\/\/aws.smartsheet.com\/storageProxy\/image\/images\/u!1!BEDmARvGKWs!HZlnn1Ozkzs!BAzk9Ud4lRH","dateLastActive":"2023-08-02T22:39:04+00:00","banned":0,"punished":0,"private":false,"label":"✭✭"}},"breadcrumbs":[{"name":"Home","url":"https:\/\/community.smartsheet.com\/"},{"name":"Get Help","url":"https:\/\/community.smartsheet.com\/categories\/get-help"},{"name":"Add Ons and Integrations","url":"https:\/\/community.smartsheet.com\/categories\/apps-and-integrations"}],"groupID":null,"statusID":3,"attributes":{"question":{"status":"accepted","dateAccepted":"2023-08-03T09:09:23+00:00","dateAnswered":"2023-08-02T22:43:15+00:00","acceptedAnswers":[{"commentID":388617,"body":"

disregard. support reminded me you initiate the connection to the app from the app, then it appears in the list of apps in smartsheet.<\/p>"}]}},"status":{"statusID":3,"name":"Accepted","state":"closed","recordType":"discussion","recordSubType":"question"},"bookmarked":false,"unread":false,"category":{"categoryID":343,"name":"Add Ons and Integrations","url":"https:\/\/community.smartsheet.com\/categories\/apps-and-integrations","allowedDiscussionTypes":["discussion","question"]},"reactions":[{"tagID":3,"urlcode":"Promote","name":"Promote","class":"Positive","hasReacted":false,"reactionValue":5,"count":0},{"tagID":5,"urlcode":"Insightful","name":"Insightful","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":11,"urlcode":"Up","name":"Vote Up","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":13,"urlcode":"Awesome","name":"Awesome","class":"Positive","hasReacted":false,"reactionValue":1,"count":0}],"tags":[]},{"discussionID":108438,"type":"question","name":"NETWORKDAYS WITH AN IF??","excerpt":"Can anyone help with a formula to track the number of days between 2 separate columns with the IF of stopping the count once a date is populated in one of those columns?","snippet":"Can anyone help with a formula to track the number of days between 2 separate columns with the IF of stopping the count once a date is populated in one of those columns?","categoryID":322,"dateInserted":"2023-08-02T19:37:00+00:00","dateUpdated":null,"dateLastComment":"2023-08-02T20:11:28+00:00","insertUserID":164426,"insertUser":{"userID":164426,"name":"JT_22002","url":"https:\/\/community.smartsheet.com\/profile\/JT_22002","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2023-08-03T11:32:53+00:00","banned":0,"punished":0,"private":false,"label":"✭"},"updateUserID":null,"lastUserID":161714,"lastUser":{"userID":161714,"name":"Carson Penticuff","url":"https:\/\/community.smartsheet.com\/profile\/Carson%20Penticuff","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/userpics\/B0Q390EZX8XK\/nBGT0U1689CN6.jpg","dateLastActive":"2023-08-03T12:32:35+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":1,"countViews":18,"score":null,"hot":3382012708,"url":"https:\/\/community.smartsheet.com\/discussion\/108438\/networkdays-with-an-if","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/108438\/networkdays-with-an-if","format":"Rich","tagIDs":[254],"lastPost":{"discussionID":108438,"commentID":388600,"name":"Re: NETWORKDAYS WITH AN IF??","url":"https:\/\/community.smartsheet.com\/discussion\/comment\/388600#Comment_388600","dateInserted":"2023-08-02T20:11:28+00:00","insertUserID":161714,"insertUser":{"userID":161714,"name":"Carson Penticuff","url":"https:\/\/community.smartsheet.com\/profile\/Carson%20Penticuff","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/userpics\/B0Q390EZX8XK\/nBGT0U1689CN6.jpg","dateLastActive":"2023-08-03T12:32:35+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭"}},"breadcrumbs":[{"name":"Home","url":"https:\/\/community.smartsheet.com\/"},{"name":"Get Help","url":"https:\/\/community.smartsheet.com\/categories\/get-help"},{"name":"Formulas and Functions","url":"https:\/\/community.smartsheet.com\/categories\/formulas-and-functions"}],"groupID":null,"statusID":3,"attributes":{"question":{"status":"accepted","dateAccepted":"2023-08-03T11:34:23+00:00","dateAnswered":"2023-08-02T20:11:28+00:00","acceptedAnswers":[{"commentID":388600,"body":"

I'm not sure I understand the goal. If you want to see the days between two column, you will need to already have a date in each of those columns. This seems to contradict stopping the count once one of the columns is populated. Can you provide more detail, or maybe a screenshot\/mockup of what you are looking for?<\/p>"}]}},"status":{"statusID":3,"name":"Accepted","state":"closed","recordType":"discussion","recordSubType":"question"},"bookmarked":false,"unread":false,"category":{"categoryID":322,"name":"Formulas and Functions","url":"https:\/\/community.smartsheet.com\/categories\/formulas-and-functions","allowedDiscussionTypes":[]},"reactions":[{"tagID":3,"urlcode":"Promote","name":"Promote","class":"Positive","hasReacted":false,"reactionValue":5,"count":0},{"tagID":5,"urlcode":"Insightful","name":"Insightful","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":11,"urlcode":"Up","name":"Vote Up","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":13,"urlcode":"Awesome","name":"Awesome","class":"Positive","hasReacted":false,"reactionValue":1,"count":0}],"tags":[{"tagID":254,"urlcode":"Formulas","name":"Formulas"}]}],"initialPaging":{"nextURL":"https:\/\/community.smartsheet.com\/api\/v2\/discussions?page=2&includeChildCategories=1&type%5B0%5D=Question&excludeHiddenCategories=1&siteSectionID=0&sort=-hot&limit=3&expand%5B0%5D=all&expand%5B1%5D=-body&expand%5B2%5D=insertUser&expand%5B3%5D=lastUser&status=accepted","prevURL":null,"currentPage":1,"total":10000,"limit":3},"title":"Trending Posts","subtitle":null,"description":null,"noCheckboxes":true,"containerOptions":[],"discussionOptions":[]}">

Trending Posts