Can averages have date ranges within the formula?
I'm working on a dashboard and I have a few data points I want to display the averages within a sheet. I have the formula for an average "=AVG(number 1, [number 2,…])". That part is working fine, but now I would like to create a date range within these averages (2024 vs 2025). Does anyone have a formula for averages that adds a year data range?
Answers
-
Have you looked at the AVERAGEIF function. You can pass a range and criteria (such as dates and 2024) and then the range to average
The formula for this example:
Would be
=AVERAGEIF(Date:Date, YEAR(@cell ) = 2025, [Things to average]:[Things to average])
-
If your columns were something like this:
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 66K Get Help
- 429 Global Discussions
- 149 Industry Talk
- 488 Announcements
- 5.2K Ideas & Feature Requests
- 85 Brandfolder
- 153 Just for fun
- 74 Community Job Board
- 499 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 305 Events
- 36 Webinars
- 7.3K Forum Archives
Want to practice working with formulas directly in Smartsheet?
Check out the Formula Handbook template!
Check out the Formula Handbook template!