Add additional criteria
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
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65.2K Get Help
- 445 Global Discussions
- 143 Industry Talk
- 476 Announcements
- 5K Ideas & Feature Requests
- 84 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 488 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 301 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!