compare two lists and create a 3rd list of missing values

palaeontology

Active Member
Joined
May 12, 2017
Messages
444
Office Version
  1. 2016
Platform
  1. Windows
In the range D6:D300 I have a list of 5-digit student id numbers ... some cells in the range might be empty

In the range E6:E300 I have a list of student id numbers that have submitted a survey response ... some cells in the range might be empty

In the range F6:F300 I would like to return a list of those student id numbers that appear in D6:D300, but not in E6:E300 ... there won't be many id numbers returned in this list, so most of the cells should come back as looking empty

I have seen a few videos showing how to do this using the 'FILTER' function, but I don't seem to have that function (Excel 2016)

Is there a different way to achieve this ... I need the solution to be a formula .. I can't have it as a manual series of steps.

Kind regards,

Chris
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
Try below .

Book1
DEFG
6List AList BHelper CoumnMissing Data
7Test 1Test 1FALSETest 5
8Test 2Test 2FALSETest 8
9Test 3Test 3FALSETest 13
10Test 4Test 4FALSE 
11Test 5TRUE 
12Test 6Test 6FALSE 
13Test 7Test 7FALSE 
14Test 8TRUE 
15Test 9Test 9FALSE 
16Test 10Test 10FALSE 
17Test 11Test 11FALSE 
18Test 12Test 12FALSE 
19Test 13TRUE 
20Test 14Test 14FALSE 
21Test 15Test 15FALSE 
22Test 16Test 16FALSE 
23Test 17Test 17FALSE 
Sheet1
Cell Formulas
RangeFormula
F7:F23F7=ISERROR(VLOOKUP(D7,$E$7:$E$306,1,0))
G7:G23G7=IFERROR(INDEX($D$7:$D$306,AGGREGATE(15,6,ROW($D$7:$D$306)-ROW($D$7)+1/($F$7:$F$306=TRUE),ROWS(G$7:G7))),"")
 
Upvote 0
Another option
+Fluff 1.xlsm
DEF
5List AList B
6Test 1Test 1Test 5
7Test 2Test 2Test 8
8Test 3Test 3Test 13
9Test 4Test 4 
10Test 5 
11Test 6Test 6 
12Test 7Test 7 
13Test 8 
14Test 9Test 9 
15Test 10Test 10 
16Test 11Test 11 
17Test 12Test 12 
18Test 13 
19Test 14Test 14 
20Test 15Test 15 
21Test 16Test 16 
22Test 17Test 17 
23
Lists
Cell Formulas
RangeFormula
F6:F22F6=IFERROR(INDEX($D$6:$D$300,AGGREGATE(15,6,(ROW($D$6:$D$300)-ROW($D$6)+1)/(ISNA(MATCH($E$6:$E$300,$D$6:$D$300,0)))/(D6:D300<>""),ROWS(F$6:F6))),"")
 
Upvote 0

Forum statistics

Threads
1,214,946
Messages
6,122,401
Members
449,081
Latest member
JAMES KECULAH

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