+ Reply to Thread
Results 1 to 5 of 5

Dynamic Dropdown Menu/List

Hybrid View

liampog Dynamic Dropdown Menu/List 08-22-2013, 07:12 PM
JBeaucaire Re: Dynamic Dropdown Menu/List 08-22-2013, 07:25 PM
liampog Re: Dynamic Dropdown Menu/List 08-22-2013, 08:09 PM
jeffreybrown Re: Dynamic Dropdown Menu/List 08-22-2013, 07:26 PM
JBeaucaire Re: Dynamic Dropdown Menu/List 08-22-2013, 08:35 PM
  1. #1
    Registered User
    Join Date
    11-24-2010
    Location
    England
    MS-Off Ver
    Excel 2002
    Posts
    4

    Dynamic Dropdown Menu/List

    I have a successful dropdown menu that removes items that have already been selected through the dropdown list, however, I need it to be able to handle IDENTICAL items. At the moment, it can only handle unique items.

    I'm trying to create a Rota Planner. I have a selection of shifts that need to be selected for each day. Some shifts are repeated (meaning that there may be 4 members of staff on the same shift). As ONE of each of the 4 shifts are selected, I then want only 3 to be displayed in the dropdown menu to be selected, until all of them have been selected.

    I've tried to break apart the code that provides dynamic dropdown list for UNIQUE values but I'm tearing my hair out and getting nowhere.

    Does anyone have any ideas?

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

    Re: Dynamic Dropdown Menu/List

    The simplest answer is to make the 4 "AM" shifts have a unique name each, too. Even though they're the same shift, if you have four of them:


    AM1
    AM2
    AM3
    AM4
    PM1
    PM2
    PM3


    You get the idea. This way your existing method works as is.
    _________________
    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!)

  3. #3
    Registered User
    Join Date
    11-24-2010
    Location
    England
    MS-Off Ver
    Excel 2002
    Posts
    4

    Re: Dynamic Dropdown Menu/List

    Quote Originally Posted by JBeaucaire View Post
    The simplest answer is to make the 4 "AM" shifts have a unique name each, too. Even though they're the same shift, if you have four of them:


    AM1
    AM2
    AM3
    AM4
    PM1
    PM2
    PM3


    You get the idea. This way your existing method works as is.

    Thanks for the reply.

    Of course, this would work but it's not aesthetically perfect.

    I wonder if there might be a way to have the dynamic dropdown/list only display ONE of each shift and it only disappears from the list once all occurrences of it in the original list have been selected...?

  4. #4
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,327

    Re: Dynamic Dropdown Menu/List

    Your post does not comply with Rule 8 of our Forum RULES. Do not crosspost your question on multiple forums without including links here to the other threads on other forums.

    Cross-posting is when you post the same question in other forums on the web. The last thing you want to do is waste people's time working on an issue you have already resolved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser) to the cross-post.

    Expect cross-posted questions without a link to be closed and a message will be posted by the moderator explaining why. We are here to help so help us to help you!

    Read this to understand why we ask you to do this, and then please edit your first post to include links to any and all cross-posts in any other forums (not just this site).
    HTH
    Regards, Jeff

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

    Re: Dynamic Dropdown Menu/List

    As you have failed to comply with the moderation request above, I'll bow out for now.
    Last edited by JBeaucaire; 08-22-2013 at 08:45 PM.

+ 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. dynamic dropdown list of dates
    By sherlock99 in forum Excel General
    Replies: 1
    Last Post: 08-09-2013, 08:06 AM
  2. Excel 2007 : Dynamic dropdown list
    By Mikme Riley in forum Excel General
    Replies: 2
    Last Post: 05-09-2012, 04:45 PM
  3. Dynamic dropdown menu based on two criteria
    By Darsk in forum Excel General
    Replies: 5
    Last Post: 09-18-2011, 05:31 PM
  4. Cascading dropdown list with dynamic ranges
    By devunow in forum Excel General
    Replies: 3
    Last Post: 11-04-2008, 09:56 AM
  5. Dynamic dropdown list quandry
    By Shocked in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-11-2008, 09:58 AM

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