Compare 2 columns of data for duplicates

Makat

New Member
Joined
Mar 22, 2006
Messages
49
I have 2 columns that contain matching numbers. However, one column (A) has extra entries in it so the 2 columns do not match. I would like to compare the 2 columns and pull out all the extra numbers (in a list if possible) from column A that do not match the second column B.

Makat in FL
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
In a new column use the function =IF(A1<>B1,A1,"") & copy down the entire column. If the values in 2 columns do not match, it will return the value of column A & if they are equal it returns null
 
Upvote 0
The problem that I think I have is when it goes through to compare by matching, column A has the extra number so that it then throws off the matching in both columns. Then everything after that errors. I have just over 3000 rows of numbers that I am attempting to pull out the extra numbers.


ColA ColB

1111 1111
2222 2222
3333 3333
1234 4444
4444 5555
5555 6666
 
Upvote 0
Hi Makat,
Does my formua not work for you?
You will still get the extra number pull out in column C
 
Upvote 0
Yes, that looks like it works. Thanks so much for your help!!! I really appreciate it!
 
Upvote 0

Forum statistics

Threads
1,224,566
Messages
6,179,555
Members
452,928
Latest member
101blockchains

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top