A
Aladin Akyurek
=COUNTA(A1:A30)
...Ok, here is what I have got so far for this, however I have been told that
the formula is too long. TBH, I have to agree. Can anybody shorten this for
me please?
Harlan Grove said:...
..
How many almost identical ROWS calls do you have? When could any of them ever
return a value differing from what the others return?
Does x-a+x-b+x-c = x+x+x-a-b-c?
Does x+x+x = 3*x?
As for the COUNTBLANK calls, if any of them other workbooks are ever closed,
your COUNTBLANK calls referring to the closed workbooks will return #VALUE!
errors, so your formula as a whole will return an error value. If you're dealing
with other workbooks, the safest way to count cells evaluating to anything other
than "" is
=SUMPRODUCT(--(Reference<>""))
This will propagate the first error value in Reference, if any. To include cells
evaluating as errors in the count, use
=SUMPRODUCT(--ISERROR(1/(Reference="")))
Whoever told you the formula was too long needs to be told in turn that some
formulas need to be long.