Hi, I am new to vba and I am stuck with trying to figure this out.
I have a worksheet which i will attach, that has a "Table Lookup" tab with a pivot table and data. I also have a lookup tab and a "Cost Analysis" tab.
On the Cost Analysis tab, i want to write a code that basically uses the selects in B1,B2, and B3 to populate the table below using the Table Lookup.
I know I can use a formula to do this but i am really trying to understand vba because I think it will perform the function more quickly that way.
It will not let me attach a file or a picture so i've done my best to describe it.
On the cost analysis tab, i have 3 selection drop downs in b1,b2,b3 for
b1 = Product Selection
b2 = Supplier
b3 = Branch
Below, starting in row 6, I've started my table that i want to populate using the criteria listed above as follows:
based on Product Selection and Supplier selection, populate all the branches that match that criteria with the costs.
My table looks like this:
Column A = Branch Column B = Use the Lookup tab to populate the Region based on Column A Column C = Cost per Item.
I've written some but I don't know what to do next. Hoping someone can help.
I have a worksheet which i will attach, that has a "Table Lookup" tab with a pivot table and data. I also have a lookup tab and a "Cost Analysis" tab.
On the Cost Analysis tab, i want to write a code that basically uses the selects in B1,B2, and B3 to populate the table below using the Table Lookup.
I know I can use a formula to do this but i am really trying to understand vba because I think it will perform the function more quickly that way.
It will not let me attach a file or a picture so i've done my best to describe it.
On the cost analysis tab, i have 3 selection drop downs in b1,b2,b3 for
b1 = Product Selection
b2 = Supplier
b3 = Branch
Below, starting in row 6, I've started my table that i want to populate using the criteria listed above as follows:
based on Product Selection and Supplier selection, populate all the branches that match that criteria with the costs.
My table looks like this:
Column A = Branch Column B = Use the Lookup tab to populate the Region based on Column A Column C = Cost per Item.
I've written some but I don't know what to do next. Hoping someone can help.