Excel to return a value in a column, if multiple criteria meets

Ann Ooi

New Member
Joined
Jun 12, 2020
Messages
40
Office Version
  1. 365
Platform
  1. Windows
I tried to return a value in sheet1, column A (vertical), to sheet 2 (Horizontal format), if the "Process_Step" and "WO" is matched. As the data is huge and there're many columns, I do not know how to specifically to use the index and match or vlookup, to return the column A value (Date) if the criteria are meet. The INDEX formula I written, is not working as I understand it's not making sense to Excel. [=IF(INDEX(WIP!$A$1:$W$8835,MATCH($B3,WIP!$U:$U,0),MATCH(C$2,WIP!$L:$L,0)),C3=WIP!$A:A,"")]
Sheet1.JPG


Sheet2.JPG
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
1. We cannot manipulate data in a picture. Please upload same data using XL2BB. See my signature for link to understand
2. Also upload a mocked up result based upon the data you have presented. It is nice to know how you want your solution presented and also to understand exactly what you are asking.
 
Upvote 0
I corrected the index/match formula as =INDEX(WIP!$L:$L,MATCH(Sheet2!C$2&$B3,INDEX(WIP!$A:$A&WIP!$U:$U,0),0)), and it works now.
I changed the table format to below, but there are few matching that is duplicates, which means the value to return is more than 1, is there anyway, I can return all the duplicate lines in worksheet "WIP"/ column L, to the cell below at 2nd sheet? e.g. FVI/Marking
sheet table.JPG
 
Upvote 0
Still cannot manipulate data in a picture. Please read post #2
 
Upvote 0
HI Alan, I copied as below. There're 3 worksheets in my file, and I'm having hard time with this file, as it's keeps on calculating, I have to manual calculate the formula and row by row copy paste the formula to every cells. even I left only one formula for reference, it's still keeps on calculating, which I have no idea what is the problem. Is there anyway to have VBA to paste the value offer instead?

Worksheet {WIP_Flow} is the final result I'm expecting
worksheet {Pivot} is I do pivot to get the range of date (a month data), and copy paste over to WIP_Flow
Worksheet {WIP} is the range of data for 1 month, highlighted columns are all the information I used to populate the final result.

WIP Table_test.xlsx
E
1220191107
WIP


WIP Table_test.xlsx
E
21
Pivot


WIP Table_test.xlsx
D
2TTST
WIP_Flow
Cell Formulas
RangeFormula
D2D2=IF(ISNA(INDEX(WIP!$G:$G,MATCH(WIP_Flow!D$1&$B2,INDEX(WIP!$A:$A&WIP!$K:$K,0),0))),"",INDEX(WIP!$G:$G,MATCH(WIP_Flow!D$1&$B2,INDEX(WIP!$A:$A&WIP!$K:$K,0),0)))
Named Ranges
NameRefers ToCells
WIP!_FilterDatabase=WIP!$A$1:$K$58294D2
 
Last edited:
Upvote 0
There is no data that resembles your post #1 in what you have provided in post #5. You will need to highlight the entire range to copy to XL2BB. It appears that you may have only highlighted and copied single cells.
 
Upvote 0
Hi Alan, Hopefully I do it right this time.

