+ Reply to Thread
Results 1 to 4 of 4

Dependant Drop Down List From Dynamic Table Data

  1. #1
    Registered User
    Join Date
    01-16-2014
    Location
    London, England
    MS-Off Ver
    Office 365
    Posts
    25

    Dependant Drop Down List From Dynamic Table Data

    Hi All,

    I've been racking my brains trying to sort out an issue I have relating to drop down lists - my brains haven't been able to provide a solution, so I thought I would query yours.

    I have a table that is quite large (around 1,000 rows) and is regularly updated and added to. One column in my table contains a unique site name, and another column contains the region that site is in (one of 7 regions). On another sheet I have two drop downs - one for the region and one for the site. This in turn will populate some other cells with data relating to that site. However, what I would like to be able to do, is once the region is selected, the second drop down list only shows the sites that are in the chosen region. This would ideally be sorted alphabetically as well.

    I have previously created dependant drop down lists by creating a separate table on another tab with all the data for each region; however as the main table gets edited and added to, I'm not sure how I would get this to work. I have seen that array formulas are a possible solution to this as well, but due to the size of the table I don't believe this would be a viable solution.

    If anyone could give me any pointers on how to do this, I would much appreciate it. Happy to go the VBA route if required. I have attached a simple spreadsheet with some dummy data that may give a better idea of what I need.

    Excel Drop Down Query.xlsx

    Many thanks in advance.

    S

  2. #2
    Valued Forum Contributor
    Join Date
    04-12-2012
    Location
    India
    MS-Off Ver
    Excel 2007, 2010, 2013, 2016, 2019, Office 365, Google Spreadhsheet
    Posts
    640

    Re: Dependant Drop Down List From Dynamic Table Data

    Hi Skins,

    It can be easily done in excel with just few steps.

    I have attached a workbook for your reference. What I have done, is that to create dependent list you have to define function first. Check what I did from column G to M. I have made a list and defined each region and mentioned the site under that and then defined it (Go to Formula--> Under Defined Names, Click on "Name Manager" to check).

    Please let me know if this workbook solved your purpose.
    Attached Files Attached Files
    Thanks,
    Anil Dhawan


    Click *Add Reputation to say "Thanks" and don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved) if you are satisfied.

    Don't stop when you are tired. STOP when you are done!

  3. #3
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Dependant Drop Down List From Dynamic Table Data

    the Array Formula route works fine.
    Attached Files Attached Files
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

  4. #4
    Registered User
    Join Date
    01-16-2014
    Location
    London, England
    MS-Off Ver
    Office 365
    Posts
    25

    Re: Dependant Drop Down List From Dynamic Table Data

    Both,

    Many thanks for your help. Both work great - I've opted for the array formula as this will stay updated by using named ranges and can be alphabetised also - I was initially worried that by having a lot of array formulas it could slow things down, but doesn't seem to do. Really appreciate your assistance, keep up the good work!

    Skins

+ 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: 8
    Last Post: 11-16-2014, 06:34 PM
  2. Data Validation drop down list (Dependant
    By Willows59 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-11-2014, 06:38 AM
  3. Dynamic Dependant Drop-Down List
    By GonzoSS in forum Excel General
    Replies: 4
    Last Post: 05-16-2012, 04:26 PM
  4. [SOLVED] Dynamic Table with Drop Down List - Only works on one tab.
    By hidden78731 in forum Excel General
    Replies: 1
    Last Post: 04-21-2012, 12:10 AM
  5. [SOLVED] Dynamic Table with Drop Down List
    By hidden78731 in forum Excel General
    Replies: 6
    Last Post: 04-19-2012, 02:01 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