+ Reply to Thread
Results 1 to 5 of 5

Dependent Lists

  1. #1
    Registered User
    Join Date
    11-01-2012
    Location
    Los Angeles, CA
    MS-Off Ver
    Excel 2010
    Posts
    7

    Unhappy Dependent Lists

    Source Data under "Nerves_Data" tab:

    Want to create a dependent list under "Day of Week Analysis" to see what sport and what corresponding days have the most impact (lift) 5 weeks up to game day, and 5 weeks after.

    Need:

    1) Formula to create a list (Day of Week) dependent on first list (Game Type)... see "Day of Week Analysis.. " Would want to have unique data from Nerve_Data!$A$2:$A$25 selected, no duplicates within the list.

    2) Use both lists as a filter to return the 5 weeks up to game day and 5 weeks after data to display whenever data from each list are selected.


    Thoughts?
    Attached Files Attached Files

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Dependent Lists

    1) create a single named named range called Game_Type which is defined as =Nerves_Data!$A:$A

    2) Apply Data Validation settings to the Day of Week Analysis sheet cell B20 as:

    Allow: List
    Source: =OFFSET(INDEX(Game_Type,MATCH($B$19, Game_Type, 0)), , 1, COUNTIF(Game_Type, $B$19), )

    That should do it.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Dependent Lists

    1) create a single named named range called Game_Type which is defined as =Nerves_Data!$A:$A

    2) Apply Data Validation settings to the Day of Week Analysis sheet cell B20 as:

    Allow: List
    Source: =OFFSET(INDEX(Game_Type,MATCH($B$19, Game_Type, 0)), , 1, COUNTIF(Game_Type, $B$19), )

    That should do it.

  4. #4
    Registered User
    Join Date
    11-01-2012
    Location
    Los Angeles, CA
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Dependent Lists

    Thanks Jerry -

    The more I look at the data the more it seems that a better depiction of the data would utilize unique values of Day of Week as a List, then return the Game Type with the corresponding 5 Weeks Out to 5 Weeks After Data. (That way I can graph the day of week impact on particular game types).

    Please let me know if it this is best suited as another thread... thought this was a valid follow up to the dependent list question above. Again, thank you much in advance.

    Chris.

  5. #5
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Dependent Lists

    Your original data and the solution offered go together and appear to work correctly. Be wary of adding new designs that toss out working stuff. But yes, if this question is resolved, mark this thread as solved and present new scenarios/needs in new threads.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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