Reference list of truck routes to roster

Jsejms

New Member
Joined
Jun 23, 2021
Messages
12
Office Version
  1. 365
Platform
  1. Windows
Hey guys,

I need to make a formula that compares the list of truck routes in column F to the days of my roster, and spits out the missing routes from roster (ideally a list under each day).
The roster is normally sorted out alphabetically by surname, but sometimes by truck routes.

1624994056436.png
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
MrExcelPlayground2.xlsm
ABCDEF
233-Jun4-Jun5-JunRoutes
24Person1AAKA
25Person2BCGB
26Person3BBFC
27Person4CIAD
28Person5FJDE
29Person6DHFF
30Person7EMEG
31Person8GOJH
32Person9GBKI
33Person10HAOJ
34Person11ABMK
35Person12JCDL
36Person13LEGM
37Person14PGHN
38Person15NQOO
39P
40Missed Routes   Q
41IDB
42KFC
43MKI
44OLL
45QNN
46PP
47Q
Sheet37
Cell Formulas
RangeFormula
B40:B45,D40:D47,C40:C46B40=UNIQUE(IF(XLOOKUP($F$24:$F$40,B24:B38,B24:B38,"XXX",0)="XXX",$F$24:$F$40,""))
Dynamic array formulas.
 
Upvote 0
Thanks for your help.

I have implemented this into my full roster and get this strange anomaly.
The formula is entered into cell D55:AS55.
Why does it occur an empty space in d55 and e55, then again in f56.

1624998978741.png
 
Upvote 0
Another option
+Fluff 1.xlsm
ABCDEFG
144350443514435244353Routes
2Person1AAKAA
3Person2BCGBB
4Person3BBFCC
5Person4CIADD
6Person5FJDEE
7Person6DHFFF
8Person7EMEGG
9Person8GOJHH
10Person9GBKII
11Person10HAOJJ
12Person11ABMKK
13Person12JCDLL
14Person13LEGMM
15Person14PGHNN
16Person15NQOOO
17
18
19Missed RoutesIDBNone
20KFC
21MKI
22OLL
23NN
24
List
Cell Formulas
RangeFormula
B19:B22,C19:D23B19=FILTER($G$2:$G$16,ISNA(XMATCH($G$2:$G$16,B2:B16,0)))
E19E19=FILTER($G$2:$G$16,ISNA(XMATCH($G$2:$G$16,E2:E16,0)),"None")
Dynamic array formulas.
 
Upvote 0
Solution
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,849
Messages
6,121,922
Members
449,056
Latest member
denissimo

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