Ask Your Question
0

Calc: Averageif

asked 2012-06-03 13:22:39 +0200

this post is marked as community wiki

This post is a wiki. Anyone with karma >750 is welcome to improve it.

updated 2012-06-03 13:22:39 +0200

Kotian gravatar image Kotian
1 1 1

How do I translate this Excel =averageif(C6:C19;">0") into calc?

I just want the average, but without dividing with the numbers of cells with a 0 eg I have 12 cells, 4 with numbers and the rest with 0 so far - want to get the return avagere sum/4 and not sum/12 - next month It will be sum/5 ...

delete close flag offensive retag edit

1 Answer

Sort by » oldest newest most voted
0

answered 2012-06-03 14:19:56 +0200

this post is marked as community wiki

This post is a wiki. Anyone with karma >750 is welcome to improve it.

updated 2012-06-03 14:19:56 +0200

mariosv gravatar image mariosv flag of Spain
4694 20 46

=sumif(C6:C19;">0")/countif(C6:C19;">0")

link delete flag offensive edit

Login/Signup to Answer

Donate

LibreOffice is made available by volunteers around the globe, backed by a charitable Foundation. Please support our efforts: Your donation helps us to deliver a better product!

Question tools

Follow
1 follower

subscribe to rss feed

Stats

Asked: 2012-06-03 13:22:39 +0200

Seen: 532 times

Last updated: Jun 03 '12