+ Reply to Thread
Results 1 to 2 of 2

Dependent dropdowns matching dates with names

  1. #1
    Registered User
    Join Date
    06-15-2009
    Location
    Norway
    MS-Off Ver
    Excel for Mac (365)
    Posts
    8

    Question Dependent dropdowns matching dates with names

    Trying to set up a swifter way to patching up bookings of crew rather than copy pasting manually.
    Hoping to be able to by simply filling in an "availability calendar", it could auto suggest in dropdown-menus who are available at any given shift I am planning.
    Adding in a mockup of the case in .xls here.

    I am hoping there is a way to code data validation list source to reflect the date on the bookings row, with the verified persons ("yes") next to the matching date in the calendar.
    If that is too much segments in one single formula, I have also attempted to set it up with a suggestion in the "setup"-tab, where I have at least isolated the names onto a vertical list aligned on the matching date row. Now, I am amble to simply add manually that row as a dropdown-menu, as exemplified in B16:B19 on the "Booking" tab.
    However, I would obviously love for this to be automated, given that the information is already available.
    Is that doable?

    That alone would be great, and if that works, are these two potential upgrades within reach as well?

    1) Getting the dropdown to exclude suggestions if the name has already been used in a different event on the same date. (Row 18/19 vs Row 22/23).

    2) Getting the dropdown to only suggest names that also holds the matching roles needed in the event (b1:f1).


    Hoping to get some new insights into this. I have tried to look up a lot of "advanced drop-down"-tutorials, but nothing matching my needs specifically.
    Love to learn!
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,569

    Re: Dependent dropdowns matching dates with names

    I feel that you will need something more like the green/white table on the Setup sheet in order to do what you want.
    The green/white table was produce by:
    1. Converting the text values in column A to actual dates
    2. Converting the range A4:F35 into an Excel table (Ctrl + t)
    3. Using the following advanced editor code in Power Query (aka Get & Transform):
    Please Login or Register  to view this content.
    The source for the data validation is: =OFFSET(Setup!K$3,MATCH($A3,Setup!J$4:J$101,0),0,COUNTIFS(Setup!J$4:J$101,$A3))
    If this part acceptable and is doing what you expect, we can look at how it would be possible to add the upgrades.
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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. [SOLVED] Dependent Dropdowns
    By cr130 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 09-13-2019, 05:13 PM
  2. [SOLVED] How do I create cascading (dependent) dropdowns with numbers as the names?
    By bananajelly in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-21-2015, 05:40 PM
  3. Dependent Dropdowns
    By ea223 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-26-2015, 12:33 PM
  4. [SOLVED] Dependent Dropdowns
    By Meabh in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-29-2015, 08:11 AM
  5. Help with Dependent Dropdowns
    By brentlindeman in forum Excel General
    Replies: 1
    Last Post: 01-28-2014, 07:30 PM
  6. [SOLVED] Dependent Dropdowns, clearing dependent value when parent value changes
    By ptmald in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-14-2013, 01:52 PM
  7. Dependent dropdowns
    By Jogier505 in forum Excel General
    Replies: 5
    Last Post: 12-30-2009, 08:39 PM

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