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
Need more information? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao!👋 | Global Discussions
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 66.9K Get Help
- 441 Global Discussions
- 153 Industry Talk
- 501 Announcements
- 5.4K Ideas & Feature Requests
- 85 Brandfolder
- 155 Just for fun
- 79 Community Job Board
- 511 Show & Tell
- 34 Member Spotlight
- 2 SmartStories
- 308 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!