Average If Formula
![Andrea Mayer](https://us.v-cdn.net/6031209/uploads/drupal_profile/files/2018-12/70/13/n7013e5bc085aca330cd32c80e0bacae1.jpg)
Hi Smartsheet Community!
I have what I think is a pretty simple cross-sheet formula question. I have created a survey that asks users to respond to each question with a 1-5 answer (1 lowest - 5 highest). I am trying to use an AVERAGEIF formula to average each answer IF the answer was submitted in a certain month and IF it was from my BAU group. Here is what I have but I am receiving an INCORRECT ARGUMENT SET error. Any help is appreciated! :)
=AVERAGEIF({Month}, "11", {Group}, "BAU", {Tools & Support})
In the example above, I am asking Smartsheet to average the responses for all responses submitted in month 11, from the BAU group for the Tools& Support question on the survey.
Thanks,
Andrea
Best Answer
-
TO incorporate more than 1 range/criteria set, you will need to use an AVG/COLLECT combo instead.
=AVG(COLLECT({Tools & Support}, {Month}, "11", {Group}, "BAU"))
Answers
-
TO incorporate more than 1 range/criteria set, you will need to use an AVG/COLLECT combo instead.
=AVG(COLLECT({Tools & Support}, {Month}, "11", {Group}, "BAU"))
-
Thank you, Paul! I knew there must be another function required in there. I always appreciate your speedy and accurate answers.
-
Happy to help. 👍️
Help Article Resources
Categories
Check out the Formula Handbook template!