UPDATE: Forget this, just saw your data is in a different order, this wont work.

What does this produce?

in any cell type
=SUMPRODUCT(--(L6586:L7345=P6586:P7345))

It should be 760
If its not then your data is NOT the same.