Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
DCOUNTA function not working right
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. |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
DCOUNTA function not working right
I can't explain it, but here is a work-around:
=COUNTIF(B4:B15,B3) To use more criteria, add COUNTIF's. Hth, Merjet |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
DCOUNTA function not working right
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. |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
DCOUNTA function not working right
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 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
DCounta doesn't work | Excel Worksheet Functions | |||
Dcounta | Excel Discussion (Misc queries) | |||
please help with dcounta | Excel Discussion (Misc queries) | |||
DCOUNTA question | Excel Worksheet Functions | |||
Newly created Get Function is not working when I copied the syntax from a working function | Excel Programming |