+ Reply to Thread
Results 1 to 4 of 4

Drop downs conditional on user selection relative to table.

  1. #1
    Registered User
    Join Date
    07-30-2010
    Location
    South Pole
    MS-Off Ver
    Excel 2010
    Posts
    99

    Drop downs conditional on user selection relative to table.

    I have a table with four columns: Item, Stock, Weight, and Serial. I would like to set up four consecutive cells that are conditional on each other, two dropdown menus and two autocalculates, for a form. The first dropdown menu would list the name of everything in the item column. The second dropdown menu would list integers starting at one and increasing until it hit the number in the stock column relative to the item selection. The next cell would multiply the selected stock by the number in the weight column relative to the item selection. The final cell would simply display a number that is in the serial column relative to the item selection.

    To create the first drop down, I would just highlight all the items in the first column of the table and give it a name like "Items". Then in the cell I would want it to appear I would enter data validation, select list, and enter =Items.
    However, I am unsure how I would make a second dropdown based on the first dropdown short of using a ton of if statements (and making it a pain to add new items in the future).
    I have a similar problem with the third cell, as I could potentially set it equal to the previous cell multiplied by the weight using a ton of if statements. Same with the forth cell.

    While I could just use the if statements, I know excel is much more powerful than I know how to use, so there is probably an easier way that I have never used or that I am overlooking. So if you could point me in the right direction of the function I need to use, I would be grateful.

    Thank you for your time.
    Last edited by janschepens; 10-24-2011 at 12:01 PM.

  2. #2
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,317

    Re: Drop downs conditional on user selection relative to table.

    See if this guides you there...

    Create Dependent Lists
    Create Dependent Lists

    also...

    http://www.contextures.com/xldataval15.html
    Last edited by jeffreybrown; 10-23-2011 at 09:23 PM.
    HTH
    Regards, Jeff

  3. #3
    Registered User
    Join Date
    07-30-2010
    Location
    South Pole
    MS-Off Ver
    Excel 2010
    Posts
    99

    Re: Drop downs conditional on user selection relative to table.

    Thanks for the help. What I ended up needing was the index match combo.

  4. #4
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,317

    Re: Drop downs conditional on user selection relative to table.

    You're welcome and thanks for the feedback

+ 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