Quote Originally Posted by José Augusto View Post
Try
=SUMPRODUCT((A:A=B:B)*(A:A<>""))
You should avoid using entire columns as range references with the SUMPRODUCT function. Use small specific ranges.