Formula to identify unique values from two columns

Lucasc10

New Member
Joined
Jan 5, 2020
Messages
12
Office Version
  1. 2016
  2. 2013
Platform
  1. Windows
Hello everyone,

I am struggling to come up with a formula to find every unique value between two different columns. I would want it to identify a unique number only if it is unique between the two columns i.e if "5417" is in once on column A and once on Column B I am fine with that. That would make it a duplicate.

The ultimate goal is to identify these so I can delete them out and see the same numbers essentially in both columns. I can't do conditional formatting and filter because my data is 60,000+ rows long and it just won't work.

I am perfectly fine with some sort of helper column. Thanks!!!!

1582637018200.png
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
To eliminate the unique values in column A this in cell B2 and copy down.
Code:
=IF(COUNTIF(C:C,A2)=1,A2,"")
Then in cell D2 put this and copy down to eliminate unique values in column C.
Code:
=IF(COUNTIF(A:A,C2)=1,C2,"")
 
Upvote 0
Hi,

I would actually like it to be the ones that are unique when both columns are combined together. Thanks!!
 
Upvote 0
The ultimate goal is to identify these so I can delete them out and see the same numbers essentially in both columns
Guess I misunderstood this statement. So if you change the 1 to 0 in both formulas, it would then list the items unique to each column.
Code:
=IF(COUNTIF(C:C,A2)=0,A2,"")
 
Upvote 0
Cross posted Identify Unique Values from 2 colums

While we do allow Cross-Posting on this site, we do ask that you please mention you are doing so and provide links in each of the threads pointing to the other thread (see rule 13 here along with the explanation: Forum Rules). This way, other members can see what has already been done in regards to a question, and do not waste time working on a question that may already be answered.
 
Upvote 0

Forum statistics

Threads
1,224,818
Messages
6,181,152
Members
453,021
Latest member
Justyna P

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