Average only parent rows
I have 4 parent rows and each row has 3 child rows. I want to take an average of only parent row percentage.
Best Answer

You can identify the parent rows by counting the number of children. Any row with more than 0 children is a parent. If you add a helper column to the sheet you can use this formula to put a 1 against all the parent rows and a 0 against the children. You can then hide that column.
=IF(COUNT(CHILDREN()) > 0, 1, 0)
Then instead of the AVG function you can use AVERAGEIF to average only the rows that have a 1 in the parent column.
=AVERAGEIF(Parent:Parent, 1, [% col]:[% col])
Answers

You can identify the parent rows by counting the number of children. Any row with more than 0 children is a parent. If you add a helper column to the sheet you can use this formula to put a 1 against all the parent rows and a 0 against the children. You can then hide that column.
=IF(COUNT(CHILDREN()) > 0, 1, 0)
Then instead of the AVG function you can use AVERAGEIF to average only the rows that have a 1 in the parent column.
=AVERAGEIF(Parent:Parent, 1, [% col]:[% col])

That works. Thanks...
Help Article Resources
Categories
 All Categories
 14 Welcome to the Community
 Smartsheet Customer Resources
 63.6K Get Help
 403 Global Discussions
 215 Industry Talk
 455 Announcements
 4.7K Ideas & Feature Requests
 141 Brandfolder
 136 Just for fun
 56 Community Job Board
 459 Show & Tell
 31 Member Spotlight
 1 SmartStories
 296 Events
 36 Webinars
 7.3K Forum Archives
Check out the Formula Handbook template!