bksbksbks
New Member
- Joined
- Nov 18, 2024
- Messages
- 12
- Office Version
- 365
- 2019
- Platform
- Windows
- MacOS
- Web
The program creating my assignment groupings has an any/all option - either match any of the criteria (these jobs or any of these companies) or match all of them (these jobs only within these companies). I have been able to get the information to almost be where I need it to be - I have gotten far enough that if a job appears in my included job list (row 4 below) more than once, I know it meets all of the criteria and thus should appear in the final list of included jobs (rows 6+). There are occasionally excluded job roles, such as B5.
How can I find those duplicated jobs within C4?
Current sample formula in row 6 (with many thanks to Fluff!):
Book1 | |||||
---|---|---|---|---|---|
A | B | C | |||
1 | Assignment Group | Group1 | Group2 | ||
2 | Assigned Course | Dispensing Propane Safely | Dispensing Propane Safely | ||
3 | Any/All | All | Any | ||
4 | Includes | CUST MAINT MGR|TC HOUSEKEEPER|CUSTODIAL SUPER|TC SALES ASSOCIATE|TC DELI CLERK|CUST MAINT MGR|TC OFFICE ASSISTANT|TC ASSOCIATE MERCHANDISER|TC STORE SUPER|TC MGR|TC PARTS MANAGER HRLY|TC AST MGR|MAINTENANCE ASSOCIATE|STORE ASSOC UNDER 19|TC DELI CLERK UNDER 18|TC STOCK ASSOC UNDER 19|TC FC ASSOC UNDER 18 | CUST MAINT MGR|TC HOUSEKEEPER|CUSTODIAL SUPER|TC SALES ASSOCIATE|TC DELI CLERK|CUST MAINT MGR|TC OFFICE ASSISTANT|TC ASSOCIATE MERCHANDISER|TC STORE SUPER|TC MGR|TC PARTS MANAGER HRLY|TC AST MGR|MAINTENANCE ASSOCIATE|STORE ASSOC UNDER 19|TC DELI CLERK UNDER 18|TC STOCK ASSOC UNDER 19|TC FC ASSOC UNDER 18 | ||
5 | Excludes | TC AST MGR | |||
6 | All Included Jobs | CUST MAINT MGR | CUST MAINT MGR | ||
7 | CUSTODIAL SUPER | ||||
8 | MAINTENANCE ASSOCIATE | ||||
9 | STORE ASSOC UNDER 19 | ||||
10 | TC ASSOCIATE MERCHANDISER | ||||
11 | TC DELI CLERK | ||||
12 | TC DELI CLERK UNDER 18 | ||||
13 | TC FC ASSOC UNDER 18 | ||||
14 | TC HOUSEKEEPER | ||||
15 | TC MGR | ||||
16 | TC OFFICE ASSISTANT | ||||
17 | TC PARTS MANAGER HRLY | ||||
18 | TC SALES ASSOCIATE | ||||
19 | TC STOCK ASSOC UNDER 19 | ||||
20 | TC STORE SUPER | ||||
Sheet1 |
How can I find those duplicated jobs within C4?
Current sample formula in row 6 (with many thanks to Fluff!):
Excel Formula:
=IFERROR(TRANSPOSE(SORT(UNIQUE(TEXTSPLIT(TEXTJOIN("|",,IF(AC6<>"",LET(a,TEXTSPLIT(AC4,"|"),TEXTJOIN("|",,FILTER(a,ISNA(XMATCH(a,TEXTSPLIT(AC6,"|")))))),AC4)),"|"),TRUE),,,TRUE)),"")