Home » excel » Excel Count Unique Values Whole Column e.g A:A

Excel Count Unique Values Whole Column e.g A:A

Posted by: admin May 14, 2020 Leave a comment

Questions:

I’m looking for a way to count unique values for the whole column (A:A).
Currently, I’m only able to write formulars like A1:A10 which does the job. However, when changing to A:A is returns #DIV/0

The formulars I’m currently using are:

=SUMPRODUCT(1/COUNTIF(A2:A607;A2:A607))

and

=SUM(IF(FREQUENCY(MATCH(A2:A607;A2:A607;0);MATCH(A2:A607;A2:A607;0))>0;1))
How to&Answers:

This will work

=SUMPRODUCT((A:A<>"")/COUNTIF(A:A, A:A & ""))