Counting numbers in an array

B

BRob

I want to count the number of cells in an array (16x30) that contain a
number rather than an alpha character.

Is there an easier way than do 16 column calculations and adding them all up

Tx
 
G

Glenn

BRob said:
I want to count the number of cells in an array (16x30) that contain a
number rather than an alpha character.

Is there an easier way than do 16 column calculations and adding them all up

Tx


=SUM(IF(ISNUMBER(A1:p30),1,0))

(ctrl-shift-enter)
 
R

Ron Rosenfeld

I want to count the number of cells in an array (16x30) that contain a
number rather than an alpha character.

Is there an easier way than do 16 column calculations and adding them all up

Tx

The COUNT function will count cells that contain only numbers, so might do what
you want, provided the cells are not formatted as text, or also contain text.

Can the cells that contain numbers also contain text, and, if so, do you want
to count them, too?
--ron
 

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