on 05-08-2017 9:20 PM
I am providing an average of the percents listed in a given column. However, some of the returns (as designed) are returning a #DIV/0 error. With that being the case, as we know with basic division... because we are essentially dividing by 0... this is the cause of the error-
So, I want to know, is it possible for me to write a statement that omits those values in WebI, from the overall Average... I'm thinking an If statement of some form...
I'm currently using:
=Average(Round([v1]/[v2]*100;0))+"%"
AND I'M USING THIS AT THE ROW LEVEL:
=If(IsError([v1]/[v2]))Then ""
ElseIf(IsNull(Round([v1]/[v2]*100;0))) Then ""
Else Round([v1]/[v2]*100;0)+"%"
Thoughts?
Use iserror() function with if-else condition.
=if(iserror(Average(Round([v1]/[v2]*100;0))+"%")) then "" else Average(Round([v1]/[v2]*100;0))+"%"
Recheck your average formula.it seems it's not correct.you have used average() function and manually used v1/v2*100.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.