Collect formula for child rows
I am trying to return the sum of "in process" items under each parent row in the following sheet but can't come up with the right formula/syntax to work. I got a formula to correctly return teh number of child rows but now need the number of items "in process" per parent row and the following formula gives me UNPARSEABLE error. I thought a COLLECT formula would work but I can't figure it out.
COUNTIF(DESCENADANTS(report status@row), "In Progress"))
Best Answer
-
@Dhoke When you are referencing a column name that has spaces, numbers, and/or special characters, the column name has to be wrapped in [square brackets].
=COUNTIF(DESCENADANTS([Report Status]@row), "In Progress")
Answers
-
Hi,
I hope you're well and safe!
Try something like this.
=COUNTIFS(CHILDREN([Report Status]@row), "In Progress")
Did that work/help?
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 support the Community by marking it Insightful/Vote Up, Awesome, or/and as the accepted answer. 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.
-
@Dhoke When you are referencing a column name that has spaces, numbers, and/or special characters, the column name has to be wrapped in [square brackets].
=COUNTIF(DESCENADANTS([Report Status]@row), "In Progress")
-
thanks! worked great. what if i need to count number in the parent row as well?
-
I'm not sure I follow. What do you mean?
-
Excellent!
Happy to help!
Which value do you want to count additionally?
✅Remember! Did my post(s) help or answer your question or solve your problem? Please support the Community by marking it Insightful/Vote Up/Awesome or/and as the accepted answer. 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.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 434 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!