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
- Smartsheet Customer Resources
- 62.4K Get Help
- 364 Global Discussions
- 200 Industry Talk
- 430 Announcements
- 4.4K Ideas & Feature Requests
- 137 Brandfolder
- 129 Just for fun
- 128 Community Job Board
- 446 Show & Tell
- 28 Member Spotlight
- 1 SmartStories
- 284 Events
- 35 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!