Needing some help with my current smartsheet project
So I'm coming across some issues with my workflows and functions with my current sheet, and I'm hoping somebody could help me out because I'm stumped.
There are boxes I have set up on children rows that get checked manually to confirm a certain portion of the Main Task is complete.
I'm currently in search of a way I can get a box checked on the parent row when the corresponding box is checked on the child row.
Because there are so many tiny tasks that go along to fit the main goal of the projects we do I would like to be able to have this information all accessible on the parent row. That way I can keep track of the progress on these jobs.
I have tried using the function on the entire column, but it automatically becomes invalid once I manually check the box.
I'm wondering if there is a way I can reference the children rows, but from a separate column, and if there is, what the base of that function would look like?
I'm open to any suggestions
Best Answer
-
Darren Mullen ✭✭✭✭✭✭
@SarahIYes you can do that just use CHILDREN([COLUMN NAME])
Darren Mullen "Smartsheet Guru", Member,Smart Consulting Services LLC
Get my7 Smartsheet tips here
Author of:Smartsheet Architecture Solutions
Answers
-
Paul Newcome ✭✭✭✭✭✭
You would use
CHILDREN([Column Name]@row)
to reference the child rows in another column.
-
Darren Mullen ✭✭✭✭✭✭
@SarahIYes you can do that just use CHILDREN([COLUMN NAME])
Darren Mullen "Smartsheet Guru", Member,Smart Consulting Services LLC
Get my7 Smartsheet tips here
Author of:Smartsheet Architecture Solutions
-
SarahI ✭
=IF(COUNTIF(CHILDREN([Meter (Helper)]@row), 1) > 0, 1, 0)
Heres the formula I got to work Thanks!
-
Paul Newcome ✭✭✭✭✭✭
@Darren MullenDon't forget the row indicator within the CHILDREN function.
-
SarahI ✭
@Paul NewcomeI think I might change it a little bit and have it shown as dates instead.
The child rows get a date in the [helper column] when [Service Type] and [Status] are specific inputs.
From there I just want that same date to show up in a separate column along the parent row
I really appreciate the help
-
Paul Newcome ✭✭✭✭✭✭
@SarahIThe exact formula would depend on the structure and workflow. Could there be multiple different dates within the child rows for a single parent? If so, how would you determine which one to pull? Are you able to provide screenshots for context?
-
SarahI ✭
Sorry if this is kind of confusing, I'm in the progress of organizing this.
Sometimes the value isn't a date, (I put NA) when I'm unsure or it doesn't matter.
It is possible that there may be more than one value in the child rows, but technically with the way I have been running it there shouldn't be and it would be an accident on my end.
I basically just want it to completely copy whatever value is in the child row that's not blank at a corresponding column, if there is more than one child row that is not blank I would want it to say something like "Error"
Hope this makes sense
-
Paul Newcome ✭✭✭✭✭✭
Try something like this:
=IF(COUNTIFS(CHILDREN([Job Address]@row)> 0, IF(COUNT(DISTINCT(CHILDREN([Date Completed]@row))) = 1, INDEX(COLLECT(CHILDREN([Date Completed]@row), CHILDREN([Date Completed]@row), @cell <> ""), 1), "ERROR - More than 1 different value in child rows"))
Help Article Resources
Categories
I figured it out! Updated formula to get the 2 decimal places as well.<\/p>
=\"We are at \" + IFERROR(ROUND([% closed rate]@row * 100, 2), \"//m.santa-greenland.com/community/discussion/106883/\") + \"% closed rate on ticket status for the month of \" + Month@row<\/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":108861,"type":"question","name":"IF\/AND Formula","excerpt":"Formulas are the bane of my existence and I really need to take a class! Today I'm trying to set up a formula to throw a flag when 2 conditions are met. I want a red ball when I have not received an invoice and the invoice due date is within 30 days. I know I'm close since I've gone from \"unparsable\" to \"incorrect…","snippet":"Formulas are the bane of my existence and I really need to take a class! Today I'm trying to set up a formula to throw a flag when 2 conditions are met. I want a red ball when I…","categoryID":322,"dateInserted":"2023-08-11T16:27:44+00:00","dateUpdated":null,"dateLastComment":"2023-08-11T17:49:45+00:00","insertUserID":120231,"insertUser":{"userID":120231,"name":"Pamela Wagner","title":"","url":"https:\/\/community.smartsheet.com\/profile\/Pamela%20Wagner","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2023-08-11T17:47:38+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭✭"},"updateUserID":null,"lastUserID":120231,"lastUser":{"userID":120231,"name":"Pamela Wagner","title":"","url":"https:\/\/community.smartsheet.com\/profile\/Pamela%20Wagner","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2023-08-11T17:47:38+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":4,"countViews":58,"score":null,"hot":3383549849,"url":"https:\/\/community.smartsheet.com\/discussion\/108861\/if-and-formula","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/108861\/if-and-formula","format":"Rich","lastPost":{"discussionID":108861,"commentID":390268,"name":"Re: IF\/AND Formula","url":"https:\/\/community.smartsheet.com\/discussion\/comment\/390268#Comment_390268","dateInserted":"2023-08-11T17:49:45+00:00","insertUserID":120231,"insertUser":{"userID":120231,"name":"Pamela Wagner","title":"","url":"https:\/\/community.smartsheet.com\/profile\/Pamela%20Wagner","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2023-08-11T17:47:38+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-11T17:48:48+00:00","dateAnswered":"2023-08-11T17:12:43+00:00","acceptedAnswers":[{"commentID":390261,"body":"
You were, indeed, very close.<\/p>
=IF([Invoice Received?]@row = 0, IF(AND([Renewal Date]@row >= TODAY(), [Renewal Date]@row <= TODAY(+30)), \"Red\"))<\/p>"},{"commentID":390264,"body":"