In Column G of the attached file, I want to select any products and have the Component column list out all the components while showing the corresponding In Stock as well.
In Column G of the attached file, I want to select any products and have the Component column list out all the components while showing the corresponding In Stock as well.
Put in G2 and press all together at same time CTRL ALT ENTER button because in an array formula then copied down:
=IFERROR(INDEX($B$3:$B$13,SMALL(IF(COUNTIF($F$3:$F$4,INDEX(LOOKUP(ROW($A$3:$A$13),ROW($A$3:$A$13)/($A$3:$A$13<>""),$A$3:$A$13),,1,1))>0,ROW($B$3:$B$13)-MIN(ROW($B$3:$B$13))+1),ROW(A1)),1),"")
put in H2 and is also an array formula too:
=IFERROR(INDEX($C$3:$C$13,SMALL(IF(COUNTIF($F$3:$F$4,INDEX(LOOKUP(ROW($A$3:$A$13),ROW($A$3:$A$13)/($A$3:$A$13<>""),$A$3:$A$13),,1,1))>0,ROW($B$3:$B$13)-MIN(ROW($B$3:$B$13))+1),ROW(A1)),1),"")
Thanks this helped a lot
thanks for the feedback
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks