+ Reply to Thread
Results 1 to 5 of 5

Dependent drop down from a single source list

  1. #1
    Registered User
    Join Date
    05-17-2010
    Location
    Tennessee
    MS-Off Ver
    Office365
    Posts
    24

    Dependent drop down from a single source list

    I have a list of about 38,000 products from over 200 different vendors. I am trying to create dependent drop downs where if they select the vendor in one box, the second will be limited only to that vendors products. I know this can be done without VBA using the indirect function in the validation tool - if there is a separate list for each vendor. I need to avoid having to maintain over 200 separate lists.

    There are a lot of other things going on in the workbook but I've created an abridged version of this issue and attached it for reference.Testing Dropdowns.xlsm

    Is this possible with VBA? Any suggestions or thoughts would be much appreciated.

    Thanks in advance.

  2. #2
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Dependent drop down from a single source list

    Hi RandiLee

    Your Profile indicates Excel 2003 yet you've uploaded an xlsm File. Does the Code need to function in Excel 2003?
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

  3. #3
    Forum Expert
    Join Date
    02-11-2014
    Location
    New York
    MS-Off Ver
    Excel 365 (Windows)
    Posts
    5,943

    Re: Dependent drop down from a single source list

    This requires that the list be sorted by vendor name.

    I have used a name VList, with the definition:

    =OFFSET(LkupArticles!$D$1,MATCH('Cell Site Equipment'!$C$4,LkupArticles!$H:$H,FALSE)-1,0,COUNTIF(LkupArticles!$H:$H,'Cell Site Equipment'!$C$4),1)

    Here is a working version of your file.

    Testing Dropdowns.xlsm
    Bernie Deitrick
    Excel MVP 2000-2010

  4. #4
    Registered User
    Join Date
    05-17-2010
    Location
    Tennessee
    MS-Off Ver
    Office365
    Posts
    24

    Re: Dependent drop down from a single source list

    Sorry for the confusion, jaslake. Thanks for the heads up. I haven't been on here in a while. I'm using Office365. I'll make the update.

  5. #5
    Registered User
    Join Date
    05-17-2010
    Location
    Tennessee
    MS-Off Ver
    Office365
    Posts
    24

    Re: Dependent drop down from a single source list

    Bernie, That's exactly what I needed and simpler than I was expecting. Thanks so much! You're my hero!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Dependent Drop Down list to autofill next drop down with selective choices
    By MitchellHydro1 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-08-2015, 01:18 PM
  2. [SOLVED] Dependent Drop down list with DEPENDENT DEFAULT VALUE
    By ginieman in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 10-28-2013, 03:56 AM
  3. [SOLVED] Suppress drop-down list dependent on value chosen in another drop-down list
    By ptmald in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-17-2013, 07:17 PM
  4. [SOLVED] Removing blank cells from a dependent drop list in a single column
    By Dbeethekidd in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-04-2013, 04:15 AM
  5. Dependent Validation List (Single)
    By jj102294 in forum Excel General
    Replies: 10
    Last Post: 01-05-2013, 12:26 AM
  6. [SOLVED] Column B drop down list with 2 options, columns C & E with dependent drop down lists
    By betic in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-26-2012, 03:47 PM
  7. [SOLVED] Dependent Drop down list with DEPENDENT DEFAULT VALUE (e.g. Blank)
    By Waqar Ali in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-26-2012, 06:31 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1