count if the two cells are equal

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
 
S

Stefi

One way:
=SUMPRODUCT(--(A1:A10=B1:B10))
Adjust ranges to the real size of columns!

Regards,
Stefi

„sdwilson†ezt írta:
 
S

sdwilson

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???
 
D

Dave Peterson

Make sure you're in automatic calculation mode.

In xl2003:
tools|options|calculation tab
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top