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.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 494 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!