Hi,
I am creating a dynamic table based off a master table. My master table has a part number and suppliers. I want to create a dynamic table in a new tab, where each supplier has their own tab. The suppliers are listed in a drop down menu that can select multiple values (so you can have "Supplier 1" in one cell or "Supplier 1, Supplier 2, Supplier 3" in another).
Currently I have:
=IF(ROWS(A$4:A4)>$L$1,"",INDEX(AVL[SAP'#],SMALL(IF(AVL[Suppliers]=$I$1,ROW('Approved Vendor Lookup'!$J$2:$J$260)-ROW('Approved Vendor Lookup'!$J$2)+1),ROWS(A$4:A4))))
Where:
-AVL[Suppliers] is the master list supplier (aka: 'Approved Vendor Lookup'!$J$2:$J$260)
-AVL[SAP'#] is the master list part number (aka 'Approved Vendor Lookup'!$A$2:$A$260)
-$I$1 is where the supplier name put
-$L$1 is a count function that determins the number of rows where the supplier is found and limits the cell
Currently I am able to get the table to propogate some values. If I enter in Supplier 1 into I1 it will return with a count of 4 and propogate 4 rows. This corresponds to the 4 rows in the master sheet that have only Supplier 1 as a supplier. If I enter in *Supplier 1* I receive a count of 16 (this is all of the parts supplied by Supplier 1), but I am returned with a #NUM error.
I have tried:
-Changing $I$1 to "Supplier 1";"*Supplier 1*"; and other combinations
-Changing from the named array to the actual cells, e.g. AVL[Suppliers] to 'Approved Vendor Lookup'!$J$2:$J$260
I attempted to create multiple supplier columns that propogate based off the Supplier Column, but now I am faced with the issue of changing the equation to read all the columns searching for Supplier 1.
The reason I am using this instead of a pivot table or macro is that I have several of these tabs that are pulling data from all other sources based off this part number. The formula makes it so I do not have to manually enter in all the different locations the part number every time I add a new part to the master list.
I hope I have explained this well enough. I could attempt to load images (work blocks most storage sites) if required.
Also to get a better idea of what I was doing you could watch this video.
And I have attached a sample workbook Dynamic Tables with Master Table and Dropdown List Example.xlsm
Bookmarks