WIP Flow Table_Sample.xlsx
ABCDEFGHIJKL
1Cut Off DateLOTIDLOT NODEVICEPT ISSUE DATECURRENT QTYSTEP_LOCATION_NEWPROCESS_STEPPACKAGEWO #TypeConcatenate(LotID&WO #)
26/1/2020018SD06E018SD06E54-90-53327-016G202004305153T100Top MarkSLGA1123542054-90018SD06E11235420
36/1/2020018SD07E018SD07E54-90-53327-016G202004309571T475Elec TestSLGA1123542154-90018SD07E11235421
46/2/2020018SD07E018SD07E54-90-53327-016G202004309571T100Elec TestSLGA1123542154-90018SD07E11235421
56/3/2020018SD07E018SD07E54-90-53327-016G202004303723A165Top MarkSLGA1123542154-90018SD07E11235421
66/1/2020018SD15B01018SD1554-62-74913-128G202005044291A080FVISLGA1119286154-62018SD15B0111192861
76/2/2020018SD15B01018SD1554-62-74913-128G202005044291T450FVISLGA1119286154-62018SD15B0111192861
86/7/2020020SD11E020SD11E54-90-36803-016G202005195640A165Elec TestSLGA1126420654-90020SD11E11264206
96/8/2020020SD11E020SD11E54-90-36803-016G202005192519A080T470SLGA1126420654-90020SD11E11264206
106/7/2020020SD13E020SD13E54-90-36803-016G202005195228T085Elec TestSLGA1126227954-90020SD13E11262279
116/8/2020020SD13E020SD13E54-90-36803-016G202005195215A080LeadScanSLGA1126227954-90020SD13E11262279
126/1/2020022SD03E022SD03E54-90-63803-032G202005276811A080Elec TestSLGA1125092254-90022SD03E11250922
136/4/2020022SD05E022SD05E54-90-63796-032G2020052914881T100Elec TestSLGA1126226654-90022SD05E11262266
146/5/2020022SD05E022SD05E54-90-63796-032G202005297434T100Elec TestSLGA1126226654-90022SD05E11262266
156/4/2020022SD06E022SD06E54-90-63796-032G2020053014628T100Elec TestSLGA1126327954-90022SD06E11263279
166/5/2020022SD06E022SD06E54-90-63796-032G202005307408A080Elec TestSLGA1126327954-90022SD06E11263279
176/2/2020022SD0EE022SD0EE54-90-64087-128G202005273928T085Elec TestSLGA1125891354-90022SD0EE11258913
186/1/2020022SD69B01022SD6954-62-14515-016GA202005284012A080FVITSOP1124041854-62022SD69B0111240418
196/1/2020022SD69B02022SD6954-62-14515-016GA202005282877T450MarkingTSOP1124041854-62022SD69B0211240418
206/1/2020022SD70B01022SD7054-62-14515-016GA202005282879T450PlatingTSOP1124041954-62022SD70B0111240419
216/1/2020022SD70B02022SD7054-62-14515-016GA202005284130A080MarkingTSOP1124041954-62022SD70B0211240419
226/1/2020022SD71B01022SD7154-62-14515-016GA202005292875A080PlatingTSOP1124042054-62022SD71B0111240420
236/2/2020022SD71B01022SD7154-62-14515-016GA202005292875T100FVITSOP1124042054-62022SD71B0111240420
246/1/2020022SD71B02022SD7154-62-14515-016GA202005295289T475PMCTSOP1124042054-62022SD71B0211240420
256/2/2020022SD71B02022SD7154-62-14515-016GA202005295289T100FormingTSOP1124042054-62022SD71B0211240420
266/1/2020022SD72B01022SD7254-62-14515-016GA202005295617A080DejunkTSOP1124042154-62022SD72B0111240421
276/2/2020022SD72B01022SD7254-62-14515-016GA202005295617T450FormingTSOP1124042154-62022SD72B0111240421
286/3/2020022SDL1E022SDL1E54-90-64087-128G202005267480A160Elec TestSLGA1125890554-90022SDL1E11258905
296/4/2020022SDL1E022SDL1E54-90-64087-128G202005267267T300Elec TestSLGA1125890554-90022SDL1E11258905
306/1/2020022SDL2E022SDL2E54-90-64086-128G202005272857T450Elec TestSLGA1125089254-90022SDL2E11250892
316/5/2020023SD01B02023SD0154-62-64223-064G202006053771A160Die AttachSLGA1125313354-62023SD01B0211253133
326/6/2020023SD01B02023SD0154-62-64223-064G202006053771A080Wire BondSLGA1125313354-62023SD01B0211253133
336/7/2020023SD01B02023SD0154-62-64223-064G202006053764T450PMCSLGA1125313354-62023SD01B0211253133
346/13/2020023SD01E023SD01E54-90-64095-064G2020060510057T450Elec TestSLGA1128169154-90023SD01E11281691
356/14/2020023SD01E023SD01E54-90-64095-064G2020060510057T450Elec TestSLGA1128169154-90023SD01E11281691
366/14/2020023SD02E023SD02E54-90-64095-064G2020060618784T460Elec TestSLGA1128169254-90023SD02E11281692
376/17/2020023SD02E023SD02E54-90-64095-064G2020060611476T100Elec TestSLGA1128769854-90023SD02E11287698
386/13/2020023SD03E023SD03E54-90-64095-064G2020060710415A060Elec TestSLGA1128169554-90023SD03E11281695
396/14/2020023SD03E023SD03E54-90-64095-064G2020060710415T100Elec TestSLGA1128169554-90023SD03E11281695
406/3/2020023SD04B02023SD0454-62-66281-032G202006042499T100Wire BondSLGA1125312854-62023SD04B0211253128
416/4/2020023SD04B02023SD0454-62-66281-032G202006042499T450Wire BondSLGA1125312854-62023SD04B0211253128
426/5/2020023SD04B02023SD0454-62-66281-032G202006042495T100MoldSLGA1125312854-62023SD04B0211253128
436/6/2020023SD04B02023SD0454-62-66281-032G202006042495A080Laser CutSLGA1125312854-62023SD04B0211253128
446/10/2020023SD04E023SD04E54-90-63574-032G202006048331A080Elec TestSLGA1126715854-90023SD04E11267158
456/5/2020023SD10B01023SD1054-62-75015-032G202006066216T450Wire BondSLGA1125313854-62023SD10B0111253138
466/6/2020023SD10B01023SD1054-62-75015-032G202006066206T450PMCSLGA1125313854-62023SD10B0111253138
476/8/2020023SD10B01023SD1054-62-75015-032G202006066206S020FVISLGA1125313854-62023SD10B0111253138
486/3/2020023SD14B02023SD1454-62-75015-032G202006046189A230Wire BondSLGA1125313054-62023SD14B0211253130
496/4/2020023SD14B02023SD1454-62-75015-032G202006046189T100Wire BondSLGA1125313054-62023SD14B0211253130
506/5/2020023SD14B02023SD1454-62-75015-032G202006046186A060PMCSLGA1125313054-62023SD14B0211253130
516/6/2020023SD14B02023SD1454-62-75015-032G202006046186SCHDPkg SawSLGA1125313054-62023SD14B0211253130
526/11/2020023SD19E023SD19E54-90-52473-016G2020060510756T100Top MarkSLGA1127563154-90023SD19E11275631
536/12/2020023SD19E023SD19E54-90-52473-016G2020060510756T475Top MarkSLGA1127563154-90023SD19E11275631
546/13/2020023SD19E023SD19E54-90-52473-016G2020060510756T300Elec TestSLGA1127563154-90023SD19E11275631
556/10/2020023SD20E023SD20E54-90-53181-032G202006045914T475Elec TestSLGA1126755554-90023SD20E11267555
566/11/2020023SD20E023SD20E54-90-53181-032G202006045847T475Elec TestSLGA1126755554-90023SD20E11267555
576/12/2020023SD21E023SD21E54-90-53181-064G202006061690T100Top MarkSLGA1127963054-90023SD21E11279630
586/13/2020023SD21E023SD21E54-90-53181-064G202006061690T100Elec TestSLGA1127963054-90023SD21E11279630
596/12/2020023SD21F023SD21F54-90-53062-064G202006062504T475Top MarkSLGA1127963154-90023SD21F11279631
606/13/2020023SD21F023SD21F54-90-53062-064G202006062504T100Elec TestSLGA1127963154-90023SD21F11279631
616/13/2020023SD22E023SD22E54-90-53181-128G202006071572A120Elec TestSLGA1128169454-90023SD22E11281694
626/14/2020023SD22E023SD22E54-90-53181-128G202006071550A120Elec TestSLGA1128169454-90023SD22E11281694
636/3/2020023SD24B03023SD2454-62-75015-032G202006037704T300Wire BondSLGA1125312654-62023SD24B0311253126
646/4/2020023SD24B03023SD2454-62-75015-032G202006037695T300PMCSLGA1125312654-62023SD24B0311253126
656/5/2020023SD24B03023SD2454-62-75015-032G202006037695A060Pkg SawSLGA1125312654-62023SD24B0311253126
666/5/2020023SD25B03023SD2554-62-75015-032G202006053311A060Wire BondSLGA1125313554-62023SD25B0311253135
676/5/2020023SD26B01023SD2654-62-75015-032G202006066153T450Wire BondSLGA1125313954-62023SD26B0111253139
686/6/2020023SD26B01023SD2654-62-75015-032G202006066149T100PMCSLGA1125313954-62023SD26B0111253139
696/8/2020023SD26B01023SD2654-62-75015-032G202006066149T100Pkg SawSLGA1125313954-62023SD26B0111253139
706/5/2020023SD26B02023SD2654-62-75015-032G202006066224T300Wire BondSLGA1125313954-62023SD26B0211253139
716/6/2020023SD26B02023SD2654-62-75015-032G202006066224A212Wire BondSLGA1125313954-62023SD26B0211253139
726/7/2020023SD26B02023SD2654-62-75015-032G202006066221A165PMCSLGA1125313954-62023SD26B0211253139
736/8/2020023SD26B02023SD2654-62-75015-032G202006066221A080Pkg SawSLGA1125313954-62023SD26B0211253139
746/5/2020023SD26B03023SD2654-62-75015-032G202006065956A080Wire BondSLGA1125313954-62023SD26B0311253139
756/6/2020023SD26B03023SD2654-62-75015-032G202006065956T100Wire BondSLGA1125313954-62023SD26B0311253139
766/7/2020023SD26B03023SD2654-62-75015-032G202006065955A080PMCSLGA1125313954-62023SD26B0311253139
776/18/2020023SD27E023SD27E54-90-64095-064G2020060711177A080Elec TestSLGA1128169354-90023SD27E11281693
786/19/2020023SD27E023SD27E54-90-64095-064G202006076919A080Elec TestSLGA1128169354-90023SD27E11281693
796/1/2020023SD61023SD6154-62-21613-016GA202005302302A080Die AttachTSOP1125247854-62023SD6111252478
806/1/2020023SD61B02023SD6154-62-21613-016GA202005302880S045Wire BondTSOP1125247854-62023SD61B0211252478
816/2/2020023SD61B02023SD6154-62-21613-016GA202005302879T100PMCTSOP1125247854-62023SD61B0211252478
826/3/2020023SD61B02023SD6154-62-21613-016GA202005302879A120PlatingTSOP1125247854-62023SD61B0211252478
836/1/2020023SD61B03023SD6154-62-21613-016GA202005302880A165Wire BondTSOP1125247854-62023SD61B0311252478
846/2/2020023SD61B03023SD6154-62-21613-016GA202005305749T100PMCTSOP1125247854-62023SD61B0311252478
856/3/2020023SD61B03023SD6154-62-21613-016GA202005305749A080PlatingTSOP1125247854-62023SD61B0311252478
866/1/2020023SD61B04023SD6154-62-21613-016GA202005302880A265Wire BondTSOP1125247854-62023SD61B0411252478
876/2/2020023SD61B05023SD6154-62-21613-016GA202005302302T450Wire BondTSOP1125247854-62023SD61B0511252478
886/3/2020023SD61B05023SD6154-62-21613-016GA202005302294T450PMCTSOP1125247854-62023SD61B0511252478
896/4/2020023SD61B05023SD6154-62-21613-016GA202005302294T500PlatingTSOP1125247854-62023SD61B0511252478
906/2/2020023SD62B01023SD6254-62-29275-016GA202005311268A080MarkingTSOP1125247954-62023SD62B0111252479
916/3/2020023SD62B01023SD6254-62-29275-016GA202005311268A080SVITSOP1125247954-62023SD62B0111252479
926/2/2020023SD63B01023SD6354-62-21613-016GA202005312878A080MoldTSOP1125248054-62023SD63B0111252480
936/3/2020023SD63B01023SD6354-62-21613-016GA202005312878A120PlatingTSOP1125248054-62023SD63B0111252480
946/4/2020023SD63B01023SD6354-62-21613-016GA202005312878A080FVITSOP1125248054-62023SD63B0111252480
956/2/2020023SD63B02023SD6354-62-21613-016GA202005312875T100MoldTSOP1125248054-62023SD63B0211252480
966/3/2020023SD63B02023SD6354-62-21613-016GA202005312875T100PMCTSOP1125248054-62023SD63B0211252480
976/4/2020023SD63B02023SD6354-62-21613-016GA202005312875T500PlatingTSOP1125248054-62023SD63B0211252480
986/2/2020023SD63B03023SD6354-62-21613-016GA202005312880T500Wire BondTSOP1125248054-62023SD63B0311252480
996/3/2020023SD63B03023SD6354-62-21613-016GA202005315252A080PMCTSOP1125248054-62023SD63B0311252480
1006/4/2020023SD63B03023SD6354-62-21613-016GA202005315252A080PlatingTSOP1125248054-62023SD63B0311252480
1016/2/2020023SD63B04023SD6354-62-21613-016GA202005312377A080Wire BondTSOP1125248054-62023SD63B0411252480
1026/3/2020023SD64B01023SD6454-62-14514-016GA202006012873A080MoldTSOP1125248254-62023SD64B0111252482
1036/4/2020023SD64B01023SD6454-62-14514-016GA202006015752A080PlatingTSOP1125248254-62023SD64B0111252482
1046/3/2020023SD64B02023SD6454-62-14514-016GA202006012879A080MoldTSOP1125248254-62023SD64B0211252482
1056/3/2020023SD64B03023SD6454-62-14514-016GA202006011227A080MoldTSOP1125248254-62023SD64B0311252482
1066/4/2020023SD64B03023SD6454-62-14514-016GA202006011227T475MarkingTSOP1125248254-62023SD64B0311252482
1076/3/2020023SD65B01023SD6554-62-14514-016GA202006012875T475MoldTSOP1125248354-62023SD65B0111252483
1086/4/2020023SD65B01023SD6554-62-14514-016GA202006016283T100PMCTSOP1125248354-62023SD65B0111252483
1096/3/2020023SD65B02023SD6554-62-14514-016GA202006012880T100Wire BondTSOP1125248354-62023SD65B0211252483
1106/3/2020023SD65B03023SD6554-62-14514-016GA20200601528T100MoldTSOP1125248354-62023SD65B0311252483
1116/5/2020023SD67B01023SD6754-62-14514-016GA202006024490T460DejunkTSOP1125248554-62023SD67B0111252485
1126/4/2020023SDP4E023SDP4E54-99-26546-016G2626T460Top MarkSLGA1126125154-99023SDP4E11261251
1136/2/2020023SDT1E023SDT1E54-99-26626-032G5000A230Elec TestSLGA553663254-99023SDT1E5536632
1146/3/2020023SDT1E023SDT1E54-99-26626-032G4826A265Top MarkSLGA553663254-99023SDT1E5536632
1156/4/2020023SDT1E023SDT1E54-99-26626-032G4826A120Top MarkSLGA553663254-99023SDT1E5536632
1166/5/2020023SDT1E023SDT1E54-99-26626-032G4826T460Elec TestSLGA553663254-99023SDT1E5536632
1176/6/2020023SDT1E023SDT1E54-99-26626-032G4816T475Top MarkSLGA553663254-99023SDT1E5536632
1186/6/2020024SD01024SD0154-62-75785-032G2020060810346T460SCHDSLGA1126780254-62024SD0111267802
1196/7/2020024SD01B03024SD0154-62-75785-032G202006081281A080Wire BondSLGA1126780254-62024SD01B0311267802
1206/8/2020024SD01B03024SD0154-62-75785-032G202006081281A080MoldSLGA1126780254-62024SD01B0311267802
1216/9/2020024SD01B03024SD0154-62-75785-032G202006081281T450Pkg SawSLGA1126780254-62024SD01B0311267802
1226/6/2020024SD02024SD0254-62-75785-032G2020060911759A165SCHDSLGA1126780354-62024SD0211267803
1236/7/2020024SD02024SD0254-62-75785-032G2020060911759A160SCHDSLGA1126780354-62024SD0211267803
1246/6/2020024SD03024SD0354-62-75785-032G202006108339A120SCHDSLGA1126780454-62024SD0311267804
1256/7/2020024SD03024SD0354-62-75785-032G202006108339A160SCHDSLGA1126780454-62024SD0311267804
1266/11/2020024SD05024SD0554-62-73386-032G202006128382A120SCHDSLGA1126780654-62024SD0511267806
1276/12/2020024SD05024SD0554-62-73386-032G202006128382A080Die AttachSLGA1126780654-62024SD0511267806
1286/13/2020024SD05B02024SD0554-62-73386-032G202006122110T300Wire BondSLGA1126780654-62024SD05B0211267806
1296/14/2020024SD05B02024SD0554-62-73386-032G202006122109T100PMCSLGA1126780654-62024SD05B0211267806
1306/15/2020024SD05B02024SD0554-62-73386-032G202006122109A230FVISLGA1126780654-62024SD05B0211267806
1316/6/2020024SD07024SD0754-62-75015-032G2020060914510A160SCHDSLGA1126780854-62024SD0711267808
1326/6/2020024SD08024SD0854-62-75015-032G2020061014611A080SCHDSLGA1126780954-62024SD0811267809
1336/7/2020024SD08B03024SD0854-62-75015-032G202006101933A080Die AttachSLGA1126780954-62024SD08B0311267809
1346/8/2020024SD08B03024SD0854-62-75015-032G202006101933A080Wire BondSLGA1126780954-62024SD08B0311267809
1356/9/2020024SD08B03024SD0854-62-75015-032G202006101930A080PMCSLGA1126780954-62024SD08B0311267809
1366/10/2020024SD09B02024SD0954-62-75015-032G202006116300A080Wire BondSLGA1126781154-62024SD09B0211267811
1376/11/2020024SD09B02024SD0954-62-75015-032G202006116255A080Wire BondSLGA1126781154-62024SD09B0211267811
1386/12/2020024SD09B02024SD0954-62-75015-032G202006116255A080PMCSLGA1126781154-62024SD09B0211267811
1396/17/2020024SD13E024SD13E54-90-63769-032G202006085767A080Elec TestSLGA1129006454-90024SD13E11290064
1406/17/2020024SD14E024SD14E54-90-63769-032G202006094183A120Elec TestSLGA1129006354-90024SD14E11290063
1416/17/2020024SD15E024SD15E54-90-63769-032G202006093078T100Elec TestSLGA1129006554-90024SD15E11290065
1426/6/2020024SD16B01024SD1654-62-75784-032G202006094588T300Die AttachSLGA1126781554-62024SD16B0111267815
1436/7/2020024SD16B01024SD1654-62-75784-032G202006094587T300Wire BondSLGA1126781554-62024SD16B0111267815
1446/8/2020024SD16B01024SD1654-62-75784-032G202006094587T100Wire BondSLGA1126781554-62024SD16B0111267815
1456/9/2020024SD16B01024SD1654-62-75784-032G202006094587T475Wire BondSLGA1126781554-62024SD16B0111267815
1466/10/2020024SD16B01024SD1654-62-75784-032G202006094577T475Wire BondSLGA1126781554-62024SD16B0111267815
1476/11/2020024SD16B01024SD1654-62-75784-032G202006094577T475PMCSLGA1126781554-62024SD16B0111267815
1486/12/2020024SD16B01024SD1654-62-75784-032G202006094577T475FVISLGA1126781554-62024SD16B0111267815
1496/6/2020024SD16B03024SD1654-62-75784-032G202006091801A160Die AttachSLGA1126781554-62024SD16B0311267815
1506/7/2020024SD16B03024SD1654-62-75784-032G202006091801A265Die AttachSLGA1126781554-62024SD16B0311267815
1516/8/2020024SD16B03024SD1654-62-75784-032G202006091801A080Wire BondSLGA1126781554-62024SD16B0311267815
1526/9/2020024SD16B03024SD1654-62-75784-032G202006091799A080MoldSLGA1126781554-62024SD16B0311267815
1536/10/2020024SD16B03024SD1654-62-75784-032G202006091799A080Pkg SawSLGA1126781554-62024SD16B0311267815
1546/11/2020024SD16B03024SD1654-62-75784-032G202006091794A160FVISLGA1126781554-62024SD16B0311267815
1556/12/2020024SD16B03024SD1654-62-75784-032G202006091794A080FVISLGA1126781554-62024SD16B0311267815
1566/10/2020024SD17B03024SD1754-62-75784-032G202006111310A080Wire BondSLGA1126781654-62024SD17B0311267816
1576/11/2020024SD17B03024SD1754-62-75784-032G202006111309A265PMCSLGA1126781654-62024SD17B0311267816
1586/12/2020024SD18B03024SD1854-62-75784-032G202006132131A160Wire BondSLGA1126781754-62024SD18B0311267817
1596/13/2020024SD18B03024SD1854-62-75784-032G202006132127A170MoldSLGA1126781754-62024SD18B0311267817
1606/14/2020024SD18B03024SD1854-62-75784-032G202006132127A165FVISLGA1126781754-62024SD18B0311267817
1616/6/2020024SD20B03024SD2054-62-75784-032G202006091525A165Die AttachSLGA1126781954-62024SD20B0311267819
1626/7/2020024SD20B03024SD2054-62-75784-032G202006091525T100Die AttachSLGA1126781954-62024SD20B0311267819
1636/8/2020024SD20B03024SD2054-62-75784-032G202006091525T100Wire BondSLGA1126781954-62024SD20B0311267819
1646/9/2020024SD20B03024SD2054-62-75784-032G202006091524A265PMCSLGA1126781954-62024SD20B0311267819
1656/6/2020024SD21024SD2154-62-75784-032G2020060911806A212SCHDSLGA1126782054-62024SD2111267820
1666/7/2020024SD21024SD2154-62-75784-032G2020060911806A120SCHDSLGA1126782054-62024SD2111267820
1676/8/2020024SD21024SD2154-62-75784-032G2020060911806A120SCHDSLGA1126782054-62024SD2111267820
1686/9/2020024SD21024SD2154-62-75784-032G202006097312A290Die AttachSLGA1126782054-62024SD2111267820
1696/10/2020024SD21B02024SD2154-62-75784-032G202006094653A080Wire BondSLGA1126782054-62024SD21B0211267820
1706/11/2020024SD21B02024SD2154-62-75784-032G202006094644A080MoldSLGA1126782054-62024SD21B0211267820
1716/12/2020024SD21B02024SD2154-62-75784-032G202006094644A080Pkg SawSLGA1126782054-62024SD21B0211267820
1726/10/2020024SD21B03024SD2154-62-75784-032G202006092656A080Wire BondSLGA1126782054-62024SD21B0311267820
1736/11/2020024SD21B03024SD2154-62-75784-032G202006092654A080MoldSLGA1126782054-62024SD21B0311267820
1746/12/2020024SD21B03024SD2154-62-75784-032G202006092654A080Pkg SawSLGA1126782054-62024SD21B0311267820
1756/12/2020024SD24B02024SD2454-62-75784-032G202006134509A080Wire BondSLGA1126782354-62024SD24B0211267823
1766/13/2020024SD24B02024SD2454-62-75784-032G202006134506A080MoldSLGA1126782354-62024SD24B0211267823
1776/9/2020024SDF1024SDF154-62-64224-064G202006105776A080SCHDSLGA1126782454-62024SDF111267824
1786/10/2020024SDF1024SDF154-62-64224-064G202006105776A160Die AttachSLGA1126782454-62024SDF111267824
1796/19/2020024SDF1E024SDF1E54-90-64095-064G202006105761T100Elec TestSLGA1129452054-90024SDF1E11294520
1806/20/2020024SDF1E024SDF1E54-90-64095-064G202006103439T100Elec TestSLGA1129452054-90024SDF1E11294520
1816/10/2020024SDF2024SDF254-62-64224-064G2020061111530A160SCHDSLGA1126782554-62024SDF211267825
1826/20/2020024SDF2E024SDF2E54-90-64095-064G2020061111511A160Elec TestSLGA1129452154-90024SDF2E11294521
1836/21/2020024SDF2E024SDF2E54-90-64095-064G2020061111511T300Elec TestSLGA1129452154-90024SDF2E11294521
1846/19/2020024SDF3E024SDF3E54-90-64088-064G2020061211708T100Elec TestSLGA1129451954-90024SDF3E11294519
1856/20/2020024SDF3E024SDF3E54-90-64088-064G2020061211708A265Elec TestSLGA1129451954-90024SDF3E11294519
1866/21/2020024SDF3E024SDF3E54-90-64088-064G2020061211708A265Elec TestSLGA1129451954-90024SDF3E11294519
1876/22/2020024SDF3E024SDF3E54-90-64088-064G2020061211708A265Elec TestSLGA1129451954-90024SDF3E11294519
1886/23/2020024SDF4E024SDF4E54-90-64088-064G2020061311820A265Elec TestSLGA1129888954-90024SDF4E11298889
1896/9/2020024SDF6024SDF654-62-84442-064G202006107299A265SCHDSLGA1126782954-62024SDF611267829
1906/10/2020024SDF6024SDF654-62-84442-064G202006107299T475SCHDSLGA1126782954-62024SDF611267829
1916/11/2020024SDF6B02024SDF654-62-84442-064G202006102612A290Die AttachSLGA1126782954-62024SDF6B0211267829
1926/12/2020024SDF6B02024SDF654-62-84442-064G202006102610A165Wire BondSLGA1126782954-62024SDF6B0211267829
1936/13/2020024SDF6B02024SDF654-62-84442-064G202006102610A290Wire BondSLGA1126782954-62024SDF6B0211267829
WIP
 
