I want to count only the cells with value either negative or positive. Currently, it counts all cells even the ones without data
Try:
=SUMPRODUCT((ISNUMBER(SEARCH("?*",A1:A4)))+0)
Aladin
=COUNTIF(A1:A4,">0")+COUNTIF(A1:A4,"<0")
will also work.
Aladin
=COUNTIF(A1:A5,"=") counts the blank cells
=COUNTIF(A1:A5,"<>") counts the non-blank cells
=COUNTIF(A1:A5,"=*") counts text values
=COUNTIF(A1:A5,"<>*") counts numeric and blank values
I don't get the first two, care to explain?
=COUNTIF(A1:A5,"=") counts the blank cells
=COUNTIF(A1:A5,"<>") counts the non-blank cells
for example
=COUNTIF(A1:A5,"JA")
would return 0 if Jane existed?
I was thinking it was defauting to zero, but that doesn't make any sense because the first one returns 0 if a1:a5 are populate with zeros.
I'm not questioning if they work, just why.
Thanks,
Ian
Thanks - I don't not get it now! (nt)