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
- 64K Get Help
- 410 Global Discussions
- 220 Industry Talk
- 458 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 137 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 298 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!