I want to count unique strings based on condition in excel.
In the example below, column B
to F
are inputs and columns G
and H
is expected output.
Currently I am using formula for H6
=COUNTIFS(E1:E20, "<>", B1:B20, G6, C1:C20, "v1", D1:D20, "f")
But with this formula 1
is counted 2
times, but I don't want to count duplicate entries.
How can I ignore duplicates and count only distinct values based on condition?
A
is not part of input. – atg