COUNTUNIQUEIFS

Returns the unique count of a range depending on multiple criteria.

Sample Usage

COUNTUNIQUEIFS(A2:A10, B2:B10, ">20")

COUNTUNIQUEIFS(A2:A10, B2:B10, ">20", C2:C10, "<30")

COUNTUNIQUEIFS(A2:A10, D2:D10, "Yes")

Parts of a COUNTUNIQUEIFS function

COUNTUNIQUEIFS(count_unique_range, criteria_range1, criterion1, [criteria_range2, criterion2, ...])

Part Description
count_unique_range The range from which the unique values will be counted.
criteria_range1 The range to check against criterion1.
criterion1 The pattern or test to apply to criteria_range1.
Criteria_range2, criterion2, … [OPTIONAL] - Additional ranges and criteria to check.

Notes

  • COUNTUNIQUEIFS will return 0 if none of the criterion are satisfied.
  • count_unique_range and all the criterion ranges must contain the same number of rows and columns.

Examples

Related functions

  • COUNTUNIQUE
  • COUNTIFS
  • IF
  • AVERAGEIFS
  • MAXIFS
  • SUMIFS
true
Visit the Learning Center

Using Google products, like Google Docs, at work or school? Try powerful tips, tutorials, and templates. Learn to work on Office files without installing Office, create dynamic project plans and team calendars, auto-organize your inbox, and more.

5890037517614718735
true
Search Help Center
true
true
true
true
true
35
Search
Clear search
Close search
Main menu
false
false
false