PC Review


Reply
Thread Tools Rate Thread

DCOUNTA function not working right

 
 
Grasshopper
Guest
Posts: n/a
 
      22nd May 2007
Hi all,

I am not quite sure if I did it right or there is something wrong with
the DCOUNTA function. Basically, I want to count the number of cells
that contains the letter "c" and "c" only (as the whole value in the
cell). A screen shot is provided at this link: http://www.f12f.com/dcounta.gif

As shown, the function also includes "cat" and "cap" - which is not
what I needed.

Could anyone help? The correct number should be 2.

I know this can be done using COUNTA function, but my employer wants
to use DCOUNTA to account for multiple criteria in the future.

Thanks.

 
Reply With Quote
 
 
 
 
merjet
Guest
Posts: n/a
 
      23rd May 2007
I can't explain it, but here is a work-around:
=COUNTIF(B4:B15,B3)
To use more criteria, add COUNTIF's.

Hth,
Merjet


 
Reply With Quote
 
Grasshopper
Guest
Posts: n/a
 
      23rd May 2007
Thanks Merjet, but what I need is to use DCOUNTA. This is the
specification for the task. I already know about the CountIF as I
have mentioned in my first post.

Again, I need to use DCOUNTA due to the project specification
requirement.


 
Reply With Quote
 
=?Utf-8?B?VG9tIE9naWx2eQ==?=
Guest
Posts: n/a
 
      23rd May 2007
Use this as your criteria:

="=c"

--
Regards,
Tom Ogilvy


"Grasshopper" wrote:

> Thanks Merjet, but what I need is to use DCOUNTA. This is the
> specification for the task. I already know about the CountIF as I
> have mentioned in my first post.
>
> Again, I need to use DCOUNTA due to the project specification
> requirement.
>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: DCOUNTA function not working right Grasshopper Microsoft Excel Programming 0 23rd May 2007 04:08 PM
Re: DCOUNTA function not working right Grasshopper Microsoft Excel Programming 1 23rd May 2007 04:02 PM
Re: DCOUNTA function not working right Grasshopper Microsoft Excel Programming 0 23rd May 2007 03:58 PM
Re: DCOUNTA function not working right merjet Microsoft Excel Programming 0 23rd May 2007 03:19 PM
Re: DCOUNTA function not working right merjet Microsoft Excel Programming 0 23rd May 2007 03:36 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:14 AM.