returned calculation incorrect

  • Thread starter Thread starter Gotroots
  • Start date Start date
G

Gotroots

The following formula returns a total of 53 when in fact it should be 39

=COUNTA(AL10:AL8002)+'other additions'!AK5

puzzled
 
Perhaps the "dreaded space bar" has been touched

=SUMPRODUCT((LEN(TRIM(M1:M21))>0)*1)
 
Hi,

Not enough information but COUNTA will count all populated cells in the range.

Mike
 
You must be having formulas in the range which return blank entries...Try one
of these formulas

=COUNTIF(AL10:AL8002,"?*")+COUNT(AL10:AL8002)
=SUMPRODUCT(--(TRIM(AL10:AL8002)<>""))

If this post helps click Yes
 
Back
Top