Get instant live expert help with Excel or Google Sheets
“My Excelchat expert helped me in less than 20 minutes, saving me what would have been 5 hours of work!”

Post your problem and you'll get expert help in seconds

Your message must be at least 40 characters
Our professional experts are available now. Your privacy is guaranteed.

Excel DCOUNTA Function

Figure 1. of Excel DCOUNTA Function.

We can be required to count matching records within a database by using specific criteria and an optional field. To do this, we can utilize the Excel DCOUNTA Function for counting the matching records within our worksheet database. This tutorial will walk through the process.

Generic Formula

=DCOUNTA (database,field,criteria)

Syntax Arguments.

 

  • database is the total cell range containing the data (headers included)

 

  • field is the name of the field/Index to count
  • criteria is our specified range (headers included)

 

 

How to Use the Excel DCOUNTA Function.

We are going to utilize the Excel COUNTA Function by following 2 simple steps;

  1. Input the database information in our Excel sheet. Label each column appropriately. See our example illustrated below;

Figure 2. of Database Entry in Excel.

  1. Our purpose here, is to count the number of multiple entries in the database by using specific criteria. Here, we want to find out the number of red items that cost more than $10

Figure 3. of DCOUNTA Function in Excel.

The formula syntax which we have entered into cell F2, in the example illustrated above is;

=DCOUNTA(A4:D11,"Colour",A1:D2)

Note

  • The range of cells for our database field in our Excel sheet illustrated above is A4:D11
  • The field range of cells is the entire column A (labeled COLOUR) in our Excel sheet.
  • The range of cells for our specified criteria is A1:D2 in our Excel sheet.
  • In the event that a cell within our database is empty, that cell will not be counted.

The Excel COUNTA Function will by default, count both text and number values in a given field as long as the specified criteria is matched.

Figure 4. of Final Result.

Instant Connection to an Expert through our Excelchat Service:

Our live Excelchat Service is here for you. We have Excel Experts available 24/7 to answer any Excel questions you may have. Guaranteed connection within 30 seconds and a customized solution for you within 20 minutes

Did this post not answer your question? Get a solution from connecting with the expert.

Another blog reader asked this question today on Excelchat:

Leave a Comment

avatar

Subscribe to Excelchat.co

Get updates on helpful Excel topics

Subscribe to Excelchat.co

Did this post not answer your question?
Get a solution from connecting with the expert

Another blog reader asked this question today on Excelchat:

Post your problem and you'll get expert help in seconds

Your message must be at least 40 characters
Our professional experts are available now. Your privacy is guaranteed.
Trusted by people who work at
Amazon.com, Inc
Facebook, Inc
Accenture PLC
Siemens AG
Macy's
The Allstate Corporation
United Parcel Service
Dell Inc