Average Percentage for Parent Rows
My current formula is calculating the average percentage of parent & children rows. How do I get it to look only at level 1 rows? Here is my current formula: =INDEX(COLLECT([% Complete]:[% Complete], Level:Level, 0, [% Complete]:[% Complete], <>0, [% Complete]:[% Complete], <1, [Current Phase?]:[Current Phase?], 1), 1)
thanks!
Answers
-
Hi @Paigebrim
This formula looks like it's bringing back a single value, not calculating an average, could that be the case? If you want an Average, you'll need AVG before the COLLECT function:
=AVG(COLLECT([% Complete]:[% Complete], columns and criteria))
In your case, if you only need Level 1, you can swap that out in your current structure:
=AVG(COLLECT([% Complete]:[% Complete], Level:Level, 1, [% Complete]:[% Complete], <>0, [% Complete]:[% Complete], <1, [Current Phase?]:[Current Phase?], 1))
Let me know if that does the trick! If not, it would be helpful to see screen captures of your sheet, but please block out sensitive data.
Cheers,
Genevieve
Join us at Smartsheet ENGAGE 2024 🎉
October 8 - 10, Seattle, WA | Register now
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.8K Get Help
- 376 Global Discussions
- 207 Industry Talk
- 440 Announcements
- 4.5K Ideas & Feature Requests
- 139 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 284 Events
- 33 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!