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.5K Get Help
- 424 Global Discussions
- 136 Industry Talk
- 465 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 146 Just for fun
- 63 Community Job Board
- 465 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 301 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!