EXCEL COUNTIF FUNCTION

This function counts the number of cells that fit the criteria and returns a number indicating the number of cells counted.

Syntax:

=COUNTIF (range, criteria)

Parameter list:

  • range – the number of cells to count in a certain range.
  • Criteria – the rules that govern which cells are counted.

Step By Step Guide of COUNTIF Function

In this example, if we are counting the apples. We provided the first parameter as the cell range A2:A8 and the second parameter as Apple itself. Similarly, we are counting each Fruit.

  • Numbers, arrays, a named range, or references to numbers can all be found in a range.
  • Values that are blank or text are ignored.
  • Wording must be surrounded by double quotation marks (“).
  • Double quotation marks are not necessary if the criterion is numerical.
  • In criterion, the wildcard characters? and * can be used. A question mark identifies any single character, but an asterisk identifies any sequence of characters.
  • To find a genuine question mark or asterisk, use a tilde () before the letter, as in?, *.

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