I am using MS Excel 2013, and I am trying to run something like a Count distinct where. Here is my table
Name:
jim
james
frank
jillian
jim
john
patrick
jillian
anna
isabelle
I am trying to do a count distinct where name starts with a J, which would result in 4. Here is what I have so far.
SUMPRODUCT(1/countif([names],[names])) --- This counts unique names
SUMPRODUCT(--(LEFT([names],1)="j")) --- This counts all names that start with J
Im trying to find a way to combine these two together to count unique names that start with J. Thanks in advance.