Here's a solution (I think). I made two dynamic named ranges (they will change size as you add products). "Products" which would be your list of products in column A of sheet1 and "Ingredients" which would cover the range from X4:WS? of your ingredient amounts.
Then in Sheet2, I used Data Validation to create the dropdown in A1 and used Array formulas to bring back the ingredients, units of measure and amounts. They are respectively (in B2,B3 and B4)
Formula:
=IFERROR(INDEX(Sheet1!$X$3:$WS$3, SMALL(IF(ISNUMBER(INDEX(Ingredients,MATCH($A1,Products,0),)), COLUMN($X$4:$WS$4)-COLUMN($W$4)),COLUMN(A1))),"")
=IFERROR(INDEX(Sheet1!$X$2:$WS$2, SMALL(IF(ISNUMBER(INDEX(Ingredients,MATCH($A1,Products,0),)), COLUMN($X$4:$WS$4)-COLUMN($W$4)),COLUMN(A1))),"")
=IFERROR(INDEX(Ingredients, MATCH($A1,Products,0),SMALL(IF(ISNUMBER(INDEX(Ingredients,MATCH($A1,Products,0),)), COLUMN($X$4:$WS$4)-COLUMN($W$4)),COLUMN(A1))),"")
Is this what you were looking for?
Bookmarks