Lacan
Board Regular
- Joined
- Oct 5, 2016
- Messages
- 228
- Office Version
- 365
- Platform
- Windows
Dear Guys,
Not using VBA Code, accordingly with criteria (Customer Name+Month) how to filter function and SUM based on Partial Text Match (SUMIFS with wildcards)?
Hope someone could help???
Thank you very much!!!
Not using VBA Code, accordingly with criteria (Customer Name+Month) how to filter function and SUM based on Partial Text Match (SUMIFS with wildcards)?
Hope someone could help???
Thank you very much!!!
Search by Name_2.xlsm | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
B | C | D | E | F | G | H | I | J | K | |||
2 | CRITERIA | DATA BASE | ||||||||||
3 | Customer Name | Month | Product Name Abbreviation | EXCLUSIVES CUSTOMERS | EXCLUSIVES MONTH | Customer Name | Month | Product Name | Units | |||
4 | CNY | feb. 2023 | Rosuva+Ezet | ABA | jan. 2023 | ABA | feb. 2023 | ESPIRONOLACTONA 100 MG - 60 COMP. | 1 | |||
5 | Amlod+Olmes+Hctz | CNY | feb. 2023 | ABA | feb. 2023 | SINVASTATINA 20 MG - 60 COMP. | 80 | |||||
6 | Metform+Vilda | DIL | ABA | feb. 2023 | AMLODIPINA 10 mg - 60 Com | 20 | ||||||
7 | ABA | jan. 2023 | PRAVASTATINA 20 MG - 60 COMP. | 2 | ||||||||
8 | ABA | feb. 2023 | NIFEDIPINA 20 MG - 60 COMP. | 5 | ||||||||
9 | ABA | feb. 2023 | SINVASTATINA 40 MG - 60 COMP. | 2 | ||||||||
10 | ABA | feb. 2023 | ROSUVASTATINA + EZETIMIBA 20 + 10 mg 60 | 4 | ||||||||
11 | ABA | jan. 2023 | SERTRALINA 50 MG - 60 COMP. | 24 | ||||||||
12 | ABA | jan. 2023 | SERTRALINA 100 MG - 60 COMP. | 20 | ||||||||
13 | ABA | feb. 2023 | ROSUVASTATINA + EZETIMIBA 20 + 10 mg 60 | 16 | ||||||||
14 | CNY | feb. 2023 | RAMIPRIL 2,5 MG - 56 CAPS. | 2 | ||||||||
15 | RESULTS OF CRITERIA TABLE ABOVE | CNY | feb. 2023 | RAMIPRIL 5 MG - 56 CAPS. | 6 | |||||||
16 | Product Name | Sum Units | CNY | feb. 2023 | RAMIPRIL 10 MG - 56 CAPS. | 6 | ||||||
17 | CNY | feb. 2023 | RAMIPRIL + HCTZ 5 MG/25 MG - 56 COMP. | 1 | ||||||||
18 | CNY | feb. 2023 | OLANZAPINA 2,5X28 MG | 4 | ||||||||
19 | CNY | jan. 2023 | PANTOPRAZOL 20 MG - 56 COMP.GASTRO-RESIST. | 2 | ||||||||
20 | CNY | feb. 2023 | AMLOD+OLME+HCTZ 5 MG +20 MG +12,5 MG 56 | 69 | ||||||||
21 | CNY | jan. 2023 | MONTELUCASTE 10MG 28COMP | 2 | ||||||||
22 | CNY | feb. 2023 | AMLOD+OLME+HCTZ 5 MG +20 MG +12,5 MG 56 | 1 | ||||||||
23 | CNY | feb. 2023 | PANTOPRAZOL 40 MG - 56 COMP.GASTRO-RESIST | 2 | ||||||||
24 | CNY | jan. 2023 | EBASTINA 10MG-20 COMP | 6 | ||||||||
25 | DIL | feb. 2023 | QUETIAPINA 25MG 20 COMP | 12 | ||||||||
26 | DIL | feb. 2023 | MONTELUCASTE 10MG 28COMP | 2 | ||||||||
27 | DIL | feb. 2023 | ESPIRONOLACTONA 25 MG - 60 COMP. | 20 | ||||||||
28 | DIL | feb. 2023 | METFORMINA + VILDAGLIPTINA 1000 + 50 mg 60 | 4 | ||||||||
29 | DIL | jan. 2023 | CLOPIDOGREL GENERICOS 75MG 28C | 50 | ||||||||
30 | DIL | feb. 2023 | IRBESARTAN+HCTZ 150 12,5 28MG | 4 | ||||||||
31 | DIL | jan. 2023 | IRBESARTAN+HCTZ 300 12,5 28MG | 2 | ||||||||
32 | DIL | feb. 2023 | METFORMINA + VILDAGLIPTINA 1000 + 50 mg 60 | 3 | ||||||||
Sheet1 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
F4:F6 | F4 | =SORT(UNIQUE(H4:H32)) |
G4:G5 | G4 | =SORT(UNIQUE(I4:I32),,-1) |
Dynamic array formulas. |
Cells with Data Validation | ||
---|---|---|
Cell | Allow | Criteria |
B5 | List | =$G$4:$G$12 |
B4 | List | =$F$4:$F$6 |
C4 | List | =$G$4:$G$5 |