• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Tabular Data Using Filter

Sonam@456

New Member
Hi Everyone,

So basically I have a dataset like the shown below.

Production BOM No.Line No.Version CodeTypeNo.DescriptionUnit of Measure CodeQuantity
N-10CKD50B-904525
10000​
BItem70CKD05-904BBT FSJ SSJSSHL
0.078​
N-10CKD50B-904525
20000​
BItem
4001545​
BSDFSDGDSFSNO
3.62​
N-10CKD50B-904525
30000​
BItem
4001149​
CRSGSDGSDXNO
12​
N-10CKD50B-904525
40000​
BItem
4001360​
GSDND SJKSNO
12​
N-10CKD50B-904525
50000​
BItem
4001169​
CaSFD SDWSNO
1​
N-10CKD50B-904525
60000​
BItem
4001543​
BSFS JSD ASFINO
8.38​
N-10CKD50B-904525
70000​
BItem
4001361​
LABEL NYDNO
12​
N-10CKD50B-904525
80000​
BItem
4001362​
LABEL NYDNO
12​
N-10CKD50B-904525
90000​
BItem
2000112​
CO2KG
0.0108​
N-10MDD1330B-401401
10000​
BItem70MDD05-401BBT-CBHL
0.0792​
N-10MDD1330B-401401
20000​
BItem
4001544​
Bottle-NNO
8.85​
N-10MDD1330B-401401
30000​
BItem
4001152​
CROWN-NYNO
24​
N-10MDD1330B-401401
40000​
BItem
4001172​
Carton CNO
1​
N-10MDD1330B-401401
50000​
BItem
4001542​
Bottle-ReNO
15.15​

So basically If I search for Production BOM No. N-10CKD50B-904525 Then It will show me 70CKD05-904, then if I will search 70CKD05-904 in Production BOM No. then it will show me 70CKD04-904 in No. like in stages. Then if I search 70CKD04-904 in Production BOM No. then it will show 70CKD03-904 in No.

So the both columns are interlinked Production BOM No. and No.

So I wanted that if I search for Production BOM NO. it shows me all the data at once of all the Stages.

Then I created this formula

=VSTACK(
FILTER(
CHOOSECOLS(Table3[[#All],[Production BOM No.]:[Scrap %]],1,5,6,8,9),
(Table3[[#All],[Production BOM No.]] = Samples2!$C$1) * (LEFT(Table3[[#All],[No.]], 2) <> "70")
),
FILTER(
CHOOSECOLS(Table3[[#All],[Production BOM No.]:[Scrap %]],1,5,6,8,9),
ISNUMBER(SEARCH(CONCAT(70,MID($C$1,5,3)), Table3[[#All],[Production BOM No.]])) * (RIGHT(Table3[[#All],[Production BOM No.]],3) = RIGHT($C$1,3)) * (LEFT(Table3[[#All],[No.]], 2) <> "70")
)

Where basically if I put the BOM No. in C1 I get all the data. and for the stages its second filter where I am taking first few digits and last 3 digits to match.

but now my main concern is this works if i am looking for BOM No. one at the time but now i want to look for 100 bom no. at once
 
Back
Top