count if the two cells are equal

  • Thread starter Thread starter sdwilson
  • Start date Start date
S

sdwilson

What do I use if I have two collums of data and I want to count how many of
them are the same
ie - A1 has a value of 1.1 while B1 has a value of 1.1
A2 has a value of 1.2 while B2 has a value of 1.4
I want the function to tell me that out of those two - one of those valus
remain the same in the next
 
One way:
=SUMPRODUCT(--(A1:A10=B1:B10))
Adjust ranges to the real size of columns!

Regards,
Stefi

„sdwilson†ezt írta:
 
Thanks! That worked but now i have another problem!
I am using the same formula but > rather then =
When I add information, the formula adjusts however if I take that
information away, the formula doesn't change! THis also happens with COUNTA
function as well. Any ideas???
 
Make sure you're in automatic calculation mode.

In xl2003:
tools|options|calculation tab
 
Back
Top