Two criteria
=COUNTUNIQUE(FILTER(A2:A,B2:B="Paid",C2:C="West"))Adds a region condition.
Count distinct entries after limiting rows to a chosen status or group.
Count distinct entries after limiting rows to a chosen status or group. Use =COUNTUNIQUE(FILTER(A2:A,B2:B="Paid")), then replace the sample ranges with the columns in your sheet.
FILTER keeps matching rows; COUNTUNIQUE counts the remaining distinct entries.
| A | B | |
|---|---|---|
| 1 | Customer | Status |
| 2 | ||
| 3 | ||
| 4 | ||
| 5 |
=COUNTUNIQUE(FILTER(A2:A,B2:B="Paid",C2:C="West"))Adds a region condition.
=COUNTUNIQUE(FILTER(A2:A,B2:B="Paid",A2:A<>""))Excludes empty names.
=COUNTUNIQUE(FILTER(A2:A,B2:B>=E1,B2:B<=F1))Counts distinct entries between two dates.
Wrap the formula in IFERROR and return 0.
Clean the source with TRIM before counting.
Wrap the formula in IFERROR and return 0.
Clean the source with TRIM before counting.
Send this recipe to the SheetSteps assistant and describe how your columns are arranged.