User-15895
User-15895

Reputation: 15

array formula - count if - return unique/duplicated

I am trying to convert this pull-down formula into an array formula:

=IF(COUNTIF(A$1:A1,A1)=1,"Unique","Duplicated")

enter image description here

Any help?

Upvotes: 0

Views: 87

Answers (1)

Erik Tyler
Erik Tyler

Reputation: 9345

This should work for you:

=ArrayFormula(IF(A:A="",,IF(COUNTIFS(A:A,A:A,ROW(A:A),"<="&ROW(A:A))=1,"Unique","Duplicated")))

Upvotes: 1

Related Questions