+ Reply to Thread
Results 1 to 11 of 11

Double Dropdown list

  1. #1
    Registered User
    Join Date
    10-19-2013
    Location
    Israel
    MS-Off Ver
    Excel 2013
    Posts
    6

    Question Double Dropdown list

    Hello !

    I am new on this forum but i am using excel for a long time, i love playing with it.

    I got a main table with multiple data in one sheet that the user needs to input and i got another sheet with special data that it is already in the program.

    i want to do in sheet #1 a dropdown that has almost 25 items from sheet #2 from cells a2:a26 - that's easy
    my problem, is that besides that dropdown i want to make another one what will have the info in the row that was selected before.

    for example, if i select in the dropdown list the number 5, then on the next dropdown list i will get all the records from b6:t6

    I hope you can understand me.

    thanks !
    Last edited by finalito; 10-20-2013 at 12:02 PM. Reason: Problem Solved !

  2. #2
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Double Dropdown list

    Here is one way to do what I think that you want.
    Attached Files Attached Files
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  3. #3
    Registered User
    Join Date
    10-19-2013
    Location
    Israel
    MS-Off Ver
    Excel 2013
    Posts
    6

    Re: Double Dropdown list

    thanks for that function (indirect), that is what i needed, but the thing is..

    that on the excel i have, the next select after selection the number (it is a road number) are different junctions, so showing them all together doesnt solve my problem.

    thanks anyway.. cool idea

  4. #4
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Double Dropdown list

    If you upload a worksheet with what you are starting with and what you expect (use dummy data if you have to) would be a great asset in helping you.

  5. #5
    Registered User
    Join Date
    10-19-2013
    Location
    Israel
    MS-Off Ver
    Excel 2013
    Posts
    6

    Re: Double Dropdown list

    what you did was great.
    i am on that step.
    except that instead of using the indirect function to show all the data in the same row, i want to get a dropdownlist depending on the data selected.
    using your example, if i select in the dropdown list the number 20. i want another dropdown list by it, that has the data 343:361 and then select it.

    i hope u understood

  6. #6
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Double Dropdown list

    You need to create dependent lists for each selection possible in your first drop-down list that will return what you are looking for from that drop-down list.

    Eg: If you have 1, 2 and 3 in the first drop-down list then you need a list corresponding to each of 1, 2 and 3.

    Here is a very simple example of a "cascading" drop-down list....one list leads to another.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    10-19-2013
    Location
    Israel
    MS-Off Ver
    Excel 2013
    Posts
    6

    Re: Double Dropdown list

    hey,

    thank you very much, it is what i need.

    can u help me to recreate it, cause i need more than 20 different products.

    thanks !
    Quote Originally Posted by newdoverman View Post
    You need to create dependent lists for each selection possible in your first drop-down list that will return what you are looking for from that drop-down list.

    Eg: If you have 1, 2 and 3 in the first drop-down list then you need a list corresponding to each of 1, 2 and 3.

    Here is a very simple example of a "cascading" drop-down list....one list leads to another.

  8. #8
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Double Dropdown list

    I would have to see what you have as data before saying that I definitely could or could not help. You mention road junctions and products so I really don't know what you are dealing with.

    If you want to post some representative data, I will give it a try.

  9. #9
    Registered User
    Join Date
    10-19-2013
    Location
    Israel
    MS-Off Ver
    Excel 2013
    Posts
    6

    Re: Double Dropdown list

    test.xlsx
    I created a dropdown list form the road number. I would like to have another dropdown list in cell C3 having the junctions correspoding to the road.

    I have no problem formatting the table data as you did in the vegetables example.

    thanks

    Quote Originally Posted by newdoverman View Post
    I would have to see what you have as data before saying that I definitely could or could not help. You mention road junctions and products so I really don't know what you are dealing with.

    If you want to post some representative data, I will give it a try.

  10. #10
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Double Dropdown list

    Oh boy, was I surprised when I opened your workbook. Right to left and tab names that I couldn't read. No matter, I got used to what I was seeing and did some work.

    I took the data that you had for the road junctions and transposed the rows and turned the data into individual tables. This is one way to have dynamically sized drop down lists. The numbers that you had for the road identification had to be modified because the numbers themselves could not be used as names for the ranges that are required for the junctions. So, I added Road # to each of the ID numbers and then used a VLOOKUP table to access the names with spaces and get the same names without spaces. The rest should be self explanatory.

    To add junctions to each road, click in the last cell of the table for that road and hit TAB. This will add a row to the table and when you fill the new cell with data, that data will be present in the drop down list for the junction.

    When you enter a new road, click in the last cell of the road table and hit TAB. A new row is ready for data. Enter the road name in the same manner as the other roads then in the column to the left enter the name of the table that has the junctions for that road. You can get the exact name by going to the Name Manager and select the table for the new junctions and click on edit. Copy the name that is presented and then paste it into the cell beside the road name.
    Attached Files Attached Files

  11. #11
    Registered User
    Join Date
    10-19-2013
    Location
    Israel
    MS-Off Ver
    Excel 2013
    Posts
    6

    Re: Double Dropdown list

    Quote Originally Posted by newdoverman View Post
    ...
    Thank you very much.

    Problem solved !

    and more important... lesson learned : )

+ 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: 0
    Last Post: 08-22-2012, 03:52 PM
  2. Replies: 21
    Last Post: 12-02-2009, 03:27 PM
  3. Double dropdown
    By mhuston in forum Excel Charting & Pivots
    Replies: 6
    Last Post: 05-19-2009, 12:58 PM
  4. Date dropdown list and a Time dropdown list in outlook
    By L_ter in forum Outlook Programming / VBA / Macros
    Replies: 3
    Last Post: 03-30-2009, 02:33 AM
  5. [SOLVED] double dropdown/combobox
    By arie in forum Excel General
    Replies: 6
    Last Post: 11-09-2005, 10:50 AM

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