Comparison Formula

limo2088

Board Regular
Joined
Feb 10, 2006
Messages
53
Office Version
  1. 2019
How can I get excel to spit out who I am missing? Please see my example below, So I have a full roster in Column C, who are "logged into the system" Column B, however some are missing. So instead of me doing a simple sort than comparing is there something I can use and have the results populate in Column D? Example below I did manually.

Mentor Checker.csv
BCD
2Logged Into SystemFull RosterMissing In System
3Andrew PickettAndrew PickettIrvin Jones
4Anita RussellAnita RussellCierra Barnes
5Benjamin KratkyBenjamin KratkyPhillip Carroll
6Brandon BrownleeBrandon Brownlee
7Derek WhipkeyCierra Barnes
8Derrick MarshallDerek Whipkey
9JASON GRACEDerrick Marshall
10Jayda NixIrvin Jones
11Jessie MuheisienJASON GRACE
12Johnathan MCRAEJayda Nix
13Jonathon HonakerJessie Muheisien
14Kelvonne KingJohnathan MCRAE
15Lamar WareJonathon Honaker
16Lashae JohnsonKelvonne King
17Lawrence LambertLamar Ware
18Marlesha BerryLashae Johnson
19PATRICK CONNORSLawrence Lambert
20Quinton ClemonsMarlesha Berry
21Roger OverfieldPATRICK CONNORS
22Travis SniderPhillip Carroll
23Quinton Clemons
24Roger Overfield
25Travis Snider
Mentor Checker
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
Load each column as an individual column to Power Query/Get and Transform Data found on the Data Tab.

Join the two tables/queries in a new query

Power Query:
let
    Source = Table.NestedJoin(FullRoster, {"Full Roster"}, LoggedIn, {"Logged Into System"}, "LoggedIn", JoinKind.LeftAnti),
    #"Removed Columns" = Table.RemoveColumns(Source,{"LoggedIn"})
in
    #"Removed Columns"

Book2
BCD
1Logged Into SystemFull RosterFull Roster
2Andrew PickettAndrew PickettCierra Barnes
3Anita RussellAnita RussellIrvin Jones
4Benjamin KratkyBenjamin KratkyPhillip Carroll
5Brandon BrownleeBrandon Brownlee
6Derek WhipkeyCierra Barnes
7Derrick MarshallDerek Whipkey
8JASON GRACEDerrick Marshall
9Jayda NixIrvin Jones
10Jessie MuheisienJASON GRACE
11Johnathan MCRAEJayda Nix
12Jonathon HonakerJessie Muheisien
13Kelvonne KingJohnathan MCRAE
14Lamar WareJonathon Honaker
15Lashae JohnsonKelvonne King
16Lawrence LambertLamar Ware
17Marlesha BerryLashae Johnson
18PATRICK CONNORSLawrence Lambert
19Quinton ClemonsMarlesha Berry
20Roger OverfieldPATRICK CONNORS
21Travis SniderPhillip Carroll
22Quinton Clemons
23Roger Overfield
24Travis Snider
Sheet1
 
Upvote 0
21 11 15.xlsm
BCD
2Logged Into SystemFull RosterMissing In System
3Andrew PickettAndrew PickettCierra Barnes
4Anita RussellAnita RussellIrvin Jones
5Benjamin KratkyBenjamin KratkyPhillip Carroll
6Brandon BrownleeBrandon Brownlee 
7Derek WhipkeyCierra Barnes 
8Derrick MarshallDerek Whipkey 
9JASON GRACEDerrick Marshall 
10Jayda NixIrvin Jones
11Jessie MuheisienJASON GRACE
12Johnathan MCRAEJayda Nix
13Jonathon HonakerJessie Muheisien
14Kelvonne KingJohnathan MCRAE
15Lamar WareJonathon Honaker
16Lashae JohnsonKelvonne King
17Lawrence LambertLamar Ware
18Marlesha BerryLashae Johnson
19PATRICK CONNORSLawrence Lambert
20Quinton ClemonsMarlesha Berry
21Roger OverfieldPATRICK CONNORS
22Travis SniderPhillip Carroll
23Quinton Clemons
24Roger Overfield
25Travis Snider
Missing
Cell Formulas
RangeFormula
D3:D9D3=IFERROR(INDEX(C:C,AGGREGATE(15,6,ROW(C$3:C$25)/ISNA(MATCH(C$3:C$25,B$3:B$22,0)),ROWS(D$2:D2))),"")
 
