creating a formula

W

wwoody

I have a col that i have plus and minus numbers in them and
i want a count of all the records in the col. but i want to exclude the
0 records. Currently i use =count(d3:d70)
and have tried countif((d3:d71)((<>0)) with no luck.
any suggestions?
 
P

pinmaster

Try this array formula:
=SUM(IF(A1:A100<>0,1))
entered using SHIFT+CTRL+ENTER

HTH
JG
 
Top