+ Reply to Thread
Results 1 to 8 of 8

drop down list + filtering

  1. #1
    Registered User
    Join Date
    01-20-2009
    Location
    Mla, PH
    MS-Off Ver
    Excel 2003
    Posts
    12

    drop down list + filtering

    hi sirs i just wanna ask how to go over this. im kinda playing with the drop down list and i decided to make a list about the nba teams.

    heres the breakdown:

    1st row
    conference: east/west

    2nd row
    east: ATLANTIC/CENTRAL/SOUTHEAST
    west: SOUTHWEST/NORTHWEST/PACIFIC

    3rd row
    the teams list is next.


    now ive learned how to do a drop down list but i cant find a way to filter the 2nd row. i hope you can gimme some tips or ways on how to go over this. i tried data>filter but thats not what i need.

    here is an attachment and i used sheet 1 for the input and sheet 2 for the list of the selections.

    thanks
    Attached Files Attached Files
    Last edited by jermz; 01-24-2009 at 03:11 AM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    You are almost there... you had the intuition to create named ranges based on the selections which is what you need to do... Great!

    So now, in C6, you create another Data Validation List and enter the formula =Indirect($B6)

    In D6, do the same and enter formula =Indirect($C6)

    Then you can copy|Paste Special >> Validation over the remaining cells.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    01-20-2009
    Location
    Mla, PH
    MS-Off Ver
    Excel 2003
    Posts
    12
    Quote Originally Posted by NBVC View Post
    You are almost there... you had the intuition to create named ranges based on the selections which is what you need to do... Great!

    So now, in C6, you create another Data Validation List and enter the formula =Indirect($B6)

    In D6, do the same and enter formula =Indirect($C6)

    Then you can copy|Paste Special >> Validation over the remaining cells.
    wow thats really great thanks! this is freakin awesome

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    You are welcome.

    Please mark your thread as Solved.

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

  5. #5
    Registered User
    Join Date
    01-20-2009
    Location
    Mla, PH
    MS-Off Ver
    Excel 2003
    Posts
    12
    uhm i have 1 more thing that i needed to add. its a 4th row and its a win status. if i select a team it will automatically show the number of wins in E. now what i did on sheet 2 is that i added numbers in the cells beside the pacific teams just to test it:

    WARRIORS 12
    CLIPPERS 11
    LAKERS 9
    SUNS 7
    KINGS 6

    i guess i need to use IF or lookup or match but how do i do it using the list on sheet 2?

    heres another attachment

    thanks!
    Attached Files Attached Files

  6. #6
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Since you named that range "pacific1", you can use that in a Vlookup

    try:
    =VLOOKUP(D5,pacific1,2,FALSE)

    or if you intend to always match up with what's in Column C and have a named range for each with a Win column... then

    =VLOOKUP(D5,INDIRECT(C5&1),2,FALSE)

    would look at C5 and add a 1 to the end of it and then look for that combined named range for the lookup items..

  7. #7
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    or if you don't want to create new named ranges and just want to insert a win column between each Region... then you can use something like

    =OFFSET(INDIRECT(C5),MATCH(D5,INDIRECT(C5),0)-1,1,1,1)

    which uses your original named ranges and looks to the column to the right for values to bring back

  8. #8
    Registered User
    Join Date
    01-20-2009
    Location
    Mla, PH
    MS-Off Ver
    Excel 2003
    Posts
    12
    Quote Originally Posted by NBVC View Post
    or if you don't want to create new named ranges and just want to insert a win column between each Region... then you can use something like

    =OFFSET(INDIRECT(C5),MATCH(D5,INDIRECT(C5),0)-1,1,1,1)

    which uses your original named ranges and looks to the column to the right for values to bring back
    whoa this is what ive been looking for sir. i did place the wins per team to the right and it worked really well.

    thanks again sir. will close this thread now.

+ 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