NO. It is still counting 0 occurences in the cells. These 0s are generated through vlookup formulas.
I tried. I need something like IFZERO(vlookup,""). Please help
COUNTIF evaluates text numbers and numeric numbers as being equal.Perhaps the formula is returning text. Maybe
=COUNTIF(C59:C162,"?*")+COUNT(C59:C162)-COUNTIF(C59:C162,"0")
Book1 | |||
---|---|---|---|
A | |||
1 | 0 | ||
2 | 0 | ||
3 | 0 | ||
4 | 0 | ||
5 | 0 | ||
Sheet1 |
Hi,
Another possibility might be that the values are not really zero but some small amount and the formatting makes it look like zero. Perhaps see if this gives you a different answer:
=COUNTIF(C59:C162,"?*")+COUNT(C59:C162)-COUNTIF(C59:C162,"<1")
If not perhaps post some sample data or post your file on Box.com or SkyDrive and someone might be able to look at it.