=COUNTIF(A:A,"0")
or, if you prefer,
=COUNT(A:A)-COUNTIF(A:A,"<=0")
Vaya con DIos,
Chuck, CABGx3
"Dr. Darrell" wrote:
I have a column which contains 20 cells with 4 negative values and 12
positive values.
I want to do a count, but I only want a count the positive valued cells
minus the negative valued cells. so the result of the count in this example
would be 12-4=8.
How do I write my function?
Darrell
|