Upvote 0
HI Alan, This is the worksheet I would like the result to populated. I only put the formula at D2 for reference, as it keeps on calculating and not working smoothly. Is there anyway to write a VBA to populate the result? As there's limit of data to copy over, I'm only random selected the range to paste over here.

WIP Flow Table_Sample.xlsx
ABCDEFGHIJKLMNOPQRSTUVWXYZAA
1TypeConcatenateWO #6/1/20206/2/20206/3/20206/4/20206/5/20206/6/20206/7/20206/8/20206/9/20206/10/20206/11/20206/12/20206/13/20206/14/20206/15/20206/16/20206/17/20206/18/20206/19/20206/20/20206/21/20206/22/20206/23/20207/6/2020
254-62018SD15B011119286111192861FVIFVI
354-62022SD69B011124041811240418FVI
454-62022SD69B021124041811240418Marking
554-62022SD70B011124041911240419Plating
654-62022SD70B021124041911240419Marking
754-62022SD71B011124042011240420PlatingFVI
854-62022SD71B021124042011240420PMCForming
954-62022SD72B011124042111240421DejunkForming
1054-62023SD01B021125313311253133Die AttachWire BondPMC
1154-62023SD04B021125312811253128Wire BondWire BondMoldLaser Cut
1254-62023SD10B011125313811253138Wire BondPMCFVI
1354-62023SD14B021125313011253130Wire BondWire BondPMCPkg Saw
1454-62023SD24B031125312611253126Wire BondPMCPkg Saw
1554-62023SD25B031125313511253135Wire Bond
1654-62023SD26B011125313911253139Wire BondPMCPkg Saw
1754-62023SD26B021125313911253139Wire BondWire BondPMCPkg Saw
1854-62023SD26B031125313911253139Wire BondWire BondPMC
1954-62023SD611125247811252478Die Attach
2054-62023SD61B021125247811252478Wire BondPMCPlating
2154-62023SD61B031125247811252478Wire BondPMCPlating
2254-62023SD61B041125247811252478Wire Bond
2354-62023SD61B051125247811252478Wire BondPMCPlating
2454-62023SD62B011125247911252479MarkingSVI
2554-62023SD63B011125248011252480MoldPlatingFVI
2654-62023SD63B021125248011252480MoldPMCPlating
2754-62023SD63B031125248011252480Wire BondPMCPlating
2854-62023SD63B041125248011252480Wire Bond
2954-62023SD64B011125248211252482MoldPlating
3054-62023SD64B021125248211252482Mold
3154-62023SD64B031125248211252482MoldMarking
3254-62023SD65B011125248311252483MoldPMC
3354-62023SD65B021125248311252483Wire Bond
3454-62023SD65B031125248311252483Mold
3554-62023SD67B011125248511252485Dejunk
3654-62024SD011126780211267802SCHD
3754-62024SD01B031126780211267802Wire BondMoldPkg Saw
3854-62024SD021126780311267803SCHDSCHD
3954-62024SD031126780411267804SCHDSCHD
4054-62024SD051126780611267806SCHDDie Attach
4154-62024SD05B021126780611267806Wire BondPMCFVI
4254-62024SD071126780811267808SCHD
4354-62024SD081126780911267809SCHD
4454-62024SD08B031126780911267809Die AttachWire BondPMC
4554-62024SD09B021126781111267811Wire BondWire BondPMC
4654-62024SD16B011126781511267815Die AttachWire BondWire BondWire BondWire BondPMCFVI
4754-62024SD16B031126781511267815Die AttachDie AttachWire BondMoldPkg SawFVIFVI
4854-62024SD17B031126781611267816Wire BondPMC
4954-62024SD18B031126781711267817Wire BondMoldFVI
5054-62024SD20B031126781911267819Die AttachDie AttachWire BondPMC
5154-62024SD211126782011267820SCHDSCHDSCHDDie Attach
5254-62024SD21B021126782011267820Wire BondMoldPkg Saw
5354-62024SD21B031126782011267820Wire BondMoldPkg Saw
5454-62024SD24B021126782311267823Wire BondMold
5554-62024SDF11126782411267824SCHDDie Attach
5654-62024SDF21126782511267825SCHD
5754-62024SDF61126782911267829SCHDSCHD
5854-62024SDF6B021126782911267829Die AttachWire BondWire BondPMC
5954-62024SDF71126783011267830SCHD
6054-62024SDF81126783111267831SCHD
6154-62024SDF9B021126783211267832Die AttachWire BondWire BondWire BondPMC
6254-62024SDFAB011126783311267833Wire BondWire BondWire BondWire BondMoldMoldMoldFVI
6354-62024SDFAB031126783311267833Wire BondWire BondWire BondWire BondMoldMoldMold
6454-62025SD021128011611280116SCHD
6554-62025SD03B031128011711280117Wire BondMoldMoldMoldFVI
6654-62025SD041128011811280118Die Attach
6754-62025SD04B011128011811280118Die AttachWire BondPMCFVI
6854-62025SD04B021128011811280118Die AttachWire BondMoldFVI
6954-62025SD04B031128011811280118Die AttachWire BondWire BondFVI
7054-62025SD05B011128011911280119Die AttachWire BondMoldFVI
7154-62025SD05B021128011911280119Die AttachWire BondMoldMarking
7254-62025SD061128012011280120Die Attach
WIP_Flow
Cell Formulas
RangeFormula
D2D2=IF(ISNA(INDEX(WIP!$H:$H,MATCH(WIP_Flow!D$1&$B2,INDEX(WIP!$A:$A&WIP!$L:$L,0),0))),"",INDEX(WIP!$H:$H,MATCH(WIP_Flow!D$1&$B2,INDEX(WIP!$A:$A&WIP!$L:$L,0),0)))
A3:A72A3=A2
Named Ranges
NameRefers ToCells
WIP!_FilterDatabase=WIP!$A$1:$L$609D2
Cells with Conditional Formatting
CellConditionCell FormatStop If True
D2:AA267Cell Value="FGST"textNO
 
