Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / March 2008

Tip: Looking for answers? Try searching our database.

counta in array formula not working

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Bruce - 14 Mar 2008 22:40 GMT
Hi,

My series B13:B20 contains zero's and text values. I wish to count the text
values but not zero's or blanks.

I have tried the following as an array but its counting all cells in range
with the result = 8 which is not correct (as there are zeros and balnks in
the series).

=COUNTA(IF(B13:B20<>0,"A",0))

Any ideas?

Bruce
Tom Hutchins - 14 Mar 2008 22:48 GMT
How about
=SUMPRODUCT(--(LEN(B13:B20)>0),--(B13:B20<>0))

Hope this helps,

Hutch

> Hi,
>
[quoted text clipped - 10 lines]
>
> Bruce
Rick Rothstein (MVP - VB) - 14 Mar 2008 22:48 GMT
Does this do what you want?

=COUNTA(B13:B20)-COUNT(B13:B20)

Rick

> Hi,
>
[quoted text clipped - 11 lines]
>
> Bruce
T. Valko - 14 Mar 2008 23:02 GMT
>I wish to count the text values but not zero's or blanks

If blanks means empty cells:

=COUNTIF(B13:B20,"*")

Signature

Biff
Microsoft Excel MVP

> Hi,
>
[quoted text clipped - 11 lines]
>
> Bruce
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.