Formula to generate a Unique list of Missing values by comparing two lists

Benders

Board Regular
Joined
Mar 18, 2014
Messages
75
Is it possible to have a formula that generate a Unique list (List 1 and List 2) of Missing values in List 2 by comparing two lists? Something like this

List 1 List 2 Missing in List 2
1 1 3
3 4 6
5 5
6 6
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
Hi,

in A2:A10 first list, in B2:B5 second list.


Array INDEX in C2 :

Code:
=IFERROR(INDEX($A$2:$A$10,SMALL(IF(COUNTIF($B$2:$B$5,$A$2:$A$10)=0,ROW($A$2:$A$10)-1),ROWS($A$1:$A1))),"")

To be confirmed with control + shift+enter and copied down.

Hope it helps
 
Upvote 0
Assuming data is in columns A:B, then in C2:

=IFERROR(INDEX($A$2:$A$5,SMALL(IF(ISNA(MATCH($A$2:$A$5,$B$2:$B$10,0)),ROW($A$2:$A$5)-ROW($A$2)+1),ROWS($C$2:$C2))),"")

adjust ranges to suit, don't use ranges large than necessary to get all data. Then confirm with CTRL+SHIFT+ENTER not just ENTER and copy down.
 
Upvote 0

Forum statistics

Threads
1,215,071
Messages
6,122,964
Members
449,094
Latest member
Anshu121

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