Hi All,
This entry actually has similarities to my previous entry.
Only this time, I tried to use the same formula to get data from multiple criteria.
I have amended the formula, but not sure it is correct or not.
(Having two criteria is fixed but the other two criteria are variable)
Need anyone's help to verify.
I use this formula to get data from another sheet:
=IFERROR(INDEX(STORAGE_DATA!$H:$H,AGGREGATE(15,6,ROW(STORAGE_DATA!$H$3:$H$200)/($I$1=TRIM(STORAGE_DATA!$D$3:$D$200))/($K$1=STORAGE_DATA!$G$3:$G$200)/($H$3=STORAGE_DATA!$E$3:$E$200)/($L$3=STORAGE_DATA!$F$3:$F$200),ROWS($I$3:$I3))),"")
Can refer to the below data table,
This entry actually has similarities to my previous entry.
Only this time, I tried to use the same formula to get data from multiple criteria.
I have amended the formula, but not sure it is correct or not.
(Having two criteria is fixed but the other two criteria are variable)
Need anyone's help to verify.
I use this formula to get data from another sheet:
=IFERROR(INDEX(STORAGE_DATA!$H:$H,AGGREGATE(15,6,ROW(STORAGE_DATA!$H$3:$H$200)/($I$1=TRIM(STORAGE_DATA!$D$3:$D$200))/($K$1=STORAGE_DATA!$G$3:$G$200)/($H$3=STORAGE_DATA!$E$3:$E$200)/($L$3=STORAGE_DATA!$F$3:$F$200),ROWS($I$3:$I3))),"")
Can refer to the below data table,
FG Database Bundle.xlsm | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | K | L | |||
1 | SUMMARY → A6082 | INVENTORY → | A6082 | 50 | ||||||||||
2 | Ø | IN (pcs) | OUT (pcs) | TOTAL STOCK | Remark | BUNDLE NO | IN (pcs) | OUT (pcs) | TOTAL STOCK | LOT NO | ||||
3 | 22-602 | 6 | 03322V2 | |||||||||||
4 | 0 | 0 | 0 | 22-602 | 05322V1 | |||||||||
5 | 0 | 0 | 0 | 22-603 | 05322V1 | |||||||||
6 | 0 | 0 | 0 | 22-604 | 05322V1 | |||||||||
7 | 0 | 0 | 0 | 22-605 | 05322V1 | |||||||||
8 | 22-606 | 05322V1 | ||||||||||||
9 | TOTAL = | 0 | 0 | 0 | 22-607 | 05322V1 | ||||||||
10 | 22-608 | 05322V1 | ||||||||||||
11 | 22-609 | 05322V1 | ||||||||||||
12 | 22-610 | 05322V1 | ||||||||||||
13 | 22-611 | 05322V1 | ||||||||||||
14 | 22-612 | 05322V1 | ||||||||||||
15 | 22-613 | 05322V1 | ||||||||||||
16 | 22-614 | 05322V1 | ||||||||||||
17 | 22-615 | 05322V1 | ||||||||||||
18 | 22-616 | 05322V1 | ||||||||||||
19 | 22-617 | 05322V1 | ||||||||||||
20 | 22-618 | 05322V1 | ||||||||||||
21 | 22-619 | 05322V1 | ||||||||||||
22 | 22-620 | 05322V1 | ||||||||||||
23 | 22-620 | 17322V1 | ||||||||||||
24 | 22-621 | 17322V1 | ||||||||||||
INV_A6082 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
B3 | B3 | =H101 |
B4:D4 | B4 | =N101 |
B5:D5 | B5 | =T125 |
B6:D6 | B6 | =Z101 |
B7:D7 | B7 | =AF101 |
I3:I4 | I3 | =IFERROR(INDEX(STORAGE_DATA!$H:$H,AGGREGATE(15,6,ROW(STORAGE_DATA!$H$3:$H$200)/($I$1=TRIM(STORAGE_DATA!$D$3:$D$200))/($K$1=STORAGE_DATA!$G$3:$G$200)/($H$3=STORAGE_DATA!$E$3:$E$200)/($L$3=STORAGE_DATA!$F$3:$F$200),ROWS($I$3:$I3))),"") |
I5:I8 | I5 | =IFERROR(INDEX(STORAGE_DATA!$H:$H,AGGREGATE(15,6,ROW(STORAGE_DATA!$H$3:$H$200)/($I$1=TRIM(STORAGE_DATA!$D$3:$D$200))/($K$1=STORAGE_DATA!$G$3:$G$200)/($H$3=STORAGE_DATA!$E$3:$E$200)/($L$3=STORAGE_DATA!$F$3:$F$200),ROWS($I$3:$I5))),"") |
B9:D9 | B9 | =SUM(B3:B8) |
H3:H24 | H3 | =IFERROR(INDEX(STORAGE_DATA!$E:$E,AGGREGATE(15,6,ROW(STORAGE_DATA!$E$3:$E$200)/($I$1=TRIM(STORAGE_DATA!$D$3:$D$200))/($K$1=STORAGE_DATA!$G$3:$G$200),ROWS($H$3:$H3))),"") |
L3:L24 | L3 | =IFERROR(INDEX(STORAGE_DATA!$F:$F,AGGREGATE(15,6,ROW(STORAGE_DATA!$F$3:$F$200)/($I$1=TRIM(STORAGE_DATA!$D$3:$D$200))/($K$1=STORAGE_DATA!$G$3:$G$200),ROWS($L$3:$L3))),"") |
Press CTRL+SHIFT+ENTER to enter array formulas. |
Cells with Data Validation | ||
---|---|---|
Cell | Allow | Criteria |
I1 | List | =All_Alloy |
K1 | List | =REM_1 |