COUNTIF can be a memory hog when you create 10s of thousands against the same data set ad nauseum. If all you need is to spot if a value has occurred already, MATCH is distinctively quicker.
=IF(AND(A2<>"", ISNUMBER(MATCH(A2, $A$1:$A1, 0))), "ripetuto", "")
...copied down ad nauseum.
Bookmarks