Help with filter / compare two lists

Dazzybeeguy

Board Regular
Joined
Jan 6, 2022
Messages
118
Office Version
  1. 365
  2. 2010
Platform
  1. Windows
Hi - I want to compare the New List to the Old to Identify any new people. I want to then extract a list of all the new people to include the Ref and Name from Columns E & F.

Not sure how to do it all. Any help / guidance would be gratefully appreciated.


Book2.xlsx
ABCDEFGHIJ
1Old ListNew ListH2 Formula =XLOOKUP(E2:E13,B2:B13,C2:C13,"New Person",0)J2 Formula is =FILTER(H2#,(H2#="New Person"))
2A12345ArthurA12345ArthurArthurNew Person
3A12346BrianA12346BrianBrianNew Person
4A12347CathyA12347CathyCathyNew Person
5A12348DinaA12348DinaDinaNew Person
6A12349EllisA12349EllisEllis
7A12350FionaA12350FionaFiona
8A12351GaryA12351GaryGary
9A12352HaroldA12352HaroldHarold
10A12353IslaA12353IslaIsla
11A12354JohnA12354JohnJohn
12A12355KevinA12355KevinKevin
13A12356LiamA12356LiamLiam
14A12357MikeNew Person
15A12358NiahNew Person
16A12359OrenthalNew Person
17A999999ZacNew Person
18
19
Sheet1
Cell Formulas
RangeFormula
H2:H17H2=XLOOKUP(E2:E17,B2:B13,C2:C13,"New Person",0)
J2:J5J2=FILTER(H2#,(H2#="New Person"))
Dynamic array formulas.
Cells with Conditional Formatting
CellConditionCell FormatStop If True
H2:H13Cell Value="New Person"textNO
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
I have found a solution

i.e. =FILTER(E2:H17,H2#="new person")

Is there a better solution?
 
Upvote 0
try


Excel Formula:
=FILTER(F2:F17,IFERROR(XMATCH(E2:E17,B2:B13,0),"New")="New")


1733985886346.png
 
Upvote 0
Solution
Book1
BCDEFGHI
1Old ListNew List
2A12345ArthurA12345ArthurA12357Mike
3A12346BrianA12346BrianA12358Niah
4A12347CathyA12347CathyA12359Orenthal
5A12348DinaA12348DinaA999999Zac
6A12349EllisA12349Ellis
7A12350FionaA12350Fiona
8A12351GaryA12351Gary
9A12352HaroldA12352Harold
10A12353IslaA12353Isla
11A12354JohnA12354John
12A12355KevinA12355Kevin
13A12356LiamA12356Liam
14A12357Mike
15A12358Niah
16A12359Orenthal
17A999999Zac
Sheet1
Cell Formulas
RangeFormula
H2:I5H2=FILTER(E2:E17,ISNA(MATCH(E2:E17,B2:B13,0)))
Dynamic array formulas.


H2=FILTER(E2:E17,ISNA(MATCH(E2:E17,B2:B13,0)))

copy across
 
Upvote 0
.. or without copying across, just include both columns to start with.

24 12 12.xlsm
BCDEFGHIJK
1Old ListNew ListNew People
2A12345ArthurA12345ArthurA12357Mike
3A12346BrianA12346BrianA12358Niah
4A12347CathyA12347CathyA12359Orenthal
5A12348DinaA12348DinaA999999Zac
6A12349EllisA12349Ellis
7A12350FionaA12350Fiona
8A12351GaryA12351Gary
9A12352HaroldA12352Harold
10A12353IslaA12353Isla
11A12354JohnA12354John
12A12355KevinA12355Kevin
13A12356LiamA12356Liam
14A12357Mike
15A12358Niah
16A12359Orenthal
17A999999Zac
New People
Cell Formulas
RangeFormula
J2:K5J2=FILTER(E2:F17,ISNA(MATCH(E2:E17,B2:B13,0)),"")
Dynamic array formulas.
 
Upvote 0

Forum statistics

Threads
1,224,749
Messages
6,180,727
Members
452,995
Latest member
isldboy

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