Reputation: 3
I'm doing a project in googlesheets and i need to use a formula that verifies if an input on a segment repeats in other segments on the same column.
Thanks in advance.
Upvotes: 0
Views: 45
Reputation: 34210
If you wanted to list which values were repeated, you could do it as single formula using:
=filter(unique(A:A),countif(A:A,unique(A:A))>1)
If you just wanted to know if there were any repeats anywhere, then it would just be
=counta(A:A)<>countunique(A:A)
Or if you wanted to flag up each row to show whether it was repeated or not:
=ArrayFormula(if(A:A<>"",countif(A:A,A:A)>1,))
Upvotes: 0