IF function conditioned on a PARENT
What is a formula to count in a sheet summary the number of completed CHILDREN tasks per PARENT. For example, I wanted to count the number of competed tasks that fall under the parent of Business Development. I tried the following formula, but it did not work...For more context: The column called "Task Name" lists tasks fall into different PARENTS categories - the first of which is business development. The Status column marks if tasks are "Complete" or "In Progress" or "Not Started"
=COUNTIFS(Task Name:Task Name, PARENT([Busines Development]), Status:Status, "Complete")
Answers
-
Try something like this.
=COUNTIFS(CHILDREN([Task Name]50); <>""; CHILDREN(Status50); "Complete")
The same version but with the below changes for convenience.
=COUNTIFS(CHILDREN([Task Name]50), <>"", CHILDREN(Status50), "Complete")
Depending on your country/region, you'll need to exchange the comma to a period and the semi-colon to a comma.
Did that work?
I hope that helps!
Be safe and have a fantastic week!
Best,
Andrée Starå
Workflow Consultant / CEO @ WORK BOLD
✅Did my post(s) help or answer your question or solve your problem? Please help the Community by marking it as the accepted answer/helpful. It will make it easier for others to find a solution or help to answer!
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
Thanks for your help @Andrée Starå - however that did not work. It returned 0 - what i am trying to do count the number of tasks under the parent tasks of "Business Development" that are complete.
-
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
HI - can you see the attached screenshot above? Its on the right. I used =COUNTIFS(CHILDREN([Task Name]50), <>"Business Development", CHILDREN(Status50), "Complete")
-
Try this one and change the number 50 to your row number.
=COUNTIFS(CHILDREN([Task Name]50), <>"", CHILDREN(Status50), "Complete")
Did that work?
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
Yes - thank you!
-
Excellent!
You're more than welcome!
✅Remember! Did my post(s) help or answer your question or solve your problem? Please help the Community by marking it as the accepted answer/helpful. It will make it easier for others to find a solution or help to answer!
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.9K Get Help
- 410 Global Discussions
- 220 Industry Talk
- 458 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 136 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 298 Events
- 37 Webinars
- 7.3K Forum Archives