+ Reply to Thread
Results 1 to 4 of 4

Help with Dependent Drop Downs

  1. #1
    Registered User
    Join Date
    07-28-2016
    Location
    Portugal
    MS-Off Ver
    2016
    Posts
    2

    Question Help with Dependent Drop Downs

    Hello,

    I'm currently trying to practice my excel skills, and i'm currently stuck with creating dependent drop down tables.

    I'm trying to do a school schedule, in which every time I select the subject in cell A, in cell B it loads the corresponding Subject Code, and in cell C it shows me the teachers which are teaching each subject.

    If the subject is only one word, I can create the dependencies A and C successfully (Test no2) (using the INDIRECT formula)

    If the subject has multiple words, even though I've tried using the INDIRECT formula together with SUBSTITUTE (as suggested in most places I've seen talking about this), i'm still unable to do it successfully.

    And what's the best way of loading the data into B?
    The only way I can think of right now is doing a table like the one in which I load the teachers of each subject (but I know that's the wrong way of looking at it).


    Later on i'll try to create a list showing the amount of hours that the teacher has available for lecturing, and the total of hours already lectured, but so far I'm still stuck on this

    BTW, my formulas are in Portuguese, so if they don't work that might be the reason.

    Thanks a lot everyone
    Attached Files Attached Files
    Last edited by davidjpb; 01-26-2023 at 12:36 PM.

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,152

    Re: Help with Dependent Drop Downs

    Try

    in F7

    =INDIRECT(SUBSTITUTE($C7," ","_"))

    in D7

    =INDEX(Subject_Code,MATCH($C7,Subject,0))
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  3. #3
    Registered User
    Join Date
    07-28-2016
    Location
    Portugal
    MS-Off Ver
    2016
    Posts
    2

    Re: Help with Dependent Drop Downs

    The problem is that every time I try to use that formula, it returns me the error that it doesn't recognize the formula

    Attachment 815261

    I'm using Excel 2016, dunno if that makes any difference

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,152

    Re: Help with Dependent Drop Downs

    try substituting ";" for ","
    Attached Files Attached Files
    Last edited by JohnTopley; 01-27-2023 at 01:50 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. Replies: 6
    Last Post: 01-07-2021, 12:05 PM
  2. Dependent Drop Downs
    By GUy1002 in forum Excel General
    Replies: 14
    Last Post: 07-19-2019, 09:15 AM
  3. Drop Down list dependent on 2 previous drop downs
    By mrkawht in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 11-16-2018, 02:39 PM
  4. Initial default drop downs and dependent default drop downs
    By hudsone777 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 12-07-2016, 07:05 PM
  5. Dependent Drop Downs
    By Bumblbree in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-29-2016, 11:45 AM
  6. [SOLVED] Dependent drop downs
    By gameplayer in forum Excel General
    Replies: 2
    Last Post: 12-04-2015, 11:49 AM
  7. Dependent Drop-Downs
    By braydon16 in forum Excel General
    Replies: 2
    Last Post: 12-08-2011, 05:06 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