Average of column if dates meet certain criteria
I'm looking for help on a formula to calculate an average of a column if the date in another column falls between the nominated start and end date. I tried a few different formulas which came up with #UNPARSEABLE, and this one: AVERAGEIF({Date Completed}, AND(>=[Start Date]@row, <=[End Date]@row, {Number})) resulted in zero. Any suggestions on how this formula should read?
Tags:
Best Answer
-
Thank you - this is awesome! Solves the problem.
Answers
-
Looks like a couple of minor syntax adjustments should get you working.
=AVERAGEIF({Date Completed}, AND(@cell>=[Start Date]@row, @cell<=[End Date]@row), {Number})
-
Thank you - this is awesome! Solves the problem.
-
Happy to help. 👍️
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
- 300 Events
- 35 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!