Show my "next deliverable date" based on the child-parent task relationship?
Hi! I've been using the MIN and MAX children functions to roll up dates from child tasks, or sub-tasks, to the parent task.
I also want to create a column that looks at the dates of each sub-tasks and grabs the one closest to today's date that has been marked as a deliverable so I know the "next upcoming due date" among a parent's children/sub-tasks. What would be the best way to write that formula?
I'm starting with =MIN(COLLECT(CHILDREN(), CHILDREN(), @cell >= TODAY())) but I'm not sure how to incorporate the [Deliverable]=1
If it's helpful, here's an example what I am trying to get is the Parent date cell to populate the the 3/22/23 date
Thanks!
Answers
-
You would just need to insert another range/criteria set into the COLLECT function to specify the CHILDREN of the Deliverable column and criteria being 1.
=MIN(COLLECT(CHILDREN(), CHILDREN(), @cell >= TODAY(), CHILDREN(Deliverable@row), @cell = 1))
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.1K Get Help
- 348 Global Discussions
- 199 Industry Talk
- 427 Announcements
- 4.4K Ideas & Feature Requests
- 133 Brandfolder
- 127 Just for fun
- 127 Community Job Board
- 455 Show & Tell
- 28 Member Spotlight
- 1 SmartStories
- 282 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!