EXCEL COUNTIFS FUNCTION

The COUNTIFS function applies criteria to cells in various ranges and counts how many times all criteria are fulfilled.

The number of rows and columns in each new range must be the same as in the criteria range1 parameter. The ranges do not have to be in close proximity to one another.

Syntax:

=COUNTIFS(criteria_range1, criteria1, [criteria_range2, criteria2]…)

Parameter list:

  • criteria range1 – the initial range to be evaluated.
  • criteria1 – the criterion for the criteria range, such as 45, “>65,” B4, “Apple,” 5/3/2011, or “96.
  • criterion range2, criterion2,…[Optional] additional ranges and criteria, with a total of 127 range/criteria pairs permitted.

Step By Step Guide of COUNTIFS Function

Example :

  • The number of rows and columns in each new range must be the same as in the criteria range1.
  • In the criterion, you can use wildcard characters, question mark (?) (matches any single character), and asterisk (*) (matches any sequence of characters).
  • Type a tilde (~) before the letter to find a real question mark or asterisk.

Related Functions

HLOOKUP Function

HLOOKUP Function

Explore Now

VLOOKUP Function

VLOOKUP Function

Explore Now

INDEX Function

INDEX Function

Explore Now

MATCH Function

MATCH Function

Explore Now

DATE Function

DATE Function

Explore Now

IF Function

IF Function

Explore Now

OR Function

OR Function

Explore Now

AND Function

AND Function

Explore Now

RANK Function

RANK Function

Explore Now

SUMIF Function

SUMIF Function

Explore Now

XIRR Function

XIRR Function

Explore Now

WORKDAYS Function

WORKDAYS Function

Explore Now