I m trying to count the unique values in column A based on criteria - "Blue" of column B. the answer should be 3 but i get 1. the answer should be an excel formula, no array formula or vba.
Formula:
=SUM(IFERROR(1/COUNTIFS(A1:A12,A1:A12, B1:B12, "Blue"),0))
Data:
A Blue
B Red
C Green
B Blue
B Red
C Green
B Blue
B Red
C Green
C Blue
B Red
C Green