Question

I have a column with strings. I only want to count the strings which are unique.

I know that I could just derive all distinct strings(by pasting them) and then count them with =Count(...). However I do not want to destroy my dataset. Therefore, is there a formula for counting only unique strings?

I really appreciate your answer!

Was it helpful?

Solution

Try this one:

=SUMPRODUCT(1*(COUNTIF(A1:A10,A1:A10)=1))

In picture below unique values highlighted with blue:

enter image description here

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top