This formula shows one way to count unique values, as long as they are numeric.

We use it here as a roundabout way to count unique numeric values.

Note: you could also use SUMPRODUCT to sum the items in the array.

Excel formula: Count unique numeric values with criteria

The FREQUENCY formula, while more complicated, calculates much faster.

These values can be numbers, cell references, ranges, arrays, and constants, in any combination.

SUM can handle up to 255 individual arguments.

Excel formula: Count unique text values in a range

COUNTIF can be used to count…

Excel formula: Count unique values in a range with COUNTIF

Excel formula: Count unique text values with criteria

Excel formula: Extract unique items from a list

Excel FREQUENCY function

Excel SUM function

Excel COUNTIF function