Problem:
We want to create a formula to determine the total number of times each value in List1 (column A) has been entered. The formula should also provide a textual indication of the calculated frequency.
Solution:
Use the IF and COUNTIF functions as shown in the following formula:
=IF(COUNTIF($A$2:$A$8,A2)=1,"Unique",
COUNTIF($A$2:$A$8,A2)&" Duplicates")
The applications/code on this site are distributed as is and without warranties or liability. In no event shall the owner of the copyrights, or the authors of the applications/code be liable for any loss of profit, any problems or any damage resulting from the use or evaluation of the applications/code.