AVG(Collect formula with multiple criteria
Hello:
Im trying to figure it out how to calculate the average "Days to Closed" for each "Task Owner" in 2021 ("Year"column ). I was trying Avg(collect formula. But i get #invalid ref error.
The formulas i try :
=AVG(COLLECT({Days to Closed}, {Task Owner}, "Chris Jularbal", {Year}, IFERROR(YEAR(@cell), 0) = 2021))
and
=AVG(COLLECT([Days to Closed]:[Days to Closed], [Task Owner]:[Task Owner], "Chris Jularbal", {Year}, "2021"))
Thank you in advance for your help!
Giselle
Best Answer
-
Ok finally, this work for me :
=AVG(COLLECT([Days to Closed]:[Days to Closed], [Task Owner]:[Task Owner], "Chris Jularbal", Year:Year, "2021"))
Answers
-
Ok finally, this work for me :
=AVG(COLLECT([Days to Closed]:[Days to Closed], [Task Owner]:[Task Owner], "Chris Jularbal", Year:Year, "2021"))
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65K Get Help
- 443 Global Discussions
- 140 Industry Talk
- 472 Announcements
- 5K Ideas & Feature Requests
- 129 Brandfolder
- 150 Just for fun
- 70 Community Job Board
- 497 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 301 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!