Add additional criteria
![Joan B](https://us.v-cdn.net/6031209/uploads/defaultavatar/nWRMFRX6I99I6.jpg)
Hello... here is my current formula below. How can I also add a condition to only average if number in range 8 is >0? =AVERAGEIF({Technical Certification and Competency Tra Range 4}, [Contact List]@row, {Technical Certification and Competency Tra Range 8})
Thanks for any help.
Answers
-
Unfortunately, there is no AVERAGEIFS function, but you can get around it USING COLLECT.
=AVG(COLLECT({Technical Certification and Competency Tra Range 8}, {Technical Certification and Competency Tra Range 4}, [Contact List]@row, {Technical Certification and Competency Tra Range 8}, > 0))
-
Thank you Carson! I receive a #divide by zero error with your formula above. Is there a fix for that?
-
Are you only receiving the error on rows with no matches? If so, this should suppress the error for those rows.
=IFERROR(AVG(COLLECT({Technical Certification and Competency Tra Range 8}, {Technical Certification and Competency Tra Range 4}, [Contact List]@row, {Technical Certification and Competency Tra Range 8}, > 0)), "")
-
PERFECT! Thank you again Carson.
Help Article Resources
Categories
Check out the Formula Handbook template!