+ Reply to Thread
Results 1 to 4 of 4

Cascading dropdown list with dynamic ranges

  1. #1
    Registered User
    Join Date
    04-18-2008
    Posts
    11

    Cascading dropdown list with dynamic ranges

    I have 6 named ranges.

    "Sector" Job sector category of each individual, which is a normal named range featuring 5 different sectors:

    And the five sectors:
    "Administrator", "Manager", "Waitress", "Kitchen" & "Bar"

    These are dynamic named ranges which I calculate using =OFFSET(Sheet1!$A$1,0,0,MATCH("*",Sheet1!$A:$A,-1),1)

    I am trying to create a cascading dropdown list whereas the 2nd list available is dependent on the sector chosen in the 1st dropdown list in E3.

    I would usually use =Indirect(E3) but as the five sectors are dynamic this does not work.

    Is there a solution to this problem?

    Thanks in advance

  2. #2
    Forum Expert
    Join Date
    09-09-2005
    Location
    England
    MS-Off Ver
    2007
    Posts
    1,500
    Perhaps something like the attached will point you in the right direction

    Regards

    dav
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    04-18-2008
    Posts
    11

    appreciate the effort

    Hi Dav,

    Thanks for the file, have looked at it but unfortunately the town list range does not expand as you add places.

    I tried changing the named ranges to =OFFSET(2!$d$4,0,0,MATCH("*",2!$d:$d,-1),1)

    but then the dropdown list froze.

    any ideas?

  4. #4
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,971
    Hi,
    If you define a name using EVALUATE it will work with dynamic ranges. Choose Insert, Name, Define from the menu, enter List2 (or whatever name you care to choose) and in the refers to box enter this:
    =EVALUATE(Sheet1!$E$3)
    adjusting the sheet name if required. Then use =List2 as the list source for the second data validation.

+ 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