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
- Customer Resources
- 65.2K Get Help
- 445 Global Discussions
- 143 Industry Talk
- 476 Announcements
- 5K Ideas & Feature Requests
- 85 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