+ Reply to Thread
Results 1 to 8 of 8

Nested lists (INDIRECT FUNCTION)

  1. #1
    Forum Contributor
    Join Date
    05-07-2009
    Location
    cedar grove
    MS-Off Ver
    Excel 2003
    Posts
    133

    Nested lists (INDIRECT FUNCTION)

    Hello,

    I am trying to learn how to create a list, that's nested in another list? I think that's what it might be called.
    Basically I have a workbook with 2 sheets (form and names) - see attached files

    In the names sheet...I have categories for types of animals (dogs, cats, rabbits) and then I have a list of names for each type of animal.

    In the Forms sheet, I have a column that uses a list validation to choose the type of animal from the drop down menu and that is working fine.

    What I want to achieve is, to the right of that cell, when I choose a type (category) of an animal, that only those names for that type show up in a drop down menu.

    So, if someone chooses "dogs" from the cell on the left, I want only the dogs names to populate on the right.

    I found something online using the INDIRECT function, but I can't seem to get it to work.

    Right now each type of animals names uses a name range to identify that group.

    Any help is greatly appreciate
    thanks
    babs
    Attached Images Attached Images

  2. #2
    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: Nested lists (INDIRECT FUNCTION)

    Try

    =INDIRECT(A3)

  3. #3
    Forum Contributor
    Join Date
    05-07-2009
    Location
    cedar grove
    MS-Off Ver
    Excel 2003
    Posts
    133

    Re: Nested lists (INDIRECT FUNCTION)

    Hello,

    That was actually the first thing I tried, based on the tutorial, and that gave me ethel (the second cats name in the cats name list?).

    What I want is a drop down list of all the cats names, so I could pick from the list.
    That is where I am really stuck ;-)

    thanks!!!
    babs

  4. #4
    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: Nested lists (INDIRECT FUNCTION)

    Then you must have defined the range Cats wrongly. It works fine.

  5. #5
    Forum Contributor
    Join Date
    05-07-2009
    Location
    cedar grove
    MS-Off Ver
    Excel 2003
    Posts
    133

    Re: Nested lists (INDIRECT FUNCTION)

    Hi Bob,

    The thing is, I made a range for the cats names, called cats in the names sheet, but as of now, I don't know where in a formula to put that? I am missing the dropdown menu (option) in the cell to the right of my cats choice as I am not sure what to put there. Since I don't know if I will be picking dogs, cats or rabbits, how does the cell to the right of that choice know where to pick up the names from each group?
    Hope that makes more sense...thanks for all your help!!!
    babs

  6. #6
    Forum Contributor
    Join Date
    05-07-2009
    Location
    cedar grove
    MS-Off Ver
    Excel 2003
    Posts
    133

    Re: Nested lists (INDIRECT FUNCTION)

    Hi
    I just realized I could attach my excel file...maybe that will help?
    thanks
    babs
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    08-24-2011
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Nested lists (INDIRECT FUNCTION)

    like this... please find the attached..
    Attached Files Attached Files

  8. #8
    Forum Contributor
    Join Date
    05-07-2009
    Location
    cedar grove
    MS-Off Ver
    Excel 2003
    Posts
    133

    Re: Nested lists (INDIRECT FUNCTION)

    Hi Deepak!

    That did it!!
    Thank you!

    Although still a bit perplexed to know how it knows what list to choose from in the names sheet..since I really don't have a connection there?
    But, I will try to figure it out ;-)

    Thanks!!!
    babs

+ 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