View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.programming
JMay JMay is offline
external usenet poster
 
Posts: 422
Default Count Cells containing Text only

Perhaps you are looking for a programming answer and not a function answer,
anyway this single **Array-entered** formula is better. Use Ctrl+Shift+Enter
after
keying or pasting in:

=SUM(ISTEXT(A1:A100)*ISTEXT(A1:A100))

HTH

"JMay" wrote in message
news:oGrmb.101435$AH4.53542@lakeread06...
With your data in A1:A100
In B1 enter:
=--ISTEXT(A1) and copy down
Then Sum(B1:B100)

"Soniya" wrote in message
...
Hi all,
How can I count cells containing Text only?

TIA
Soniya