Compare 2 columns extract unique / distinct records in 3 column without vba

sanjuss2

Board Regular
Joined
Nov 28, 2014
Messages
65
[TABLE="class: outer_border, width: 561, align: center"]
<colgroup><col><col><col><col><col span="2"></colgroup><tbody>[TR]
[TD][/TD]
[TD]Column A[/TD]
[TD]Column B[/TD]
[TD]Unique List with formula
[/TD]
[TD][/TD]
[TD]Autofilter[/TD]
[/TR]
[TR]
[TD="align: right"]1
[/TD]
[TD="align: right"]60122001[/TD]
[TD="align: right"]702995[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]702995[/TD]
[/TR]
[TR]
[TD="align: right"]2[/TD]
[TD="align: right"]60122005[/TD]
[TD="align: right"]60122112[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]60122112[/TD]
[/TR]
[TR]
[TD="align: right"]3[/TD]
[TD="align: right"]60122007[/TD]
[TD="align: right"]60122005
[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]60122005[/TD]
[/TR]
[TR]
[TD="align: right"]4[/TD]
[TD="align: right"]80112356[/TD]
[TD="align: right"]1458740[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]1458740[/TD]
[/TR]
[TR]
[TD="align: right"]5[/TD]
[TD="align: right"]60122011
[/TD]
[TD="align: right"]60122001[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]60122001[/TD]
[/TR]
[TR]
[TD="align: right"]6[/TD]
[TD="align: right"]60122013[/TD]
[TD="align: right"]60122033[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]60122033[/TD]
[/TR]
[TR]
[TD="align: right"]7[/TD]
[TD="align: right"]60122015[/TD]
[TD="align: right"]60122035[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]60122035[/TD]
[/TR]
[TR]
[TD="align: right"]8[/TD]
[TD="align: right"]60122035[/TD]
[TD="align: right"]60122043[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]60122043[/TD]
[/TR]
[TR]
[TD="align: right"]9[/TD]
[TD="align: right"]60122055[/TD]
[TD="align: right"]1234597[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]1234597[/TD]
[/TR]
[TR]
[TD="align: right"]10[/TD]
[TD="align: right"]60122075[/TD]
[TD="align: right"]60122003[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]60122003[/TD]
[/TR]
[TR]
[TD="align: right"]11[/TD]
[TD="align: right"]60122095[/TD]
[TD="align: right"]60122013[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]60122013[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]60122007
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]80112356[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]60122011[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]60122015[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]60122055[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]60122075[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I want comparing 2 columns & extract unique records in column naming Unique List with formula as I have done it by using data ---> remove duplicates
I want this result without using VBA as well as advance filter... this is actually sample data I have Column A 18750 records & Column B 21856 records....
thanks in advance
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
this is the formula give exact result
{=IFERROR(INDEX($A$2:$A$18,MATCH(0,COUNTIF($D$2:D2,$A$2:$A$18)+($A$2:$A$18=""),0)),IFERROR(INDEX($B$2:$B$12,MATCH(0,COUNTIF($D$2:D2,$B$2:$B$12)+($B$2:$B$12=""),0)),"-"))}
 
Upvote 0

Forum statistics

Threads
1,223,227
Messages
6,170,853
Members
452,361
Latest member
d3ad3y3

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