Upvote 0
Here is the Mcode from Power Query

Rich (BB code):
let
    Source = Excel.CurrentWorkbook(){[Name="Table1"]}[Content],
    #"Changed Type" = Table.TransformColumnTypes(Source,{{"Cut Off Date", type date}, {"LOTID", type text}, {"LOT NO", type text}, {"DEVICE", type text}, {"PT ISSUE DATE", Int64.Type}, {"CURRENT QTY", Int64.Type}, {"STEP_LOCATION_NEW", type text}, {"PROCESS_STEP", type text}, {"PACKAGE", type text}, {"WO #", Int64.Type}, {"Type", type text}, {"Concatenate(LotID&WO #)", type text}}),
    #"Reordered Columns" = Table.ReorderColumns(#"Changed Type",{"Type", "Concatenate(LotID&WO #)", "WO #", "Cut Off Date", "LOTID", "LOT NO", "DEVICE", "PT ISSUE DATE", "CURRENT QTY", "STEP_LOCATION_NEW", "PROCESS_STEP", "PACKAGE"}),
    #"Pivoted Column" = Table.Pivot(Table.TransformColumnTypes(#"Reordered Columns", {{"Cut Off Date", type text}}, "en-US"), List.Distinct(Table.TransformColumnTypes(#"Reordered Columns", {{"Cut Off Date", type text}}, "en-US")[#"Cut Off Date"]), "Cut Off Date", "PROCESS_STEP")
