Parent/Child Rows
Hello
I have built a production schedule for our assemblies in our shop.
We have a parent line with the Job# and the assembly being built. We then have indented child rows under the parent row for all the individual components needed to build the parent line. We track if these items have been received by changing a column drop down menu to received. What we would like is to have Smartsheet make the parent line auto change to received if all the child lines are marked as received. Is there a way to do this?
Thanks in advance.
Comments
-
Hi,
Try something like this.
=IF(COUNTIF(CHILDREN(); "Received") = COUNT(CHILDREN()); "Received")
The same version but with the below changes for your and others convenience.
=IF(COUNTIF(CHILDREN(), "Received") = COUNT(CHILDREN()), "Received")
Depending on your country you’ll need to exchange the comma to a period and the semi-colon to a comma.
Did it work?
Hope that helps!
Have a fantastic week!
Best,
Andrée Starå
Workflow Consultant / CEO @ WORK BOLD
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
The second formula worked but I guess we have to paste it into the parent line each time we make a new entry for it to work.
-
Excellent!
There is a way to have it added to all rows but only trigger on parent rows, but then it can't be placed in the same column as the children "Received" status or the other way around.
Can you describe your process in more detail and maybe share the sheet(s) or some screenshots? (Delete/replace any confidential/sensitive information before sharing) That would make it easier to help. (share too, andree@workbold.com)
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
In the attached image there is the "Item Status" column. This is changed to Received for the child lines when parts are received. We then want the parent line to auto update to received when all child lines are received.
When we add a new build it is manually entered so if we could have the formula auto added to the parent line that would be what we are looking for.
Our shipper/receiver receives the product at one end of our shop so updating Smartsheet and having it auto update the parent line tells our production manager at the other end of the shop that all parts are present and that they can start the assembly. It will be help full as you don't have to expand rows to see if everything has been received.
-
Depending on the setup of the Parent rows and how much they need to be edited after the fact, you could just take the working formula and wrap in in an IF statement that basically says if it is a parent row, run the formula, otherwise leave the cell blank.
You can have parent rows locked to keep them from being edited, and editing the blank child rows will simply override the formula and register as whatever was manually entered.
=IF(COUNT(CHILDREN([Work Order #]@row)) > 0, working formula, "")
This will give you the ability to dragfill the formula down the column and not have to worry about parent vs child rows.
-
Happy to help!
I saw that Paul answered already!
Let me know if I can help with anything else!
Best,
Andrée
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.9K Get Help
- 410 Global Discussions
- 219 Industry Talk
- 457 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 136 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 298 Events
- 37 Webinars
- 7.3K Forum Archives