Upvote 0
21 11 15.xlsm
BCD
2Logged Into SystemFull RosterMissing In System
3Andrew PickettAndrew PickettCierra Barnes
4Anita RussellAnita RussellIrvin Jones
5Benjamin KratkyBenjamin KratkyPhillip Carroll
6Brandon BrownleeBrandon Brownlee 
7Derek WhipkeyCierra Barnes 
8Derrick MarshallDerek Whipkey 
9JASON GRACEDerrick Marshall 
10Jayda NixIrvin Jones
11Jessie MuheisienJASON GRACE
12Johnathan MCRAEJayda Nix
13Jonathon HonakerJessie Muheisien
14Kelvonne KingJohnathan MCRAE
15Lamar WareJonathon Honaker
16Lashae JohnsonKelvonne King
17Lawrence LambertLamar Ware
18Marlesha BerryLashae Johnson
19PATRICK CONNORSLawrence Lambert
20Quinton ClemonsMarlesha Berry
21Roger OverfieldPATRICK CONNORS
22Travis SniderPhillip Carroll
23Quinton Clemons
24Roger Overfield
25Travis Snider
Missing
Cell Formulas
RangeFormula
D3:D9D3=IFERROR(INDEX(C:C,AGGREGATE(15,6,ROW(C$3:C$25)/ISNA(MATCH(C$3:C$25,B$3:B$22,0)),ROWS(D$2:D2))),"")
Any Idea why this isnt working?

Alpha2.xlsx
ABC
7ID#NAME?
8Joseph Micco#NAME?
9Jonathon Honaker#NAME?
10Jakob Lenos#NAME?
11Quinton Clemons#NAME?
12Lee Donnelly#NAME?
13Cassidy Kaurich#NAME?
14Johnathan McRae#NAME?
15Colton Starcher#NAME?
16Derrick Marshall#NAME?
17Alexis Torres#NAME?
18Regis Wilkins#NAME?
19Dylan Stewart#NAME?
20Asia Dickey#NAME?
21Ronald Knight#NAME?
22Donald McGhee jr#NAME?
23Lawrence Lambert#NAME?
24Jayda Nix#NAME?
25Shon Byars#NAME?
26Travis Snider#NAME?
27Felix Muniz Ramos#NAME?
28Luis Torres#NAME?
29LaShae Johnson#NAME?
Sheet1
Cell Formulas
RangeFormula
C7:C29C7=FERROR(INDEX($A$8:$A$43,AGGREGATE(15,6,(ROW($A$8:$A$43)-ROW($A$8)+1)/(COUNTIFS($A$8:$A$43,"<"&$A$8:$A$43)+1=ROWS(C$3:C9))/($A$8:$A$43<>""),1)),"")
 
Upvote 0
At the front of your formula you have 'FERROR' rather than 'IFERROR'
wow, thanks for that, now I am getting this, why does it not count everyone?

Alpha2.xlsx
ABC
7IDDylan Stewart
8Joseph MiccoFelix Muniz Ramos
9Jonathon HonakerJakob Lenos
10Jakob LenosJayda Nix
11Quinton ClemonsJohnathan McRae
12Lee DonnellyJonathon Honaker
13Cassidy KaurichJoseph Micco
14Johnathan McRaeLaShae Johnson
15Colton StarcherLawrence Lambert
16Derrick MarshallLee Donnelly
17Alexis TorresLuis Torres
18Regis WilkinsQuinton Clemons
19Dylan StewartRegis Wilkins
20Asia DickeyRonald Knight
21Ronald KnightShon Byars
22Donald McGhee jrTravis Snider
23Lawrence Lambert 
24Jayda Nix 
25Shon Byars 
26Travis Snider 
27Felix Muniz Ramos 
28Luis Torres 
29LaShae Johnson 
Sheet1
Cell Formulas
RangeFormula
C7:C29C7=IFERROR(INDEX($A$8:$A$43,AGGREGATE(15,6,(ROW($A$8:$A$43)-ROW($A$8)+1)/(COUNTIFS($A$8:$A$43,"<"&$A$8:$A$43)+1=ROWS(C$3:C9))/($A$8:$A$43<>""),1)),"")
 
Upvote 0
As this is a totally different question from your OP, please start a new thread, explaining what you are trying to do. Thanks
 
Upvote 0
limo
Did you look at my solution? Any thoughts? Feedback?

Power Query is a free AddIn for Excel 2010 and 2013, and is built-in functionality from Excel 2016 onwards (where it is referred to as "Get & Transform Data").

It is a powerful yet simple way of getting, changing and using data from a broad variety of sources, creating steps which may be easily repeated and refreshed. I strongly recommend learning how to use Power Query - it's among the most powerful functionalities of Excel.

- Follow this link to learn how to install Power Query in Excel 2010 / 2013.

- Follow this link for an introduction to Power Query functionality.

- Follow this link for a video which demonstrates how to use Power Query code provided.
 
Upvote 0

Forum statistics

Threads
1,215,513
Messages
6,125,262
Members
449,219
Latest member
daynle

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