Count-duplicate-and-distinct-duplicate-values-in-a-column-in-excel

Count duplicate distinct values

Formula in E18:

=ABS(SUM(IF(COUNTIF(A2:A16, A2:A16)>1, (1/COUNTIF(A2:A16, A2:A16))-1, 0))) + CTRL + SHIFT + ENTER

Download excel example file.
Count duplicate distinct values in a column in excel.xls
(Excel 97-2003 Workbook *.xls)

Functions:

ABS(number)
Returns the absolute value of a number, a number without its sign.

IF(logical_test;[value_if:true];[value_if_false])
Checks whether a condition is met, and returns one value if TRUE, and another value if FALSE

COUNTIF(range,criteria)
Counts the number of cells within a range that meet the given condition

SUM(number1,[number2],)
Adds all the numbers in a range of cells

This blog article is one out of twelve articles on the same subject "count unique and unique distinct".