Function Count on Excel is the basic Excel function that will be used to count data on Excel. Besides, we can use conditional Count counting function with COUNTIF or DCOUNT function.
The COUNTIF function will search for cells that match the given conditions. The search data area may contain regular characters or letters. With DCOUNT, the function counts the number of cells that contain numeric data in the list, or database with given conditions. The following article will guide you how to use the DCOUNT function on Excel.
Instructions for using DCOUNT on Excel
The DCOUNT function has a function syntax of DCOUNT (database, field, criteria) .
Inside:
Note:
We will proceed to process the following data table, counting the number of students who meet different conditions.
1. Calculate the number of students with a score greater than or equal to 8
According to the table, the data to count belongs to the numeric data type in the Van text column. In the input box, enter the formula that is = DCOUNT (A2: E7, D2, B9: B10) and press Enter.
Inside:
It is necessary to enter the field name of the conditional data area that matches the field name in the data table.
Step 2:
After pressing Enter the result is as shown below. There will be 2 students with a score greater than or equal to 8.
2. Calculate the number of students in grade A1 with a Math score greater than or equal to 7
As required, there will be 2 conditions to find value. But the DCOUNT function only uses data type counting so we can create a condition containing the Math class and grades as shown. The condition field will contain two conditions, but the conditional column name will let the column contain numeric data.
Enter the formula as = DCOUNT (A2: E7); C2; B9: B10) and press Enter.
Step 2:
As a result, only 1 grade A1 student has a Math score greater than or equal to 7.
3. Calculating grade A1 students with a score of 3 subjects is large or equal to 5
Step 1:
We will perform counting of numerical data with multiple conditions and with conditions other than numeric data. Set the condition area as shown. Then enter the formula as = DCOUNT (A2: E7; C2; B9: E10) and press Enter.
Step 2:
The result will be only one student of A1 class with a score of 3 major subjects 5.
4. Calculate the number of A1 students taking the exam
Here there will be a condition area of class A1. In the input box enter the formula as = DCOUNT (A2: E7; B2; B9: B10) and press Enter as shown.
The result will be 0 even though there are 2 A1 grade students taking the exam. This is because the DCOUNT function only counts with numeric data, so the condition of class A1 is a character type so the result of the return function is 0.
Above is how to use the DCOUNT function on Excel, the data counting function with the given conditions. For examples of finding different data and an example of a DCOUNT function that returns a result 0 above, you will know how to select the condition range exactly.
Instructions for using DCOUNT on Excel
See more:
I wish you all success!
ncG1vNJzZmismaXArq3KnmWcp51ktbDDjK2mZq2jmnqlr86upa1llqq7pMDIqKVmp55isrmvxKU%3D