I assumed that's what the OP wanted. I read his question as to count cells
that are not blank,
whether it is from the cell being empty or from it having a formula
returning a blank
Peo
"Sandy Mann" wrote in message
...
Peo Sjoblom" wrote in message
... One way
=SUMPRODUCT(--(LEN(A1:A10)0))
Doesn't that return 0 for cells with "" in them?
I was going to post:
=COUNTBLANK(A1:A10)-COUNTIF(A1:A10,"*")
or
=COUNTIF(A1:A10,"=")
or the array entered:
=SUM(--ISBLANK(A1:A10))
But I was trying to work out if Harlan would come along and point out
where they would fail as well.
--
Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings
Replace @mailinator.com with @tiscali.co.uk