+ Reply to Thread
Results 1 to 2 of 2

Help with Dependent Dropdowns

  1. #1
    Registered User
    Join Date
    01-28-2014
    Location
    dallas
    MS-Off Ver
    Excel 2013
    Posts
    2

    Question Help with Dependent Dropdowns

    I am creating an inventory list for my company and am using a template from excel for the ground work, but I need to add some dropdowns to help us see if we have the item or not.

    I was trying to use an index match on the Data Validation section but it wasn't working.

    I need on the 'Inventory Pick List' sheet under 'MATERIAL TYPE' column to have a dropdown of the type of material we use, which is found on the 'Inventory List' sheet.
    Then I need a dropdown in the column next to it, 'INVENTORY CODE' that has all the info under that column from the 'Inventory List'.
    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: Help with Dependent Dropdowns

    1) On the HIDDEN sheet, move the list up so that the title is in B1 and the choices start in B2.

    2) Change the definition of the "Materials" named range to the following dynamic formula, this will expand and contract by itself as you add/remove from the column B on the HIDDEN sheet:

    =OFFSET(HIDDEN!$B$2, , , COUNTA(HIDDEN!$B:$B)-1, )

    2) On the Inventory List sheet, click on B5, then open the Name Wizard and click NEW... create a named range called:

    MaterialAnchor that RefersTo: =InventoryTable[[#Headers],[MATERIAL TYPE]] (that should be automatic)

    NOTE: This should needs to stay organized the way it is, with all like items from column B grouped together.

    3) On the Inventory Pick List sheet, put in the following dynamic DV formula in cell D4, then copy down:

    Allow: List
    Source: =OFFSET(MaterialAnchor, MATCH($C4, 'Inventory List'!$B:$B, 0)-5, 1, COUNTIF('Inventory List'!$B:$B, C$4), )

    4) Formula in E4:

    =IFERROR(VLOOKUP([@[INVENTORY CODE]], InventoryTable[[INVENTORY CODE]:[DESCRIPTION]], 2, FALSE),"")

    5) Formula in G4:

    =IFERROR(VLOOKUP([@[INVENTORY CODE]], InventoryTable[[INVENTORY CODE]:[QTY]], 5, FALSE),"")
    Attached Files Attached Files
    Last edited by JBeaucaire; 01-28-2014 at 07:40 PM.
    _________________
    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!)

+ 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. [SOLVED] Dependent Dropdowns, clearing dependent value when parent value changes
    By ptmald in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-14-2013, 01:52 PM
  2. Replies: 2
    Last Post: 07-11-2013, 10:04 AM
  3. Dependent Nested Dropdowns
    By ACFHogan in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-05-2013, 03:04 AM
  4. Dependent dropdowns
    By Jogier505 in forum Excel General
    Replies: 5
    Last Post: 12-30-2009, 08:39 PM
  5. [SOLVED] 3+ Dynamic Dependent dropdowns?
    By KD in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-20-2006, 01:15 PM

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