Running average without nonzero values or empty cells

  • Thread starter Thread starter wjsubs
  • Start date Start date
W

wjsubs

I have a column that I want to have a running average going in.

My current formula seems to be including either cells with a value o
0, or empty cells where I am waiting to add data to.

If anyone can help that would be great.

Here is my formula:

=SUMIF(B$14:B$109,"<>0")/COUNTIF(B$14:B$109,"<>0")


Thanks,

Wil
 
if you don't have negative numbers:

=SUMIF(B$14:B$109,">0")/COUNTIF(B$14:B$109,">0")
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top