Copy parent row only
I have automation set up to copy rows marked as "key deliverables" in my project schedule into a separate, key deliverables status tracking log. Unfortunately, when a key deliverables row in the schedule is a parent row -- i.e., has subtasks under it -- the automation (rightfully) copies the parent row AND its child subtasks into the destination status tracking log sheet.
Is there a way to ONLY copy over the parent row, without its subtasks?
Thanks.
Answers
-
Make a new column with formula =COUNT(CHILDREN()), let's call it "C". All parent rows will have a number in this column above 0, while non-parent (child) rows will display 0.
So, if you add a filter in your automation to only copy rows where the value in this formula is *not* 0 it will only copy the parent row.
School of Sheets (Smartsheet Partner)
If my answer helped please accept and react w/💡Insightful, ⬆️ Vote Up, ❤️Awesome!
-
Hi Dan -
Good idea, but doing what you suggest will omit all of the child rows within the overall project schedule that represent key deliverables and ONLY focus on the parent rows. It needs to pick up both.
-
Furthermore, Dan, I just tested your approach, and it doesn't work (irrespective of the shortcoming I just described). It's behaving as if the child rows are attached to the parent row and immune to the logic you suggest.
-
Hi @John DeRoy
Unfortunately, as far as I know, it's not possible to only copy a parent row to another sheet.
A possible workaround could be to use cross-sheet formulas instead. (VLOOKUP or INDEX/MATCH)
Would that work/help?
I hope that helps!
Be safe and have a fantastic weekend!
Best,
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
✅Did my post(s) help or answer your question or solve your problem? Please help the Community by marking it as the accepted answer/helpful. It will make it easier for others to find a solution or help to answer!
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.
-
Thanks, Andree - a good idea, but won't help, unfortunately. Looks like I need to ensure that any such key deliverable rows are child rows only.
-
If you have access to Data Mesh then it might be a potential solution. DataMesh can use reports as an input in place of a sheet. With a helper column (or two) on your main sheet you could probably produce a report with only the info you need. The caveat is having access to Data Mesh.
cheers
Kelly
-
Hi @John DeRoy ,
I stumbled onto this thread and I had a similar task I wanted to perform. Would creating a column to check if the row is a parent and having a "copy row" automation with the condition that only rows with that column checked are copied work for you? You will have to set the automation to run on specific dates, but if I read the issue correctly, this may work.
-
Hi @John DeRoy - did you ever find solution to the copy of parent row only? I tried the suggestions above but they do not work to copy only the parent row.
Would appreciate if anyone has other ideas on how to do this.
Kind Regards, Bob
-
Hi Bob -
My need for a solution disappeared b/c that project was backburnered. Rene's suggestion looks like it's worth a short, however.
John
-
I tried Rene's suggestion but to no avail. Any other suggestions for this? I am looking to build a Completed projects list as they are done
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.2K Get Help
- 414 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 141 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!