Count Question

  • Thread starter Thread starter Grant
  • Start date Start date
G

Grant

I am trying to count the number of cells that are no equal to 0.
COUNTIF(L:L,"<>0") includes all the blank cells. I need to count cells
that are not blank and not equal to zero.

T.I.A.
Ed
 
Ed,

If your values are always positive numbers then:

=COUNTIF(L1:L16,">0")

If there are also negatives then:

=COUNTIF(L1:L16,">0")+COUNTIF(L1:L16,"<0")

Cheers,

Stev
 
=SUMPRODUCT(--(L1:L1000<>0))

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)
 

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

Similar Threads

Excel Need Countifs Formula Help 0
Formula For Counting Records 5
CountIf with And 0
Count range of cells if not next to each other 0
COUNTIF for 2 columns 6
Excel Formula 2
Conditional Formatting 1
COUNT question 3

Back
Top