Domanda

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!

È stato utile?

Soluzione

Try this one:

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

In picture below unique values highlighted with blue:

enter image description here

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top