AVG % Complete with variables
I have turned off % Complete in the project settings and all Children "% Complete" values are manual input. This has to be done because I have a section on the project sheet that cannot be auto-calculated.
I have used the =AVG(CHILDREN()) formula for the Parent (light blue) sections. If no value has been input to "% Complete" it returns "DIVIDE BY ZERO". How do I have it return a zero or blank value until any input has been made on the Children rows?
Also, one of the parents will be a manual percentage calculation without a formula (AHJ approved set). How do I best calculate the "% Complete" for the ANCESTOR (dark blue)?
Best Answer
-
Wrapping your formula in an IFERROR should do the trick for you:
=IFERROR(AVG(CHILDREN()), 0)
This should also work on any level whether the data being pulled in is calculated via formula or manually entered.
Answers
-
Wrapping your formula in an IFERROR should do the trick for you:
=IFERROR(AVG(CHILDREN()), 0)
This should also work on any level whether the data being pulled in is calculated via formula or manually entered.
-
Thank you@Paul Newcome
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 140 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 497 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!