counta result is wrong!

M

mindmaster

WinXP/Excell 2002

Counta($D:$D) returns 80 but there are 81 noneblank text items!

I tried: Counta($D$1:$D$65536) and still get 80.

I have gone up and down the column and there is no blank cell; as a matter
of fact, I clicked on the AutoFilter drop down button and it does not have
"blank row" in the show field.

I can use Rodney Powell's VBA function "LastCell" and it gets it right.

Anyone ever have this happen?

Thanks, Lee
 
M

mindmaster

Sorry, I found the problem: D1 had a button in it and I could not see
underneath it....D1 was blank.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top