Number of non-zero values in a column

N

Nick Payne

Given a column of numbers, is there a formula to return the number of cells
containing a non-zero value? ie. Cells can be empty, contain zero, or
contain a number.

Nick
 
N

Nick Payne

Thanks. That was almost it. To allow for empty cells, I had to use
=COUNTIF(A1:A100,"<>0")-COUNTBLANK(A1:A100)

Nick
 

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

Top