I am trying to filter data in an Excel sheet using functions based on multiple columns. For example, if column B has '*ABC*', I want to count the number of unique values in column A.
A B
--- ---
1 xyz
1 abc
2 ABCD
3 AB
4 ABCE
4 qwe
4 ABC
5 xyzABC
For the above example, I am expecting the answer 3, since the number of unique values in A matching '*ABC*' are 2,4 and 5 => 3 unique values.
Index Match only returns the first result and I am not able to figure out how to use Countifs to join both these conditions - unique and wildcard match.