I have derived a file using two different methods; FoxPro and SQL. Because I am most familiar with it, I decided to compare the two end results in Excel to see if they are identical. 79,954 rows so needless to say, not going to do this line by line. First, I want to see if the company names are the same. I create a new tab and put the company name columns from each next to each other. From there, The first method that I used is
=exact (B2,C2)
It returns a false value when I can see with my eyes is not true. Next I use a very simple IF statement,
=if(b2=c2,0,1)
It returns a value of 1.
Is there a better method of doing this?
EXACT is case sensitive so you need to be sure you don't have any up/low letter mismatch.
You can also use equal which is NOT case sensitive:
This formula will return TRUE or FALSE.
If it's still not working perhaps you have some spaces or other hidden characters. A solution would be to check if B2 includes C2 and opposite.