Counting # of rows under a parent row that meets a certain criteria
Hi!
I am trying to figure out what formula to use in the below situation:
My sheet has parent rows that determine various phases of a project. Each child row has a status (in progress, complete, etc.) for each step (step 1, step 2, etc.). I am trying to figure out what formula would count how many "in progress" child rows I have under one particular parent row (i.e.) How many steps are completed in phase one - see picture). Thank you!!
Answers
-
See below:
=COUNTIFS(CHILDREN(Step@row), @cell <> "", CHILDREN(Status@row), @cell = "In progress")
-
Thank you for this. Unfortunately, it is only counting the two cells being referenced and not all the cells in the children row that meets the criteria. I don't understand the syntax of this formula, so I am not entirely sure where the problem may lie. Can you explain why you have used each piece of this formula so I may be able to adapt it to what I need?
-
Where did you put the formula?
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!