Counts the number of times all the given criteria are met in the given cell ranges.
Syntax
test_range: The ranges you want to test for the given criteria. Eg., B2:B8
condition: The condition may be:
A number, such as 15
An expression, such as 2/3 or SQRT(A1)
A text string, such as "zoho"
Remarks
The additional test_ranges provided must be of the same size as that of the first given test_range.
The COUNTIFS function is not case-sensitive i.e. APPLE and Apple are treated similar.
Examples
Formula |
Result |
=COUNTIFS( B2:B8 ; ">300" ; A2:A8 ; "Lockers" ) |
2 |
=COUNTIFS(E2:E8;">20";E2:E8;"<30") | 3 |
In example 1, the given conditions are to count the number of cells where the number of units of "Lockers" sold is greater than 300. Although there are three cells containing the term "Lockers", only 2 is returned as the result, because one of the units sold is lesser than 300.
Possible Errors
Errors |
Meaning |
#N/A! |
|
#NAME! |
|
#VALUE! |
|
#REF! |
|
Similar Functions
Learn how to use the best tools for sales force automation and better customer engagement from Zoho's implementation specialists.
If you'd like a personalized walk-through of our data preparation tool, please request a demo and we'll be happy to show you how to get the best out of Zoho DataPrep.
You are currently viewing the help pages of Qntrl’s earlier version. Click here to view our latest version—Qntrl 3.0's help articles.