Average excluding zeros
Seb
-
Gyrus Posted messages 3360 Status Membre -
Gyrus Posted messages 3360 Status Membre -
Hello,
I want to calculate an average of certain numbers without considering the 0s, but if there are only 0s, I want my average to be 0.
I have a formula =AVERAGEIFS(range1;criteria1;criteria_range0;"<>0")
Everything works perfectly so far regarding the exclusion of 0s in my average.
However, if I only have 0s in this range, the result is $DIV/0!
I would like that if there are only 0s in my range, the average is 0.
Need help!
I want to calculate an average of certain numbers without considering the 0s, but if there are only 0s, I want my average to be 0.
I have a formula =AVERAGEIFS(range1;criteria1;criteria_range0;"<>0")
Everything works perfectly so far regarding the exclusion of 0s in my average.
However, if I only have 0s in this range, the result is $DIV/0!
I would like that if there are only 0s in my range, the average is 0.
Need help!