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
 
Top