+ Reply to Thread
Results 1 to 3 of 3

Returning arrays from arrays....

Hybrid View

  1. #1
    Registered User
    Join Date
    09-12-2011
    Location
    Bilbao, Spain
    MS-Off Ver
    Excel 2003
    Posts
    9

    Returning arrays from arrays....

    Hi,

    I´m using drop down menus for users to make certain selections. The first dropdown list refers to column A in the array, the second to B and so on. What I want to do is to dynamically update the "downstream" dropdown lists as the user updates their selections.

    For example. If column A is Continents, B is Countries and C is cities. If the user selects "Europe", the second dropdownlist should discard all countries outside of Europe and only display the countries in Europe.

    The reason I want to do this is that there are thousands of cities column C (some of which everyone knows what country they´re in, some not so obvious) and it´s important that the user doesn´t get huge drop down lists all the times.

    The final step will be to return a reference code for each city.

    I´ve been banging my head against the wall with this problem for the past week and just realised the method I have been using won´t work. Due to the people that will be using the program, it has to be written in excel.

    Any help is much appreciated.

    Thanks
    Magsy

  2. #2
    Forum Expert sweep's Avatar
    Join Date
    04-03-2007
    Location
    Great Sankey, Warrington, UK
    MS-Off Ver
    2003 / 2007 / 2010 / 2016 / 365
    Posts
    3,454

    Re: Returning arrays from arrays....

    Hi,

    I think you'll find what you're looking for here

    http://www.contextures.com/xldataval02.html
    Rule 1: Never merge cells
    Rule 2: See rule 1

    "Tomorrow I'm going to be famous. All I need is a tennis racket and a hat".

  3. #3
    Forum Expert Bob Phillips's Avatar
    Join Date
    09-03-2005
    Location
    Wessex
    MS-Off Ver
    Office 2003, 2010, 2013, 2016, 365
    Posts
    3,284

    Re: Returning arrays from arrays....

    Take a look at http://www.xldynamic.com/source/xld.Dropdowns.html, almost exactly your example.

+ 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