This formula is execute only few range only
=COUNTIF($A$2:$A$22,$A2)
if i have more records what is formula can use (commonly to find duplicate records)

regards
Josh