Index Not Working

limo2088

Board Regular
Joined
Feb 10, 2006
Messages
53
Office Version
  1. 2019
Can anyone tell me why this formula isn't working correctly? Column C is supposed to tell me who is missing from Column B in column A. So for example Andrew Lee Picket is in both Column A & B, therefor he should not be showing as missing in Column C. At one point the formula was spot on but not sure what heppened. If its the type of formatting with the names. I am lost



Master_Schedule Final10.xlsx
ABC
2Actual After Reductions In CortexDA ScheduledMissing From "Cortex" Operations/Delivery Schedule
3Andrew Lee PickettAndrew Lee PickettAndrew Lee Pickett
4Anita RussellAnita RussellColton Cyclle Starcher
5Benjamin KratkyBenjamin KratkyDerrick Lamar Marshall
6Colton Cyclle StarcherColton Cyclle StarcherJason Daniel Grace
7Derrick Lamar MarshallDerrick Lamar MarshallJeffrey Carl Othberg
8Jason Daniel GraceJason Daniel GraceJohn J Brown
9Jeffrey Carl OthbergJeffrey Carl OthbergJohnathan Terry McRae
10Jessie MuheisienJessie MuheisienJonathon Andrew Honaker
11John J BrownJohn J BrownLaMar LaRay Ware
12Johnathan Terry McRaeJohnathan Terry McRaeLaShae Cherie Johnson
13Jonathon Andrew HonakerJonathon Andrew HonakerLawrence Phillip Lambert
14LaMar LaRay WareLaMar LaRay WarePatrick Dennis Connors
15LaShae Cherie JohnsonLaShae Cherie JohnsonQuinton Demoine Clemons
16Lauren CallowayLauren CallowayRodger Overfield II
17Lawrence Phillip LambertLawrence Phillip LambertRubin francis Chappell
18Marlesha BerryMarlesha BerryTravis Allen Snider
19Patrick Dennis ConnorsPatrick Dennis Connors 
20Quinton Demoine ClemonsQuinton Demoine Clemons 
21Rodger Overfield Rodger Overfield II 
22Rubin francis ChappellRubin francis Chappell 
23Travis Allen SniderTravis Allen Snider 
24  
25  
Route Reductions 2
Cell Formulas
RangeFormula
B3:B25B3='Manual Morning Schedule'!B3
C3:C23C3=IFERROR(INDEX($B:$B,AGGREGATE(15,6,ROW($B$3:$B$23)/(COUNTIF($A$3:$A$23,LEFT($B$3:$B$23,SEARCH(" ",$B$3:$B$23))&TRIM(RIGHT(SUBSTITUTE($B$3:$B$23," ",REPT(" ",100)),100)))=0),ROW(1:1))),"")
C24:C25C24=IFERROR(INDEX($B:$B,AGGREGATE(15,6,ROW($B$3:$B$70)/(COUNTIF($A$3:$A$30,LEFT($B$3:$B$70,SEARCH(" ",$B$3:$B$70))&TRIM(RIGHT(SUBSTITUTE($B$3:$B$70," ",REPT(" ",100)),100)))=0),ROW(22:22))),"")
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
I have a more straightforward approach that returns: Yes if Column A is in B, and No if Column A is not in B. However, this won't show the name, but I think you can filter on "NO" to get the list of people that were not scheduled from A.
Try in an empty column
=IF(COUNTIF(B:B,A1),"YES","NO")
 
Upvote 0

Forum statistics

Threads
1,215,055
Messages
6,122,902
Members
449,097
Latest member
dbomb1414

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