Can you average a column per year?
I have set-up a metric for the Average of Actual Days to Completion (=AVG({CActual Days to Completion}) column for the whole tracker. The tracker is composed of requests received from 2022 to 2024.
Now my boss has asked me for the Average of Actual Days to Completion for requests received in 2023, only to see how we're doing. Can you please give me a formula regarding this?
Best Answer
-
You would incorporate the COLLECT function.
=AVG(COLLECT({Range To Average}, {Date Range}, IFERROR(YEAR(@cell), 0) = 2023))
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
Answers
-
You would incorporate the COLLECT function.
=AVG(COLLECT({Range To Average}, {Date Range}, IFERROR(YEAR(@cell), 0) = 2023))
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
-
I think I need more guidance on this, so I followed the formula as =AVG(COLLECT({Actual Days to Completion},{Date Received}, IFERROR(@cell),0) = 2023)) but I'm getting #UNPARSEABLE result.
-
@Paul Newcome, Thank you; it worked! for the 1st try I forgot to write the YEAR function. Again Thank you!!
-
Happy to help. 👍️
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.9K Get Help
- 379 Global Discussions
- 210 Industry Talk
- 441 Announcements
- 4.5K Ideas & Feature Requests
- 139 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 300 Events
- 33 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!