Average of project completion for current year
I'm trying to average the "%" column based on rows that are only in quarter 1 (Quarter Identifier = 1), and have a completion date that is the current year.
I'm trying to make this sheet roll over year-after-year and am trying to stay away from specifying "2019".
The formula I have currently is:
=AVG(COLLECT([%]:[%], [Quarter Identifier]:[Quarter Identifier], =1, [Completion Date]:[Completion Date], =YEAR(TODAY())))
But it's giving me an output of "#Divide by zero" even though I have dates in quarter 1 that are the current year.
Am I using the YEAR function incorrectly?
Attached is a screenshot to hopefully better explain the sheet information.
Comments
-
Just wanted to update this, figured out what I was doing wrong:
=AVG(COLLECT([%]:[%], [Quarter Identifier]:[Quarter Identifier], =1, [Completion Date]:[Completion Date], YEAR(@cell) = YEAR(TODAY())))
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 66.1K Get Help
- 430 Global Discussions
- 149 Industry Talk
- 490 Announcements
- 5.2K Ideas & Feature Requests
- 85 Brandfolder
- 154 Just for fun
- 74 Community Job Board
- 499 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 305 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!