% Complete Children tasks on several hierarchy levels minus tasks that are N/A
Drop down options are N/A, Not Started, In Progress - On Track, In Progress - At Risks, Complete.
I want if children tasks are marked complete I want a % to calculate for those tasks marked complete minus N/A tasks.
Parent = 100% (correct)
Child 1 - Complete
Child 2 - Complete
Child 3 - Complete
Child 4 - Complete
Child 5 - Complete
Parent = 100% (correct)
Child 1 - N/A
Child 2 - Complete
Child 3 - Complete
Child 4 - Complete
Child 5 - Complete
Parent = 80% (This is incorrect and should be returned as 100%)
Child 1 - N/A
Child 2 - Complete
Child 3 - Complete
Child 4 - Complete
Child 5 - Complete
Best Answer
-
Try something like this
IF(COUNT(CHILDREN([your primary column name]@row))>0, COUNTIFS(CHILDREN([your dropdown column name]@row), "Complete") / COUNTIFS(CHILDREN([your dropdown column]@row), <>"NA"))
The first IF checks to see if this is a parent row. If it is, it counts based on the criteria within the countifs.
cheers
Answers
-
Try something like this
IF(COUNT(CHILDREN([your primary column name]@row))>0, COUNTIFS(CHILDREN([your dropdown column name]@row), "Complete") / COUNTIFS(CHILDREN([your dropdown column]@row), <>"NA"))
The first IF checks to see if this is a parent row. If it is, it counts based on the criteria within the countifs.
cheers
-
This worked perfectly.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65.2K Get Help
- 445 Global Discussions
- 143 Industry Talk
- 476 Announcements
- 5K Ideas & Feature Requests
- 84 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 488 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 301 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!