1. Defined names:
Category =Sheet1!$O$4:$P$7
Multipliers =Sheet1!$I$4:$J$7
ProductList =Sheet1!$A$2:$A$356
Supplier =Sheet1!$G$13
SupplierDiscounts =Sheet1!$G$4:$H$7
SupplierList =Sheet1!$B$2:$B$356
Tiers =Sheet1!$F$4:$F$7
2. Note blue look up helper columns
3. Dropdown list in G13 to select supplier
4. Formula to determine product category (O14 - O18)
=MAX(IF(--(Category=F14),COLUMN($K$1:$L$1)-COLUMN($K$1)+1))
5. Formula to calculate price/cost (I16, etc.)
=INDEX(SupplierDiscounts,MATCH(I$13,Tiers,0),MATCH($G$13,{"Supplier 1","Supplier 2"},0))*INDEX(Multipliers,MATCH(I$13,Tiers,0),$O16)
6. Count of product per supplier:
=COUNTIFS(ProductList,F14,SupplierList,Supplier)
Bookmarks