Counting Parent Rows
Good Morning,
I have smartsheet Parent and Child rows. How do I count the parent rows? Also, how do I COUNTIF for parent rows that meet a certain criteria?
Thank you so much for the help!
Answers
-
Hi,
Create a text/number helper column [level] with the formula =Count(ANCESTORS()).
Parent rows will have a value of 0. Use level:level, 0 in your COUNTIFS formula to include parent rows.
To add other criteria your formula will use the syntax::
=COUNTIFS( level:level, 0 , [other range]:[other range], Other criteria)
For help with formula syntax see the link below.
https://help.smartsheet.com/functions
Help?
Mark
I'm grateful for your "Vote Up" or "Insightful". Thank you for contributing to the Community.
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
Want to practice working with formulas directly in Smartsheet?
Check out the Formula Handbook template!
Check out the Formula Handbook template!