AVERAGEIFS similar function
I need a formula (similar to an AVERAGEIFS statement in excel) to give me the average of the numbers in the right column if the value in the left column is prior to today's date. Thanks!
Comments
-
@David Yowell we have AVERAGEIF in Smartsheet, but not AVERAGEIFS, so a little workaround is needed here.
My suggestion would be to use a SUMIFS counting the numbers that meet the criteria of a date before today, divided by a COUNTIF counting the dates in the date column that are before today, which would give you your average of those numbers that met the SUMIF condition. Something like this:
SUMIFS(NUMCOLUMN:NUMCOLUMN, DATECOLUMN:DATECOLUMN, < TODAY()) / COUNTIF(DATECOLUMN:DATECOLUMN, < TODAY())
Would that work?
Thanks,
Alex
-
AVERAGEIF should be working here.
=AVERAGEIF([Left Column]:[Left Column], < TODAY(), [Right Column]:[Right Column])
Hope it helped!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65.9K Get Help
- 429 Global Discussions
- 147 Industry Talk
- 487 Announcements
- 5.2K Ideas & Feature Requests
- 86 Brandfolder
- 151 Just for fun
- 74 Community Job Board
- 497 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 305 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!