Calculating average over month
Hello,
I am trying to calculate average of days spent per assessment over a month, but my formula is returning a zero even though the data does not support this.
Here is the formula I am using:
=AVERAGEIF({Temperature Assessment Site Days}, AND(@cell >= DATE(2022, 1, 1), @cell <= DATE(2022, 1, 31)), {Temperature Assessment Site Days})
What did I miss?
Answers
-
Are you able to send a screen shot? (Of course remove any private or identifying information).
From a quick read it looks like your only working with one row and column.
Andrew
He who fails to plan is planning to fail. - Winston Churchill
-
I was able to produce this formula to correctly calculate what you were trying to do:
=AVERAGEIF(Date:Date, AND(@cell >= DATE(2022, 1, 1), @cell <= DATE(2022, 1, 31)), [Temperature Assessment Site Days]:[Temperature Assessment Site Days])
I set this up in a single sheet so you'll need to rework it to fit your cross-sheet referencing.
Hope this helps you!
Andrew
He who fails to plan is planning to fail. - Winston Churchill
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!