Can averages have date ranges within the formula?
Options
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
Want to practice working with formulas directly in Smartsheet?
Check out the Formula Handbook template!
Check out the Formula Handbook template!