Multiple drop-down list selections and HLOOKUP multiple results in the same cell

Daervon

New Member
Joined
Aug 12, 2017
Messages
1
I'm not sure if this is the correct forum to ask this question or if I should have posted it in the VBA forum but here goes...


[TABLE="width: 500"]
<tbody>[TR]
[TD]Product Name:[/TD]
[TD]Product Type 1:[/TD]
[TD]Product Type 2:[/TD]
[TD]Product Version 1:[/TD]
[TD]Product Version 2:[/TD]
[TD]Product Version 3:[/TD]
[TD]Product Version 4:[/TD]
[/TR]
[TR]
[TD]Alpha[/TD]
[TD]Electronics[/TD]
[TD][/TD]
[TD]Free Trial[/TD]
[TD]Basic[/TD]
[TD]Deluxe[/TD]
[TD]Business[/TD]
[/TR]
[TR]
[TD]Beta[/TD]
[TD]Electronics[/TD]
[TD]Retail[/TD]
[TD]Free Trial[/TD]
[TD]Basic[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Gamnma[/TD]
[TD]Electronics[/TD]
[TD]Commercial[/TD]
[TD]Free Trial[/TD]
[TD]Basic[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Delta[/TD]
[TD]Hardware[/TD]
[TD][/TD]
[TD][/TD]
[TD]Basic[/TD]
[TD]Deluxe[/TD]
[TD]Business[/TD]
[/TR]
[TR]
[TD]Omega[/TD]
[TD]Hardware[/TD]
[TD]Retail[/TD]
[TD][/TD]
[TD]Basic[/TD]
[TD]Deluxe[/TD]
[TD]Business[/TD]
[/TR]
[TR]
[TD]Zeta[/TD]
[TD]Hardware[/TD]
[TD]Commercial[/TD]
[TD][/TD]
[TD]Basic[/TD]
[TD]Deluxe[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]


Let's say I have the above table and I want to create a product selection form, with drop down menus, which would have the following options:


Select your product: (this would be a drop-down menu, with a list of products from Column 1 - Product Name).
Product Type(s): (this should be auto-filled, with no user interaction, by the choice from "Select your product", but should return the values from both Product Type 1 and Product Type 2 columns, in the same cell, separated by comma)
Select your version: (this, again, should be a drop-down menu, with a list of product versions from Columns 4-7, but it should only show the options pertinent to the product chosen in "Select your product").


Would this need to be done with VBA code or can I use HLOOKUP or another formula to get the results I want?


Thanks!
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
[TABLE="width: 940"]
<colgroup><col><col><col><col><col><col><col><col span="3"></colgroup><tbody>[TR]
[TD]Product Name:[/TD]
[TD]Product Type 1:[/TD]
[TD]Product Type 2:[/TD]
[TD]Product Version 1:[/TD]
[TD]Product Version 2:[/TD]
[TD]Product Version 3:[/TD]
[TD]Product Version 4:[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Alpha[/TD]
[TD]Electronics[/TD]
[TD][/TD]
[TD]Free Trial[/TD]
[TD]Basic[/TD]
[TD]Deluxe[/TD]
[TD]Business[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Beta[/TD]
[TD]Electronics[/TD]
[TD]Retail[/TD]
[TD]Free Trial[/TD]
[TD]Basic[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Gamnma[/TD]
[TD]Electronics[/TD]
[TD]Commercial[/TD]
[TD]Free Trial[/TD]
[TD]Basic[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Delta[/TD]
[TD]Hardware[/TD]
[TD][/TD]
[TD][/TD]
[TD]Basic[/TD]
[TD]Deluxe[/TD]
[TD]Business[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Omega[/TD]
[TD]Hardware[/TD]
[TD]Retail[/TD]
[TD][/TD]
[TD]Basic[/TD]
[TD]Deluxe[/TD]
[TD]Business[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Zeta[/TD]
[TD]Hardware[/TD]
[TD]Commercial[/TD]
[TD][/TD]
[TD]Basic[/TD]
[TD]Deluxe[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]product[/TD]
[TD]Gamnma[/TD]
[TD]Electronics , Commercial[/TD]
[TD]Free Trial , Basic , ,[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="colspan: 2"]if all 4 version columns were populated[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]they would be displayed here[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="colspan: 2"]if Gamnma in D14 were replaced with[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="colspan: 3"]Omega then the details for Omega would appear[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]automatically[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]would this approach be of any use ?[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,173
Members
453,021
Latest member
Justyna P

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