Very complex - Vlookup or Index/Match etc...

DarkSmile

Board Regular
Joined
Feb 22, 2021
Messages
90
Office Version
  1. 365
Platform
  1. Windows
Hi,

FILE : https://we.tl/t-F8T753nTpu

I need some help to lookup information, its hard to explain so I'm gonna try my best.
I have some clients, I lookup in an other table there "normen", these "normen" I sum up vertically
1675939264086.png


I than use a vlookup to go in an other sheet and where necessary give me there sectors.
1675939312858.png


What I wanna achieve now is to check which of my auditors is qualified for the full sector or partially and return "fully qualified" or "partially qualified"
How to achieve this :

In sheet "kwalificaties" you need to go search for the "norm", so for example "IFS", then underneath you have all the sectors summed up per auditor.
So short: lookup the norm + auditor => match in sheet "Planningstabel" the sector (E) with what's in sheet "kwalificaties" and return if its a full, partially or no match.

Example :

Customer test1 has IFS with following sectors =
01 Red and white meat, poultry and meat products , 07 Combined products , B Pasteurisation with the purpose to reduce food safety hazards (and UHT p… , D System, treatments to maintain product integrity and or safety , E Systems, treatments to prevent product contamination , F Any other manipulation, treatment, rocessing not being listed in A,B,C,D,E

now I need to go to sheet "kwalificaties" en match this ^ with the auditor's

Result will be:
Name1 : fully qualified (has the required sectors and even more)
Name2: idem
Name15: is not quallified
Name18: partially (has some of the requirements but not all)

The above should be done with all the norms, not all of them have requirements, some have an X (this means = fully qualified)
So we check all the norms that are summed up, and then in sheet "planningstabel" next to there names. there should come qualified, not qualified, partially qualified.
Fully qualified means they are ok to do all the norms.

I join you a file so that it's hopefully a little easier to understand, feel free to add extra columns if needed.

Thank you very much in advance!

David
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
is it possible you can post this using the xl2bb add in.
people that want to help you with this will have to do a lot of typing to simulate your data.
 
Upvote 0
is it possible you can post this using the xl2bb add in.
people that want to help you with this will have to do a lot of typing to simulate your data.
I added the file so you can download it, but here is the xl2bb data

MrExcel - File.xlsx
ABCDEFG
1KlantnaamKlantnaam2NormenNormen2SectorGekwalificeerd?Auditor
2test1test1IFS v7, ACS-018, ACS-019 Fenavian, BePork Slachthuis, BePork Uitsnijderij, Febev + Slachthuis voor varkens, Febev + Uitsnijderij voor varkens, BVI/MPT Slachthuis & Uitsnijderij, Colruyt, Export - China, Export Zuid-Korea Slachthuis, Export Zuid-Korea Uitsnijderij, Export Zuid-Korea VerwerkingIFS v701 Red and white meat, poultry and meat products , 07 Combined products , B Pasteurisation with the purpose to reduce food safety hazards (and UHT p… , D System, treatments to maintain product integrity and or safety , E Systems, treatments to prevent product contamination , F Any other manipulation, treatment, rocessing not being listed in A,B,C,D,EName1
3test1ACS-0180Name2
4test1ACS-019 FenavianN/AName3
5test1BePork SlachthuisN/AName4
6test1BePork UitsnijderijN/AName5
7test1Febev + Slachthuis voor varkensN/AName6
8test1Febev + Uitsnijderij voor varkensN/AName7
9test1BVI/MPT Slachthuis & UitsnijderijN/AName8
10test1ColruytN/AName9
11test1Export - ChinaN/AName10
12test1Export Zuid-Korea SlachthuisN/AName11
13test1Export Zuid-Korea UitsnijderijN/AName12
14test1Export Zuid-Korea VerwerkingN/AName13
15test1Name14
16test1Name15
17test1Name16
18test1Name17
19test1Name18
20test1Name19
21test1Name20
22test1Reserve
23test1Reserve
24test1Reserve
25test1Reserve
Planningstabel
Cell Formulas
RangeFormula
D2:D14D2=FILTER('Klant - sector'!G:G,'Klant - sector'!B:B=Planningstabel!A2)
E2E2=IFERROR(VLOOKUP(A2&D2,'Klant - sector'!A:J,8,FALSE),"N/A")
E3:E14E3=IFERROR(VLOOKUP(A2&D3,'Klant - sector'!A:J,8,FALSE),"N/A")
B2B2=A2
C2C2=TEXTJOIN(", ",TRUE,IF(A2=klant_sector[Name],klant_sector[standard],""))
B3B3=A2
B4B4=A2
B5B5=A2
B6B6=A2
B7B7=A2
B8B8=A2
B9B9=A2
B10B10=A2
B11B11=A2
B12B12=A2
B13B13=A2
B14B14=A2
B15B15=A2
B16B16=A2
B17B17=A2
B18B18=A2
B19B19=A2
B20B20=A2
B21B21=A2
B22B22=A2
B23B23=A2
B24B24=A2
B25B25=A2
Dynamic array formulas.
Named Ranges
NameRefers ToCells
'Klant - sector'!ExternalData_1='Klant - sector'!$B$1:$J$14D2:E2, E3:E14
 
Upvote 0
Bump, still need help pls
I have made I change, not sure if it will be helpfull:

I added a formula to return me the column number of the "norm", so now I need to say, search in "Kwalificaties" the name of the person, go to column x and return if it's empty or not
2023 planningstool workfile David.xlsx
DEFG
11592IFS v701 Red and white meat, poultry and meat products , 07 Combined products , B Pasteurisation with the purpose to reduce food safety hazards (and UHT p… , D System, treatments to maintain product integrity and or safety , E Systems, treatments to prevent product contamination , F Any other manipulation, treatment, rocessing not being listed in A,B,C,D,E64
11593ACS-018016
11594ACS-019 FenavianN/A17
11595BePork SlachthuisN/A29
11596BePork UitsnijderijN/A30
11597Febev + Slachthuis voor varkensN/A43
11598Febev + Uitsnijderij voor varkensN/A45
11599BVI/MPT Slachthuis & UitsnijderijN/A33
11600ColruytN/A35
11601Export - ChinaN/A36
11602Export Zuid-Korea SlachthuisN/A38
11603Export Zuid-Korea UitsnijderijN/A39
11604Export Zuid-Korea VerwerkingN/A40
11605N/A
11606N/A
11607N/A
11608N/A
11609N/A
11610N/A
11611N/A
11612N/A
11613N/A
11614N/A
11615N/A
Planningstabel
Cell Formulas
RangeFormula
D11592:D11604D11592=FILTER('Klant - sector'!G:G,'Klant - sector'!B:B=Planningstabel!A11592)
E11592E11592=IFERROR(VLOOKUP(A11592&D11592,'Klant - sector'!A:J,8,FALSE),"N/A")
E11593:E11604E11593=IFERROR(VLOOKUP(A11592&D11593,'Klant - sector'!A:J,8,FALSE),"N/A")
F11592:F11615F11592=IFERROR(MATCH(D11592,Kwalificaties!$1:$1),"N/A")
Dynamic array formulas.
Named Ranges
NameRefers ToCells
'Klant - sector'!ExternalData_1='Klant - sector'!$B$1:$J$1282D11592:E11592, E11593:E11604
 
Upvote 0
can you also post the potions of the worksheets (Kwalificates, and Klant-Sector) with lookup tables?
Also, please tell what cell formula is the problem, and what you expect the answer to be?

I cannot download your workbook.
 
Upvote 0
can you also post the potions of the worksheets (Kwalificates, and Klant-Sector) with lookup tables?
Also, please tell what cell formula is the problem, and what you expect the answer to be?

I cannot download your workbook.
So here is (hopefully) all you need;

Sheet: Planningstabel -> in this sheet needs to come the final "answer"
Cell Formulas
RangeFormula
D2:D14D2=FILTER('Klant - sector'!G:G,'Klant - sector'!B:B=Planningstabel!A2)
E2E2=IFERROR(VLOOKUP(A2&D2,'Klant - sector'!A:J,8,FALSE),"N/A")
E3:E14E3=IFERROR(VLOOKUP(A2&D3,'Klant - sector'!A:J,8,FALSE),"N/A")
B2B2=A2
C2C2=TEXTJOIN(", ",TRUE,IF(A2=klant_sector[Name],klant_sector[standard],""))
B3B3=A2
B4B4=A2
B5B5=A2
B6B6=A2
B7B7=A2
B8B8=A2
B9B9=A2
B10B10=A2
B11B11=A2
B12B12=A2
B13B13=A2
B14B14=A2
B15B15=A2
B16B16=A2
B17B17=A2
B18B18=A2
B19B19=A2
B20B20=A2
B21B21=A2
B22B22=A2
B23B23=A2
B24B24=A2
B25B25=A2
F2:F25F2=IFERROR(MATCH(D2,Kwalificaties!$1:$1),"N/A")
Dynamic array formulas.
Named Ranges
NameRefers ToCells
'Klant - sector'!ExternalData_1='Klant - sector'!$B$1:$J$14D2:E2, E3:E14


Sheet: kwalificaties -> from this sheet the formula needs to get the information
MrExcel - File.xlsx
ABCDEFGHIJKLMNOPQRSTUVWXYZAAABACADAEAFAGAHAIAJAKALAMANAOAPAQARASATAUAVAWAXAYAZBABBBCBDBEBFBGBHBIBJBKBLBMBNBOBPBQBRBSBTBUBV
1AuditorACS-003 Déb VianACS-007 RetailACS-023 HorecaACS-025 CollectivACS-026 boul distriACS-041 CrecheACS-044 BtoCACS-002 Ind LaitACS-004 BrasseriesACS-005 glaces-ijsACS-006ACS-009 Tran/col LaitACS-014 Fr et LégACS-017ACS-018ACS-019 FenavianACS-020 MeuneriesACS-022 ChoprabiscoACS-024ACS-026 boul transfoACS-027ACS-029ACS-032ACS-039Bel-P-PlusBelplume SlachthuisBelplume TransportBePork SlachthuisBePork UitsnijderijBePork VleesverwerkerBePork welfareBVI/MPT Slachthuis & UitsnijderijBVI/MPT VleesverwerkerColruytExport - ChinaExport Zuid-Korea KoelhuisExport Zuid-Korea SlachthuisExport Zuid-Korea UitsnijderijExport Zuid-Korea VerwerkingFebev + GroothandelFebev + Slachthuis voor runderenFebev + Slachthuis voor varkensFebev + Uitsnijderij voor runderenFebev + Uitsnijderij voor varkensGRMSISO 22000:2018SPECIFIC STANDARDAOECS Module for Gluten Free FoodsASDA-moduleBLKBRC Agents & BrokersBRC PackagingBRC S&DBRC v9FSMA Module Preventive Controls PreparednessFSSC 22000 v5GFCPHead OfficeIFS BrokerIFS Cash & Carry v2IFS Global Markets FoodIFS LIFS v7IFS Wholesale v2Suppliers FOODAldi AustraliëBarry CallebautCarrefourDelhaize - PIALidlLidl - Animal welfarePuratosTaste & Welfare audits - Belgian Porc Group
2Name1xxxxxxxxxxxxxxx1 Raw Red Meat , 5 Fruits, vegetables and nuts, 6 Prepared fruits, vegetables and nuts , 8 Cooked meat/fish products , 10 Ready meals and sandwiches, ready to eat desserts , 11 Low/high acid in cans/glass , 18 Oils and fats1 Raw Red Meat , 2 Raw Poultry , 4 Raw fish products and preparations , 5 Fruits, vegetables and nuts , 7 Dairy, liquid eggs , 9 Raw cured and/or fermented meat and fish01 Red and white meat, poultry and meat products , 05 Fruit and vegetables , 07 Combined products , 09 Oils and fats , B Pasteurisation with the purpose to reduce food safety hazards (and UHT process) , C Processed products: treatement with purpose to modify product and/or extend shelf life and/or reduce food safety hazards by preservation techniques and other processing techniques. , D System, treatments to maintain product integrity and or safety , E Systems, treatments to prevent product contamination , F Any other manipulation, treatment, rocessing not being listed in A,B,C,D,E
3Name2xxxxxxxxxxxxxxxxxxxx2 Paper Making , 4 Rigid Plastics , 5 Flexible Plastics , 7 Print Processes5 Fruits, vegetables and nuts, 6 Prepared fruits, vegetables and nuts , 7 Dairy, liquid eggs , 8 Cooked meat/fish products , 9 Raw cured and/or fermented meat and fish , 10 Ready meals and sandwiches, ready to eat desserts , 11 Low/high acid in cans/glass , 12 Beverages , 13 Alcoholic drinks and fermented/brewed products , 14 Bakery , 15 Dried foods and ingredients , 16 Confectionery , 17 Cereals and snacks , 18 Oils and fatsCIa Meat, and meat products, shell egg , CIIa Unprocessed F&V , CIIb Processed F&V , CIII Combined Products (RTE/RTH) , CIVa Ambient products (pasteurized/sterilized) , CIVb Bakery, snacks and breakfast cereals , CIVc Confectionary , CIVd Alcoholic and non-alcoholic drinks , CIVe Oils & fats , CIVf Dried goods , FIa Retail/wholesale with food processing , FIb Retail/wholesale without food processing , GI Transport and storage for perishable food and feed , GII Transport and storage of non perishable food, feed and packing material , K Production of (Bio) Chemicals , Ia Paper , Ib Plasticx1 Raw Red Meat , 2 Raw Poultry , 3 Raw prepared products (meat and vegetarian) , 4 Raw fish products and preparations , 5 Fruits, vegetables and nuts , 6 Prepared fruits, vegetables and nuts. , 7 Dairy, liquid eggs , 8 Cooked meat/fish products , 9 Raw cured and/or fermented meat and fish , 10 Ready meals and sandwiches, ready to eat desserts01 Red and white meat, poultry and meat products , 03 Egg and egg products , 04 Dairy products , 05 Fruit and vegetables , 06 Grain products, cereals, industrial bakery and pastry, confectionary, snacks , 07 Combined products , 08 Beverages , 09 Oils and fats , 10 Dry goods, other ingredients and supllements , B Pasteurisation with the purpose to reduce food safety hazards (and UHT process) , C Processed products: treatement with purpose to modify product and/or extend shelf life and/or reduce food safety hazards by preservation techniques and other processing techniques. , D System, treatments to maintain product integrity and or safety , E Systems, treatments to prevent product contamination , F Any other manipulation, treatment, rocessing not being listed in A,B,C,D,E
4Name3xxxxxxxxxxxxxxxx
5Name4xxxxxxxx
6Name5xxxxxxxxxxxxxxxxxxxxxxxxxxx1 Raw Red Meat , 2 Raw Poultry , 3 Raw prepared products (meat and vegetarian) , 5 Fruits, vegetables and nuts , 6 Prepared fruits, vegetables and nuts , 8 Cooked meat/fish products , 9 Raw cured and/or fermented meat and fishx1 Raw Red Meat , 2 Raw Poultry , 5 Fruits, vegetables and nuts , 7 Dairy, liquid eggs , 8 Cooked meat/fish products , 11 Low/high acid in cans/glass01 Red and white meat, poultry and meat products , 02 Fish and fish products , 05 Fruit and vegetables , 07 Combined products , 08 Beverages , 11 Pet food , B Pasteurisation with the purpose to reduce food safety hazards (and UHT process) , C Processed products: treatement with purpose to modify product and/or extend shelf life and/or reduce food safety hazards by preservation techniques and other processing techniques. , D System, treatments to maintain product integrity and or safety , E Systems, treatments to prevent product contamination , F Any other manipulation, treatment, rocessing not being listed in A,B,C,D,E
7Name6xxxxxxxxxxxxxxxxxxxxxxxxxxxx1. Chilled and frozen food , 2. Ambient food , 3. Packaging and packing materials , 4. Consumer products1 Raw Red Meat , 2 Raw Poultry , 3 Raw prepared products (meat and vegetarian) , 4 Raw fish products and preparations , 5 Fruits, vegetables and nuts , 6 Prepared fruits, vegetables and nuts , 7 Dairy, liquid eggs , 8 Cooked meat/fish products , 9 Raw cured and/or fermented meat and fish , 10 Ready meals and sandwiches, ready to eat desserts , 11 Low/high acid in cans/glass , 14 Bakery , 15 Dried foods and ingredients , 16 Confectionery , 18 Oils and fatsCIa Meat, and meat products, shell egg , CIc Dairy, liquid and dried egg , CIIa Unprocessed F&V , CIIb Processed F&V , CIII Combined Products (RTE/RTH) , CIVa Ambient products (pasteurized/sterilized) , CIVb Bakery, snacks and breakfast cereals , CIVe Oils & fats , CIVf Dried goods , GI Transport and storage for perishable food and feed , GII Transport and storage of non perishable food, feed and packing material , K Production of (Bio) Chemicals1 Raw Red Meat , 5 Fruits, vegetables and nuts , 6 Prepared fruits, vegetables and nuts. , 7 Dairy, liquid eggs01 Red and white meat, poultry and meat products , 05 Fruit and vegetables , 06 Grain products, cereals, industrial bakery and pastry, confectionary, snacks , 07 Combined products , B Pasteurisation with the purpose to reduce food safety hazards (and UHT process) , C Processed products: treatement with purpose to modify product and/or extend shelf life and/or reduce food safety hazards by preservation techniques and other processing techniques. , D System, treatments to maintain product integrity and or safety , E Systems, treatments to prevent product contamination , F Any other manipulation, treatment, rocessing not being listed in A,B,C,D,E
8Name7xxxxxxxxxxxxxxxx1 Raw Red Meat , 2 Raw Poultry , 3 Raw prepared products (meat and vegetarian) , 4 Raw fish products and preparations , 8 Cooked meat/fish products , 9 Raw cured and/or fermented meat and fish , 10 Ready meals and sandwiches, ready to eat dessertsCIa Meat, and meat products, shell egg , CIb Fish and fish products , CIII Combined Products (RTE/RTH) , FIa Retail/wholesale with food processing , FIb Retail/wholesale without food processing , GI Transport and storage for perishable food and feed , GII Transport and storage of non perishable food, feed and packing material1.1 Red and white meat, poultry and meat products , 1.2 Fish and fish products , 1.3 Egg and egg products , 1.4 Dairy Products , 1.5 Fruit and vegetables , 1.6 Grain products, cereals, industrial bakery and pastry, confectionary, snacks , 1.7 Combined Products , 1.8 Beverages , 1.9 Oils and fats , 1.10 Dry products, other ingredients and supplements , 3.1 Flexible packaging , 3.2 Rigid plastic , 3.3 Paper , 3.4 Metal , 3.5 Glass , 3.6 Other natural materials1 Raw Red Meat , 5 Fruits, vegetables and nuts , 7 Dairy, liquid eggsx01 Red and white meat, poultry and meat products , 05 Fruit and vegetables , 07 Combined products , B Pasteurisation with the purpose to reduce food safety hazards (and UHT process) , C Processed products: treatement with purpose to modify product and/or extend shelf life and/or reduce food safety hazards by preservation techniques and other processing techniques. , D System, treatments to maintain product integrity and or safety , E Systems, treatments to prevent product contamination , F Any other manipulation, treatment, rocessing not being listed in A,B,C,D,E
9Name8xxxxxxxxxxxxxxxxxx2 Paper Making , 3 Metal Forming , 4 Rigid Plastics , 5 Flexible Plastics , 7 Print Processes , VM Traded Goods1. Chilled and frozen food , 2. Ambient food , 3. Packaging and packing materials , 4. Consumer products4 Raw fish products and preparations , 5 Fruits, vegetables and nuts , 6 Prepared fruits, vegetables and nuts , 7 Dairy, liquid eggs , 8 Cooked meat/fish products , 9 Raw cured and/or fermented meat and fish , 10 Ready meals and sandwiches, ready to eat desserts , 11 Low/high acid in cans/glass , 12 Beverages , 13 Alcoholic drinks and fermented/brewed products , 14 Bakery , 15 Dried foods and ingredients , 16 ConfectioneryCIa Meat, and meat products, shell egg , CIc Dairy, liquid and dried egg , CIIa Unprocessed F&V , CIIb Processed F&V , CIII Combined Products (RTE/RTH) , CIVa Ambient products (pasteurized/sterilized) , CIVb Bakery, snacks and breakfast cereals , CIVc Confectionary , CIVf Dried goods , GI Transport and storage for perishable food and feed , GII Transport and storage of non perishable food, feed and packing material , FIa Retail/wholesale with food processing , FIb Retail/wholesale without food processing , K Production of (Bio) Chemicals , Ia Paper , Ib Plastic , Id Metal1.1 Red and white meat, poultry and meat products , 1.2 Fish and fish products , 1.4 Dairy Products , 1.5 Fruit and vegetables , 1.6 Grain products, cereals, industrial bakery and pastry, confectionary, snacks , 1.7 Combined Products , 1.8 Beverages , 1.9 Oils and fats , 1.10 Dry products, other ingredients and supplements , 3.1 Flexible packaging , 3.2 Rigid plastic , 3.3 Paper , 3.4 Metal , 3.5 Glass , 3.6 Other natural materials1 Raw Red Meat , 4 Raw fish products and preparations , 5 Fruits, vegetables and nuts , 6 Prepared fruits, vegetables and nuts. , 7 Dairy, liquid eggs , 8 Cooked meat/fish productsx01 Red and white meat, poultry and meat products , 04 Dairy products , 05 Fruit and vegetables , 06 Grain products, cereals, industrial bakery and pastry, confectionary, snacks , 07 Combined products , 08 Beverages , A Sterilisation (in final packaging) with the purpose to destroy pathogens , B Pasteurisation with the purpose to reduce food safety hazards (and UHT process) , C Processed products: treatement with purpose to modify product and/or extend shelf life and/or reduce food safety hazards by preservation techniques and other processing techniques. , D System, treatments to maintain product integrity and or safety , E Systems, treatments to prevent product contamination , F Any other manipulation, treatment, rocessing not being listed in A,B,C,D,E
10Name9xxxxxxxxxxxxxxxx1. Chilled and frozen food , 2. Ambient food , 3. Packaging and packing materials , 4. Consumer products1 Raw Red Meat , 3 Raw prepared products (meat and vegetarian) , 5 Fruits, vegetables and nuts , 6 Prepared fruits, vegetables and nuts , 7 Dairy, liquid eggs , 8 Cooked meat/fish products , 10 Ready meals and sandwiches, ready to eat desserts , 16 Confectioneryx1 Raw Red Meat , 5 Fruits, vegetables and nuts , 6 Prepared fruits, vegetables and nuts. , 7 Dairy, liquid eggsx01 Red and white meat, poultry and meat products , 05 Fruit and vegetables , 06 Grain products, cereals, industrial bakery and pastry, confectionary, snacks , 07 Combined products , B Pasteurisation with the purpose to reduce food safety hazards (and UHT process) , C Processed products: treatement with purpose to modify product and/or extend shelf life and/or reduce food safety hazards by preservation techniques and other processing techniques. , D System, treatments to maintain product integrity and or safety , E Systems, treatments to prevent product contamination , F Any other manipulation, treatment, rocessing not being listed in A,B,C,D,E
11Name10xxxxxxxxxxxxxxxxxxxxx
12Name15xxxxxxxxxxx2 Paper Making , 4 Rigid Plastics , 5 Flexible Plastics , 7 Print Processes
13Name16xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx1 Raw Red Meat , 2 Raw Poultry , 3 Raw prepared products (meat and vegetarian) , 5 Fruits, vegetables and nuts , 6 Prepared fruits, vegetables and nuts , 7 Dairy, liquid eggs , 8 Cooked meat/fish products , 9 Raw cured and/or fermented meat and fish , 10 Ready meals and sandwiches, ready to eat desserts , 11 Low/high acid in cans/glass , 12 Beverages , 14 Bakery , 15 Dried foods and ingredients , 16 Confectionery , 17 Cereals and snacks , 18 Oils and fatsx01 Red and white meat, poultry and meat products , 04 Dairy products , 05 Fruit and vegetables , 06 Grain products, cereals, industrial bakery and pastry, confectionary, snacks , 07 Combined products , 08 Beverages , 09 Oils and fats , 10 Dry goods, other ingredients and supllements , A Sterilisation (in final packaging) with the purpose to destroy pathogens , B Pasteurisation with the purpose to reduce food safety hazards (and UHT process) , C Processed products: treatement with purpose to modify product and/or extend shelf life and/or reduce food safety hazards by preservation techniques and other processing techniques. , D System, treatments to maintain product integrity and or safety , E Systems, treatments to prevent product contamination , F Any other manipulation, treatment, rocessing not being listed in A,B,C,D,E
14Name17xxxxxxxxxxxx
15Name18xxxxxxxxxxxxx4 Raw fish products and preparations , 5 Fruits, vegetables and nuts , 6 Prepared fruits, vegetables and nuts , 7 Dairy, liquid eggs , 8 Cooked meat/fish products , 9 Raw cured and/or fermented meat and fish , 10 Ready meals and sandwiches, ready to eat desserts , 14 Bakery , 15 Dried foods and ingredients , 16 Confectionery2 Raw Poultry , 5 Fruits, vegetables and nuts , 6 Prepared fruits, vegetables and nuts. , 7 Dairy, liquid eggs , 10 Ready meals and sandwiches, ready to eat desserts02 Fish and fish products , 05 Fruit and vegetables , 06 Grain products, cereals, industrial bakery and pastry, confectionary, snacks , 07 Combined products , 10 Dry goods, other ingredients and supllements , B Pasteurisation with the purpose to reduce food safety hazards (and UHT process) , C Processed products: treatement with purpose to modify product and/or extend shelf life and/or reduce food safety hazards by preservation techniques and other processing techniques. , D System, treatments to maintain product integrity and or safety , E Systems, treatments to prevent product contamination , F Any other manipulation, treatment, rocessing not being listed in A,B,C,D,E
16Name19xxxxxxxxxxxxxxxxxxxxxxxxxxx1. Chilled and frozen food , 2. Ambient food , 3. Packaging and packing materials , 4. Consumer products1 Raw Red Meat , 2 Raw Poultry , 3 Raw prepared products (meat and vegetarian) , 4 Raw fish products and preparations , 5 Fruits, vegetables and nuts , 6 Prepared fruits, vegetables and nuts , 8 Cooked meat/fish products , 9 Raw cured and/or fermented meat and fish , 10 Ready meals and sandwiches, ready to eat desserts , 14 Bakery , 16 Confectionery1.1 Red and white meat, poultry and meat products , 1.2 Fish and fish products , 1.3 Egg and egg products , 1.4 Dairy Products , 1.5 Fruit and vegetables , 1.6 Grain products, cereals, industrial bakery and pastry, confectionary, snacks , 1.7 Combined Products , 1.8 Beverages , 1.9 Oils and fats , 1.10 Dry products, other ingredients and supplements , 3.1 Flexible packaging , 3.2 Rigid plastic , 3.3 Paper , 3.4 Metal , 3.5 Glass , 3.6 Other natural materials1.1 Red and white meat, poultry and meat products , 1.2 Fish and fish products , 1.5 Fruit and vegetables , 1.6 Grain products, cereals, industrial bakery and pastry, confectionary, snacks , 1.7 Combined productsx01 Red and white meat, poultry and meat products , 02 Fish and fish products , 05 Fruit and vegetables , 06 Grain products, cereals, industrial bakery and pastry, confectionary, snacks , 07 Combined products , A Sterilisation (in final packaging) with the purpose to destroy pathogens , B Pasteurisation with the purpose to reduce food safety hazards (and UHT process) , C Processed products: treatement with purpose to modify product and/or extend shelf life and/or reduce food safety hazards by preservation techniques and other processing techniques. , D System, treatments to maintain product integrity and or safety , E Systems, treatments to prevent product contamination , F Any other manipulation, treatment, rocessing not being listed in A,B,C,D,E1.1 Red and white meat, poultry and meat products , 1.2 Fish and fish products , 1.5 Fruit and vegetables , 1.6 Grain products, cereals, industrial bakery and pastry, confectionary, snacks , 1.7 Combined products
Kwalificaties


Sheet: Klant - sector -> this sheet is used to get the sector (column E)

MrExcel - File.xlsx
ABCDEFGHIJ
1HelperNameStatusdateActiveproductstandardMANUEELSector code 2sector
2test1IFS v7test1customer21/03/2022yesFoodIFS v701 Red and white meat, poultry and meat products , 07 Combined products , B Pasteurisation with the purpose to reduce food safety hazards (and UHT p… , D System, treatments to maintain product integrity and or safety , E Systems, treatments to prevent product contamination , F Any other manipulation, treatment, rocessing not being listed in A,B,C,D,E01Red and white meat, poultry and meat products
3test1ACS-018test1customer25/03/2022yesFoodACS-018
4test1ACS-019 Fenaviantest1customer28/03/2022yesFoodACS-019 Fenavian
5test1BePork Slachthuistest1customer28/03/2022yesFoodBePork Slachthuis
6test1BePork Uitsnijderijtest1customer28/03/2022yesFoodBePork Uitsnijderij
7test1Febev + Slachthuis voor varkenstest1customer28/03/2022yesFoodFebev + Slachthuis voor varkens
8test1Febev + Uitsnijderij voor varkenstest1customer28/03/2022yesFoodFebev + Uitsnijderij voor varkens
9test1BVI/MPT Slachthuis & Uitsnijderijtest1customer29/03/2022yesFoodBVI/MPT Slachthuis & Uitsnijderij
10test1Colruyttest1customer29/03/2022yesFoodColruyt
11test1Export - Chinatest1customer29/03/2022yesFoodExport - China
12test1Export Zuid-Korea Slachthuistest1customer29/03/2022yesFoodExport Zuid-Korea Slachthuis
13test1Export Zuid-Korea Uitsnijderijtest1customer30/03/2022yesFoodExport Zuid-Korea Uitsnijderij
14test1Export Zuid-Korea Verwerkingtest1customer30/03/2022yesFoodExport Zuid-Korea Verwerking
Klant - sector
Cell Formulas
RangeFormula
A2:A14A2=CONCATENATE([@Name]&[@standard])


So what I need now, is a formula that does the following :
Information (like IFS and name of the auditor come from sheet Planningstabel)

Search for (for example) IFS (in sheet Kwalificaties (= column 64)
Then search for the name of the auditor and compare them to see if he is qualified

Yellow: what it needs to search (sheet planningstabel)
1676027215558.png


Orange: what the formula needs to do (sheet Kwalificaties)
Look for both and see if it has data in the cell
1676027308242.png


If there is data => (if possible) compare which data is set in sheet Kwalificaties and what is in sheet Planningstabel

1676027653203.png


VS

1676027677759.png



Note: there can be more data in sheet "Kwalificaties" than in sheet "Planningstabel" -> result "Qualified", if visa versa (more in Planningstabel than in "Kwalificaties" => partially qualified
If auditor is not found or the cell in "Kwalificaties" is empty => not qualified

This should be done for every "norm" from sheet Planninstabel
Note: if in sector it says N/A it means there are no specific sectors for this norm -> in sheet "Kwalificaties" it will just say X instead of text

1676027893485.png



It's a really complex thing to achieve, so if we need to break it down it smaller steps, I'm totally OK with it.


The and result would be this:
AuditorX: Qualified => means the auditor is qualified for ALL norm and can do ALL things
AuditorX : Partially Qualified => means he/she can do some of the norms but not ALL
AdutiorX : Not Qualified => Auditor can not do ANY norm

1676028119142.png
 
Upvote 0
can you also post the potions of the worksheets (Kwalificates, and Klant-Sector) with lookup tables?
Also, please tell what cell formula is the problem, and what you expect the answer to be?

I cannot download your workbook.
Are you able to help me? Thank you !
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,021
Latest member
Justyna P

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