Compare tables & get the missing items

sharshra

Active Member
Joined
Mar 20, 2013
Messages
404
Office Version
  1. 365
I have to compare 2 tables & list down the missing data from one of the tables. I tried to use variations of XLOOKUP, XMATCH etc, but not getting the correct output. Can the experts suggest please?

Requirement - Compare the data in the reference table & list the items which are not present in the master table.

Master table:
excel problems.xlsx
FGH
30namestatusdesc
31nmnma
32opioqa78k
33fda75s
34vcvi098y
35jkli23f
36dsi666a
37mmma9m
38fda
39wwwi
40ytyi
41wqa
42reyuam8
filter


Reference table:
excel problems.xlsx
BC
30namecomment
31dsy
32fdy
33reyu
34jklcom
35nmnm.,.,
36vcvn098m,1
37opioq,.-`+
38xzxz.,m
39ywqtr6y
filter


Desired output:
excel problems.xlsx
BC
44namecomment
45xzxz.,m
46ywqtr6y
filter
 

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.
Try ..

24 11 16.xlsm
ABCDEFGH
30namecommentnamestatusdesc
31dsynmnma
32fdyopioqa78k
33reyufda75s
34jklcomvcvi098y
35nmnm.,.,jkli23f
36vcvn098m,1dsi666a
37opioq,.-`+mmma9m
38xzxz.,mfda
39ywqtr6ywwwi
40ytyi
41wqa
42reyuam8
43
44namecomment
45xzxz.,m
46ywqtr6y
47
Sheet7
Cell Formulas
RangeFormula
B45:C46B45=FILTER(B31:C39,ISNA(MATCH(B31:B39,F31:F42,0)),"")
Dynamic array formulas.
 
Upvote 1
Solution
I have to compare 2 tables & list down the missing data from one of the tables. I tried to use variations of XLOOKUP, XMATCH etc, but not getting the correct output. Can the experts suggest please?

Requirement - Compare the data in the reference table & list the items which are not present in the master table.

Master table:
excel problems.xlsx
FGH
30namestatusdesc
31nmnma
32opioqa78k
33fda75s
34vcvi098y
35jkli23f
36dsi666a
37mmma9m
38fda
39wwwi
40ytyi
41wqa
42reyuam8
filter


Reference table:
excel problems.xlsx
BC
30namecomment
31dsy
32fdy
33reyu
34jklcom
35nmnm.,.,
36vcvn098m,1
37opioq,.-`+
38xzxz.,m
39ywqtr6y
filter


Desired output:
excel problems.xlsx
BC
44namecomment
45xzxz.,m
46ywqtr6y
filter
If they are actually tables that you are using.

Compare tables & get the missing items.xlsm
AB
1namecomment
2xzxz.,m
3ywqtr6y
Output
Cell Formulas
RangeFormula
A1:B3A1=VSTACK({"name","comment"},FILTER(Reference,ISNA(MATCH(Reference[name],Master[name],0)),""))
Dynamic array formulas.
 
Upvote 0
Thanks, @Peter_SSs. It works on the sample tables (y)

But when I apply it on the actual data, MATCH is not returning the correct values. Though there are no duplicate names, I see that MATCH is returning duplicate & incorrect return values. Not sure why. Any suggestions? Unfortunately, I can´t share the actual data since it is confidential.
 
Upvote 0
I can´t share the actual data since it is confidential.
Then construct some dummy data (or just disguise the original) that displays the problem?

If the suggested formula works with the sample data provided then it seems there is nothing fundamentally wrong with the formula.
More likely something unusual about the actual data or how the formula was applied in your worksheet. For that we can't really guess.
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,323
Members
452,635
Latest member
laura12345

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