Average with multiple columns
I have a sheet that collects information about quality control scores. I have a column "Total Points" that I am looking to average; however, I am trying to use two different columns to base the average off of "Region" and "Quarter" so basically if the region= Southeast and the quarter =Q1 I want to get an average of Total Points. I know there is no averageifs so I am trying to use AVG(Collect) but I keep getting a #Divide by Zero error.
This is my formula: =AVG(COLLECT([Total Points]:[Total Points], Region:Region, ="Southeast", Quarter:Quarter, ="Q1"))
Answers
-
Your syntax appears correct, which indicates something is going on with your filtered data. A screenshot would be helpful if possible. As a quick suggestion I suggest you revise to the following. If this still gives you the error, as a temporary troubleshooting measure, begin eliminating the criteria (and range) from your formula one by one.
=AVG(COLLECT([Total Points]:[Total Points], Total Points]:[Total Points], ISNUMBER(@cell), Region:Region, ="Southeast", Quarter:Quarter, ="Q1"))
Kelly
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.5K Get Help
- 402 Global Discussions
- 213 Industry Talk
- 450 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 135 Just for fun
- 56 Community Job Board
- 454 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 296 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!