In this article, we will learn about how to use the DCOUNT function in Excel.
The DCOUNT function in Excel returns the number of fields containing numeric values on a selected set of tables
database : including headers
field : matched header
criteria : including headers
Let’s understand this function using it an example.
Here we have a table we need to count fields having certain condition.
Use the formula to count fields having city “Boston” & “Quantity” greater than 30.
The count is 7.
Use the formula to count fields having city “Los Angeles” & “TotalPrice” less than 100.
The count is 2.
Use the DCOUNTA function to count number fields having condition not only on numeric values.
Hope you understood how to use DCOUNT function in Excel. Explore more articles on Excel Count cells function here. Please feel free to state your query or feedback for the above article.
The applications/code on this site are distributed as is and without warranties or liability. In no event shall the owner of the copyrights, or the authors of the applications/code be liable for any loss of profit, any problems or any damage resulting from the use or evaluation of the applications/code.