in
    #"Pivoted Column"

There are to many cells to upload the entire solution picture. Here are the first dozen and half lines.

Book1-1.xlsx
ABCDEFGHIJKLMNOPQR
1TypeConcatenate(LotID&WO #)WO #LOTIDLOT NODEVICEPT ISSUE DATECURRENT QTYSTEP_LOCATION_NEWPACKAGE6/1/20206/2/20206/3/20206/7/20206/8/20206/4/20206/5/20206/6/2020
254-62018SD15B011119286111192861018SD15B01018SD1554-62-74913-128G202005044291A080SLGAFVI
354-62018SD15B011119286111192861018SD15B01018SD1554-62-74913-128G202005044291T450SLGAFVI
454-62022SD69B011124041811240418022SD69B01022SD6954-62-14515-016GA202005284012A080TSOPFVI
554-62022SD69B021124041811240418022SD69B02022SD6954-62-14515-016GA202005282877T450TSOPMarking
654-62022SD70B011124041911240419022SD70B01022SD7054-62-14515-016GA202005282879T450TSOPPlating
754-62022SD70B021124041911240419022SD70B02022SD7054-62-14515-016GA202005284130A080TSOPMarking
854-62022SD71B011124042011240420022SD71B01022SD7154-62-14515-016GA202005292875A080TSOPPlating
954-62022SD71B011124042011240420022SD71B01022SD7154-62-14515-016GA202005292875T100TSOPFVI
1054-62022SD71B021124042011240420022SD71B02022SD7154-62-14515-016GA202005295289T100TSOPForming
1154-62022SD71B021124042011240420022SD71B02022SD7154-62-14515-016GA202005295289T475TSOPPMC
1254-62022SD72B011124042111240421022SD72B01022SD7254-62-14515-016GA202005295617A080TSOPDejunk
1354-62022SD72B011124042111240421022SD72B01022SD7254-62-14515-016GA202005295617T450TSOPForming
1454-62023SD01B021125313311253133023SD01B02023SD0154-62-64223-064G202006053764T450SLGAPMC
1554-62023SD01B021125313311253133023SD01B02023SD0154-62-64223-064G202006053771A080SLGAWire Bond
1654-62023SD01B021125313311253133023SD01B02023SD0154-62-64223-064G202006053771A160SLGADie Attach
1754-62023SD04B021125312811253128023SD04B02023SD0454-62-66281-032G202006042495A080SLGALaser Cut
1854-62023SD04B021125312811253128023SD04B02023SD0454-62-66281-032G202006042495T100SLGAMold
Sheet2
 
Upvote 0
Hi Alan,
Thank you for your guidance. But, I'm not an expert in VBA. May I know how to apply the coding? I put it into module, and it turns red font, and not able to run. Should I add Sub? For the result columns, if I only need the Type, Concatenate, WO # and cut off date on top, highlighted yellow, I should just take away? If I do not need pivot anymore, since you had helped to put the result in columns, I can just deleted the #"Pivoted Column"? Can I put "_" since it's long?

Capture.JPG
 
Upvote 0

Forum statistics

Threads
1,224,817
Messages
6,181,149
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