+ Reply to Thread
Results 1 to 10 of 10

need a dynamic source for data validation drop down lists

  1. #1
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    need a dynamic source for data validation drop down lists

    What i am looking for is a way to modify the "base" source for data validation drop down lists...all drop downs have the same base source for the list, but as items are chosen, they get removed from available choices, or if they get deselected, are re-added to available choices...i hope this example workbook will help explain what i'm looking for.
    If i have to use VBA or Macros I will, but would prefer to do it in Excel itself, if possible
    Attached Files Attached Files

  2. #2
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: need a dynamic source for data validation drop down lists

    Bump. No reply.

    and what would be considered too short a time to Bump?...don't want to seem pushy or anything

  3. #3
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: need a dynamic source for data validation drop down lists

    Notice the link at the top of the screen called Unanswered Threads? Many contributors click that link first to see which posts have not been answered yet since their last visit. Regardless of how long you wait, once a reply is posted to your thread your thread would never show on that list at all. So bumping your own thread as the first reply is always probably a bad idea.

    I would recommend waiting at least 24 hours to bump. Most active contributors come by at least once a day, that gives everyone a shot at your thread on the Unanswered threads list, at least until someone replies.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: need a dynamic source for data validation drop down lists

    'DIMINISHING DROP DOWN LIST
    Here's a link to a page where I show the technique I use for Diminishing Drop Down lists:

    Jerry Beaucaire's Excel Tools

    (the file you want is DiminishingDropList.xls)
    Last edited by JBeaucaire; 12-27-2019 at 10:43 PM.

  5. #5
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: need a dynamic source for data validation drop down lists

    This looks like it does what i want, BUT, it seems to require an extra column to hold the actual list ? if so, is not a prob, i'll just hide and protect it, but was hoping for a non-additional solution...lol @ me

  6. #6
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: need a dynamic source for data validation drop down lists

    actually, looks like 2 added columns, seems the key field is required as well,..am testing it now, but will thank you anyway, IS a solution that does not recquire me doing VBA coding ...YAY!!

    looks like i can not give you another "star " yet, sorry
    Last edited by dredwolf; 10-29-2012 at 04:21 AM. Reason: to say why no "star"

  7. #7
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: need a dynamic source for data validation drop down lists

    i'm getting too tired to convert this, if you could relate this to my example for columns A and B, i'd probably get it...but i'm so tired atm, i am gonna wait till tomorrow to finish doing the conversions my self...sorry, will mark solved if it does what it looks like it should, but till i see it happen, i am leaving as "open"

  8. #8
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: need a dynamic source for data validation drop down lists

    You're correct. For each "column" where you wish the diminishing to occur you will need a "key" column adjacent to the original list to number the items not used yet, then a new "secondary list" made of only the numbered items, that column would only use the secondary list for its data validation.

    It should be simple enough to setup the first set, then just add pairs of additional sets by copying and editing the formulas.

  9. #9
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: need a dynamic source for data validation drop down lists

    okay, i modified the code in your example to fit my example, however, the key column populates with 0's, and the available teams list also populates with 0's...i'm obviously missing something, but for i cant see what...
    have included the modified workbook, haven't changed the dropdowns as yet, seeing as the data is not there to use

    Sorry..attached old file,am attaching thenew one
    Attached Files Attached Files
    Last edited by dredwolf; 10-29-2012 at 09:00 PM. Reason: wrong file attachment

  10. #10
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: need a dynamic source for data validation drop down lists

    okay found my error...was a circular reference i was having trouble tracking..right in front of my eyes...lol
    works perfectly now, just had to change the formula reference in C3 to C2 NOT C3!!
    will put solved up now, and thanks for all the help JBeaucaire, very much appreciated!!
    Will click your star when it lets me again

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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