Getting #DIVIDE BY ZERO error message for AVG + COLLECT formula (trying to exclude zeros/blanks)

I added a Curriculum Average row (blue row in the screenshot) to help roll the data up before I run an AVG(COLLECT formula from my master data sheet. I've covered up teammate information for privacy.
Currently, I am referencing the respective Region & COURSE2000 Curriculum Average in the formula below. There are COURSE2000 Curriculum Average rows with blanks and zeros, and I'm trying to exclude zeros from the formula with the following equation:
=AVG(COLLECT({Data Range 4}, {Data Range 4}, >0, {Data Range 1}, "Region 06", {Data Range 2}, "COURSE2000 Curriculum Average"))
Can you help me correct this formula?
Answers
-
@Zach C please try =AVG(COLLECT({Data Range 4}, {Data Range 4}, >0, {Data Range 4}, <> "", {Data Range 1}, "Region 06", {Data Range 2}, "COURSE2000 Curriculum Average"))
If my comment helps you, I appreciate a 💡
Kind regards
Nico | LinkedIn
CEO | Lighthouse Consultings
Lecturer in Business Information Systems | DHBW
________________________________________________________________________________
addvalue@lighthouseconsultings.com
We offer Licenses - Training - Solution Engineering
🔴 GOLD Smartsheet Partner _______________________________________________
💯 SCALEABLE Solutions Engineered by Lighthouse Consultings
We Don’t Just Implement Smartsheet; We Revolutionize How You Manage, Plan, And Execute.
-
NicoLHC thank you!
How would I add another Region to this formula if I was interested in looking at the Average for say Region 1 and 6?
-
@Zach C just a general question do you want to use the data in a dashboard it could make sense to use a report?
If my comment helps you, I appreciate a 💡
Kind regards
Nico | LinkedIn
CEO | Lighthouse Consultings
Lecturer in Business Information Systems | DHBW
________________________________________________________________________________
addvalue@lighthouseconsultings.com
We offer Licenses - Training - Solution Engineering
🔴 GOLD Smartsheet Partner _______________________________________________
💯 SCALEABLE Solutions Engineered by Lighthouse Consultings
We Don’t Just Implement Smartsheet; We Revolutionize How You Manage, Plan, And Execute.
-
@Zach C i think i would try this way .
=AVG(
COLLECT({Data Range 4}, {Data Range 4}, >0, {Data Range 4}, <> "", {Data Range 1}, "Region 06", {Data Range 2}, "COURSE2000 Curriculum Average"),
COLLECT({Data Range 4}, {Data Range 4}, >0, {Data Range 4}, <> "", {Data Range 1}, "Region 1", {Data Range 2}, "COURSE2000 Curriculum Average")
)If my comment helps you, I appreciate a 💡
Kind regards
Nico | LinkedIn
CEO | Lighthouse Consultings
Lecturer in Business Information Systems | DHBW
________________________________________________________________________________
addvalue@lighthouseconsultings.com
We offer Licenses - Training - Solution Engineering
🔴 GOLD Smartsheet Partner _______________________________________________
💯 SCALEABLE Solutions Engineered by Lighthouse Consultings
We Don’t Just Implement Smartsheet; We Revolutionize How You Manage, Plan, And Execute.
Help Article Resources
Categories
Check out the Formula Handbook template!