ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Populating multiple cells from a single pull down (https://www.excelbanter.com/excel-discussion-misc-queries/125572-populating-multiple-cells-single-pull-down.html)

[email protected]

Populating multiple cells from a single pull down
 
I need to pull values from multiple cells in a single row and place
them into another worksheet in specified cells. I have setup a pull
down in Worksheet2 to show all of the values in a column on Worksheet1.
When I select one of these values in the pull down I need to grab 6
other cells in Worksheet1 (from the same row) and place them into
Worksheet2 in different rows/columns.
Is this possible, and do I need to use a macro to accomplish this?

I appreciate any help.

Thanks,

Chad


Bernie Deitrick

Populating multiple cells from a single pull down
 
Chad,

Use a set of VLOOKUP formulas (or INDEX/MATCH, depending on your layout) keyed to the value in your
dropdown, to extract the data from your table. For example, if your value to match is in cell A1 on
worksheet2, and would match values in the first column of worksheet1:

=VLOOKUP(Worksheet2!A1,Worksheet1!$A$1:$G$100,2,FA LSE)
=VLOOKUP(Worksheet2!A1,Worksheet1!$A$1:$G$100,3,FA LSE)
=VLOOKUP(Worksheet2!A1,Worksheet1!$A$1:$G$100,4,FA LSE)
=VLOOKUP(Worksheet2!A1,Worksheet1!$A$1:$G$100,5,FA LSE)
=VLOOKUP(Worksheet2!A1,Worksheet1!$A$1:$G$100,6,FA LSE)
=VLOOKUP(Worksheet2!A1,Worksheet1!$A$1:$G$100,7,FA LSE)

HTH,
Bernie
MS Excel MVP


wrote in message
oups.com...
I need to pull values from multiple cells in a single row and place
them into another worksheet in specified cells. I have setup a pull
down in Worksheet2 to show all of the values in a column on Worksheet1.
When I select one of these values in the pull down I need to grab 6
other cells in Worksheet1 (from the same row) and place them into
Worksheet2 in different rows/columns.
Is this possible, and do I need to use a macro to accomplish this?

I appreciate any help.

Thanks,

Chad




[email protected]

Populating multiple cells from a single pull down
 

Bernie Deitrick wrote:
Chad,

Use a set of VLOOKUP formulas (or INDEX/MATCH, depending on your layout) keyed to the value in your
dropdown, to extract the data from your table. For example, if your value to match is in cell A1 on
worksheet2, and would match values in the first column of worksheet1:

=VLOOKUP(Worksheet2!A1,Worksheet1!$A$1:$G$100,2,FA LSE)
=VLOOKUP(Worksheet2!A1,Worksheet1!$A$1:$G$100,3,FA LSE)
=VLOOKUP(Worksheet2!A1,Worksheet1!$A$1:$G$100,4,FA LSE)
=VLOOKUP(Worksheet2!A1,Worksheet1!$A$1:$G$100,5,FA LSE)
=VLOOKUP(Worksheet2!A1,Worksheet1!$A$1:$G$100,6,FA LSE)
=VLOOKUP(Worksheet2!A1,Worksheet1!$A$1:$G$100,7,FA LSE)

HTH,
Bernie
MS Excel MVP

Thanks Bernie, your suggestion worked perfectly. I have also found this article which steps the process out: http://pubs.logicalexpressions.com/P...cle.asp?ID=446


Thanks again,

Chad



All times are GMT +1. The time now is 02:43 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com