Parent/Child formula depending on status
Hi,
I am setting up a status column on a project plan.
The statuses we are using are:
Not Started, In Progress, Overdue & Complete.
I want to use a formula on the parent rows to look at the statuses of the children rows and return a status based on the following:
If any of the children are overdue then parent status is Overdue.
If all are Complete then parent status is Complete
If all are Not Started then parent status is Not started
If not any of the above then parent status is In Progress
Any suggestions gratefully received!
Kind regards,
Greg
Best Answer
-
Try something like this:
=IF(COUNTIFS(CHILDREN(), @cell = "Overdue")> 0, "Overdue", IF(COUNTIFS(CHILDREN(), @cell = "Complete") = COUNT(CHILDREN()), "Complete", IF(COUNTIFS(CHILDREN(), @cell = "Not Started") = COUNT(CHILDREN()), "Not Started", "In Progress")))
Answers
-
Try something like this:
=IF(COUNTIFS(CHILDREN(), @cell = "Overdue")> 0, "Overdue", IF(COUNTIFS(CHILDREN(), @cell = "Complete") = COUNT(CHILDREN()), "Complete", IF(COUNTIFS(CHILDREN(), @cell = "Not Started") = COUNT(CHILDREN()), "Not Started", "In Progress")))
-
Perfect thanks
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.7K Get Help
- 433 Global Discussions
- 136 Industry Talk
- 468 Announcements
- 4.9K Ideas & Feature Requests
- 143 Brandfolder
- 147 Just for fun
- 64 Community Job Board
- 466 Show & Tell
- 32 Member Spotlight
- 2 SmartStories
- 298 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!