Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

urgent? - not that easy

looking for an avg function which ignores 0s

eg. if teama teamcount=3, teamb teamcount=5, teamc teamcount=0 then avg???(teamcount) should return 4 not 2.666...

4 Replies
swuehl
MVP
MVP

Try

=avg( if( teamcount<>0, teamcount) )

Hope this helps,

Stefan

Not applicable
Author

Using Set Analysis instead:

=avg({<teamcount={"<>0"}>} teamcount)

Not applicable
Author

thanks for the help

Not applicable
Author

thanks for your help