+ Reply to Thread
Results 1 to 13 of 13

Drop Down Menu Formulas

  1. #1
    Forum Contributor
    Join Date
    11-23-2013
    Location
    San Diego
    MS-Off Ver
    Excel 2013
    Posts
    457

    Drop Down Menu Formulas

    I have a worksheet that has a table with a list of drop down menus. Is there a way to add an IF formula to certain criteria depending on what is selected in the drop down menu choices above it?

    For example, in my attached worksheet, I have 4 separate drop down menus (Player Universe, Scoring Format, Number of Teams & Number of Players per team) from which to choose from.

    In the player universe menu I have three options, Mixed/AL/NL.
    In the Number of Teams I have several different options ranging from 8-20.
    In the Number of Players per team I have several different options as well ranging from 1-30.

    I want all three of these menus to work together. If someone selects AL/NL from the player Universe menu and then selects 18 or 20 teams from the number of teams menu, then I only want the number of players per team menu to only allow up the 26 players instead of maximum 30. Is there anyway to do this?

    Any help would be greatly appreciated, thanks!
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    11-23-2013
    Location
    San Diego
    MS-Off Ver
    Excel 2013
    Posts
    457

    Re: Drop Down Menu Formulas

    Can anyone help?

  3. #3
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Drop Down Menu Formulas

    Use a defined name range (DNR) say 'Players'

    In the DNR use this formula
    =OFFSET('Custom Auction Settings'!$L$2,,,IF(OR('Custom Auction Settings'!$C$5=18,'Custom Auction Settings'!$C$5=20),27,31),1)

    Now in the data validation for D6 use -- List -- Players -- Ok

    Does that help?
    Attached Files Attached Files
    Last edited by Ace_XL; 01-23-2015 at 04:12 PM. Reason: Added attachment
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  4. #4
    Forum Contributor
    Join Date
    11-23-2013
    Location
    San Diego
    MS-Off Ver
    Excel 2013
    Posts
    457

    Re: Drop Down Menu Formulas

    Quote Originally Posted by Ace_XL View Post
    Use a defined name range (DNR) say 'Players'

    In the DNR use this formula
    =OFFSET('Custom Auction Settings'!$L$2,,,IF(OR('Custom Auction Settings'!$C$5=18,'Custom Auction Settings'!$C$5=20),27,31),1)

    Now in the data validation for D6 use -- List -- Players -- Ok

    Does that help?
    Wow this works great! Thanks for your help!
    Last edited by mlbdc2012; 01-23-2015 at 04:18 PM.

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,962

    Re: Drop Down Menu Formulas

    See if the attached will get you heading in the right direction?

    Basically, each "set" needs its own range name. Then, you use INDIRECT() to reference that range name. INDIRECT() is the function you use when you want to convert text into something that excel can use in a formula
    Attached Files Attached Files
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  6. #6
    Forum Contributor
    Join Date
    11-23-2013
    Location
    San Diego
    MS-Off Ver
    Excel 2013
    Posts
    457

    Re: Drop Down Menu Formulas

    On second thought, it works great for the AL/NL but when selecting MIXED for the player universe, you should still be able to select # of players up to 30, right now it's acting like the AL/NL only allowing a selection up to 26.

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,962

    Re: Drop Down Menu Formulas

    I looked at the attachment, doesnt look like all the suggested formula was applied to your file

  8. #8
    Forum Contributor
    Join Date
    11-23-2013
    Location
    San Diego
    MS-Off Ver
    Excel 2013
    Posts
    457

    Re: Drop Down Menu Formulas

    Quote Originally Posted by FDibbins View Post
    I looked at the attachment, doesnt look like all the suggested formula was applied to your file
    AceXL's post with the attachment uploaded works but only for AL/NL, when selecting Mixed & 18/20 teams, I would like the option to choose up to 30 players as opposed to only 26 if AL/NL was selected for 18 or 20 team choices. Hope that makes sense

  9. #9
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,962

    Re: Drop Down Menu Formulas

    Did you look at the sample workbook I uploaded?

  10. #10
    Forum Contributor
    Join Date
    11-23-2013
    Location
    San Diego
    MS-Off Ver
    Excel 2013
    Posts
    457

    Re: Drop Down Menu Formulas

    Quote Originally Posted by FDibbins View Post
    Did you look at the sample workbook I uploaded?
    Yes, but I'm pretty confused, how many options would I need? Seems like a lot

  11. #11
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,962

    Re: Drop Down Menu Formulas

    If you have 3 levels, and each level has 3 levels, you need 9 range names

  12. #12
    Forum Contributor
    Join Date
    11-23-2013
    Location
    San Diego
    MS-Off Ver
    Excel 2013
    Posts
    457

    Re: Drop Down Menu Formulas

    Quote Originally Posted by FDibbins View Post
    If you have 3 levels, and each level has 3 levels, you need 9 range names
    Any chance you could insert what you're describing in my original attached worksheet?

  13. #13
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,962

    Re: Drop Down Menu Formulas

    To get you started, you have a main DD with 3 categories...Mixed, AL and NL

    Make 1 range name for that, call it Universe

    Then you need a list for each format that would in each of those 3. I cant do that for you because I dont know what goes with what, so for instance...
    Mixed
    5x5
    4x4

    AL
    6x6
    PTS

    NL
    Keeper

    Then for each of those...
    5x5
    8
    9
    10
    11

    4x4
    12
    13
    14
    etc

+ 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. Options in Drop Down Menu to choose from different formulas.. I think...
    By oscarcarl in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 01-15-2015, 07:58 PM
  2. [SOLVED] Formulas Based on results from a drop down menu
    By bramdana in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-03-2014, 01:29 AM
  3. Replies: 1
    Last Post: 11-14-2011, 02:48 PM
  4. Replies: 2
    Last Post: 01-30-2009, 04:23 PM
  5. Replies: 9
    Last Post: 08-04-2006, 04:35 AM

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