count specific text that occurs in a range of cells
Hi Ken
Nice solution.
If the OP was using the words number and text merely as representative
of cells containing either numeric or text entries, then your formula
could be generalised to
=SUMPRODUCT(--(ISNUMBER(A1:A10)),--(ISTEXT(OFFSET(A1:A10,1,0))))
--
Regards
Roger Govier
"Ken Johnson" wrote in message
oups.com...
Hi Tim,
=SUMPRODUCT(--(A1:A10="NUMBER"),--(OFFSET(A1:A10,1,0)="TEXT"))
is probably a more logically consistent form of the same equation.
Ken Johnson
|