<< Click to Display Table of Contents >> DCOUNTA (database function) |
Syntax:
DCOUNTA(DatabaseArea, Column, CriteriaArea)
Description:
Returns the number of those values in a column of a database area that match the conditions specified in the criteria area.
Unlike the DCOUNT function, DCOUNTA not only counts cells containing numbers but also counts cells with text or logical values.
For more information on the use of database related functions, see Working with database functions.
DatabaseArea is a cell range containing the database to be evaluated. The first row of DatabaseArea must contain labels for the database columns (e.g., Amount, Price, etc.).
If the Column argument is not empty, the function only considers cells from the corresponding column. You can specify Column by its relative column number or by its column label in double quotation marks (e.g., "Amount", "Price", etc.).
CriteriaArea is a cell range containing one or more conditions that have to be fulfilled. The first row of CriteriaArea has to contain column labels (e.g., Amount, Price, etc.).
See also: