DCOUNTA function not working right

G

Grasshopper

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.
 
M

merjet

I can't explain it, but here is a work-around:
=COUNTIF(B4:B15,B3)
To use more criteria, add COUNTIF's.

Hth,
Merjet
 
G

Grasshopper

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top