Compare two lists in excel - with some complications

bspyke

New Member
Joined
Jun 18, 2018
Messages
1
Hi - I have a list of all certain census tracts in one column/workbook. On another workbook I have another list of census tracts, some duplicates, that may or may not exist on the first list. I am trying to identify the ones that are on both lists. VLOOKUP/MATCH don't seem to work. Maybe because the second list has duplicates? Please help! Thanks :)
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
A
B
C
D
E
1
List 1List 2
2
A
0​
B
1​
3
B
1​
H
0​
4
D
0​
I
0​
5
G
0​
H
0​
6
F
1​
F
1​
Sheet: Sheet6

Formula in cell B2:
=COUNTIF($D$2:$D$6,A2)

Formula in cell E2:
=COUNTIF($A$2:$A$6,D2)

A number higher than zero tells you that the value exists in the other list.
 
Upvote 0

Forum statistics

Threads
1,214,965
Messages
6,122,495
Members
449,088
Latest member
Melvetica

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