Home > Topics > excel > What is the usage of dcounta function in excel?

What is the usage of dcounta function in excel?

烟雨青岚
Release: 2020-07-06 14:08:03
Original
10919 people have browsed it

The dcounta function is used to return the number of non-empty cells in the column that meet the specified conditions in the list. The syntax is "DCOUNTA(database, field, criteria)"; the parameters in turn represent the cell range that constitutes the list, the column used by the specified function, and the cell range that contains the specified criteria.

What is the usage of dcounta function in excel?

The dcounta function in excel is used to return the number of non-empty cells in a column in a list that meet specified conditions.

Field parameters are optional. If the field is omitted, DCOUNTA counts all records in the database that match the criteria.

Syntax:

##DCOUNTA(database, field, criteria)

The DCOUNTA function syntax has the following parameters:

Database Required. A range of cells that makes up a list or database. A database is a list containing a set of related data, which contains behavioral records of related information, and the columns containing the data are fields. The first row of the list contains the labels for each column.

Field Optional. Specify the columns used by the function. Enter a column label with double quotes at both ends, such as "Years" or "Production"; or a number representing the column position in the list (without quotes): 1 means the first column, 2 means the second column, So on and so forth.

Criteria Required. The range of cells that contains the specified criteria. You can specify any range for the criteria parameter, as long as the range contains at least one column label, and there is at least one cell under the column label in which the criteria for the column are specified.

Remarks

You can specify any range for the parameter criteria, as long as this range contains at least one column label, and below the column label contains at least one cell for specifying the condition .

For example, if the range G1:G2 contains the column label Income in G1 and the quantity ¥100,000 in G2, you can name this range MatchIncome, then you can use this name as a condition parameter in the database function .

Although the criteria range can be located anywhere on the worksheet, do not place the criteria range further down the list. If you add more information to the list, the new information will be added on the first line below the list. If the rows below the list are not empty, Excel will not be able to add new information.

Make sure the condition area does not overlap with the list.

To perform an operation on an entire column in the database, add a blank row under the column label in the criteria area.

Recommended tutorial: "

excel tutorial"

The above is the detailed content of What is the usage of dcounta function in excel?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template