auto populate a column from another table based on the value from a drop down list

moeman

New Member
Joined
Mar 15, 2010
Messages
10
how can i auto populate a column with values from another table based on the value from a drop down list as a reference to the table.
So based on the value/company i select from the drop down list it should auto populate the corresponding product qtys from table 2

Company 1
10
45
5
6
6
23

<tbody>
</tbody>





Company 1Company 2Company 3Company 4Company 5Company 6Company 7
Product 110436404
Product 345434576
Product 45335554
Product 5634633767
Product6632767444
Product 7232372343

<tbody>
</tbody>
 
Last edited:

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
Use the formula below

=INDEX(Sheet1!$B$2:$H$100,MATCH($A2,Sheet1!$A$1:$A$100,0),MATCH($B$1,Sheet1!$B$1:$H$1,0))
it assumes that your orignial data is in shet1 and drop down is in cell B1 of sheet in which you want the values and it list all products in Column A from cell A2 downwards
 
Upvote 0
Thank you! i'm having trouble applying the suggested solution, would you please give more details.
 
Upvote 0

Forum statistics

Threads
1,221,828
Messages
6,162,215
Members
451,752
Latest member
freddocp

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top