Drilling down data using userform and listboxes


New Member
Apr 12, 2010
Hey hoping someone can help...

I have a userform that is pictured below...

In the first listbox i have it generate a static list with the same data.. no issues there...

I want the second listbox to only display ranges that are related to what is selected in the first listbox. I.e. the user clicks gatorade and also powerade in list box 1...i want list box2 to automatically display the named range gatorade and powerade for example sheet1!AF2:AF10 which i have named "Gatorade". then list box three will list the colors which is also in another list.

how would i go about the code for something like this..

thanks in advance


Some videos you may like

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).

Subscribe on YouTube

Watch MrExcel Video

Forum statistics

Latest member

This Week's Hot Topics

  • Sort code advice please
    Hi, I have the code below which im trying to edit but getting a little stuck. This was the original code which worked fine,columns A-F would sort...
  • SUMPRODUCT with nested If statement
    Hi everyone, Hope you're all well. I'm hoping someone will be able to point me in the right direction with a problem I'm having with a SUMPRODUCT...
  • VBA - simple sort is killing me!
    Hello all! This should be so easy, but not for me, apparently! I have a table of data that can be of varying lengths and widths. My current macro...
  • Compare Two Lists
    I have two Lists and I need to be able to Identify differences between them. List 100 comes from a workbook - the other is downloaded form the...
  • Formula that deducts points for each code I input.
    I am trying to create a formula that will have each student in my class start at 100 points and then for each code that I enter (PP for Poor...
  • Conditional formatting formula required for day of week and a value
    Hi, I have a really simple spreadsheet where column A is the date, column B is the activity total shown as a number and column C states the day of...