Comparing two lists

srkj

New Member
Joined
Sep 27, 2011
Messages
13
Hello:

I am looking for some guidance here

I have one column/list 1 as follows in a worksheet (this list may have duplicates)

A
A
B
C
A
B

I have another column/list 2 as follows in another worksheet (this list will not have duplicates)

A
B
C
D
E

What I am trying to do is to compare / intersect these two lists and come back with an answer

D
E

Basically, I am trying to find the elements in List 2 which are NOT appearing at all in List 1.

I appreciate any pointers / guidance.

thanks
srkj
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
Here's an example where List 1 (not shown) is on sheet1 and list 2 is on sheet 2. Copy the formula in sheet2 cell B2 down to cover the entire content of list 2, and change the cell references in sheet 1 to cover the entire content of list 1.
Excel Workbook
AB
1List 2
2D550 
3TomNoMatch
4447u
5T09X
6****NoMatch
78tl7
8hk97
9rUlw
102YbC
11Bm95
12HarryNoMatch
13IDo1
14vCZ3
154maY
16h4YA
17af5F
Sheet2
 
Upvote 0
Thank you, JoeMo

=IF(ISNA(MATCH(A2,Tasks!$A:$A,0)),"AVAILABLE","")

It just solved the problem elegantly.
 
Upvote 0

Forum statistics

Threads
1,224,600
Messages
6,179,836
Members
452,947
Latest member
Gerry_F

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