Comparing columns

J

jv

I have two columns one contains the mailing address and the other has the
actual address. i want to compare these and if they are the same move the
address to another column so I can eliminate the rows where the addresses do
not match.
 
J

Jacob Skaria

Col A - address1
ColB - address2

ColC; cell C1

=IF(A1=B1,A1,"")

If this post helps click Yes
 
J

jv

I think that would work if i could also condition on the first 15 charactors
as the mailing addresses have ST, AVe BLVd and the actual addressdoes not
 
J

Jacob Skaria

=IF(LEFT(A1,15)=LEFT(B1,15),A1,"")

Difficult to suggest something unless you analyze the data..

If this post helps click Yes
 
J

jv

Here is the data for a line in my report

D L
C/O P O BOX 33 6063 CARROLL

Formula used

=IF(LEFT(D764,8)=LEFT(L764,8),D764,"")
 

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