=COUNTIF(A:A,isnumber) cant work

  • Thread starter Thread starter crapit
  • Start date Start date
C

crapit

Hi, I want to count the number of cells at col. A that contain number only,
but it didnt work
=COUNTIF(A:A,isnumber)
 
I feel I knew the answer to this at one time, but ... why does your formula,
in a brand new empty sheet, with a virgin Column A, return a value of 1?

You enter a number into A, and it still returns 1.
You enter another number, and it returns 2.
Delete them both, and we're back to 1.
 
Because if no numbers are entered the formula returns

=COUNT(FALSE)

and since FALSE equals zero it counts

=COUNT(0)

which is 1


--
Regards,

Peo Sjoblom

(No private emails please)
 

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

Back
Top