+ Reply to Thread
Results 1 to 2 of 2

Data Validation with Huge Dependency list

  1. #1
    Registered User
    Join Date
    08-17-2011
    Location
    Mumbai
    MS-Off Ver
    Excel 2003
    Posts
    7

    Data Validation with Huge Dependency list

    Hi all..


    I have a workbook which has 2 sheets.. Lets call them Sheet A & Sheet B.

    Sheet A is the master list of the products

    Sheet B deals with daily production.

    Now say i have the following in my sheet A


    Product Code / Variant / Thickness / Std. Weight
    AA / 1 / 20 MM / 100 gm
    AA / 1 / 30 MM / 120 gm
    AA / 2 / 20 MM / 110 gm
    BB / 1 / 30 MM / 90 gm
    BB / 3 / 30 MM / 100 gm
    CC / 1 / 5 MM / 200 gm
    CC / 2 / 5 MM / 150 gm
    CC / 1 / 20 MM / 175 gm
    CC / 2 / 10 MM 130 gm


    Now in sheet B is having these columns

    Date
    Product Code
    Variant
    Thickness
    Std weight
    Actual Weight
    qty



    Now for product code, i have created a drop down using data validation.
    Now i want that there should be drop down for Variant & thickness with relevant options.

    I mean if product BB is selected, Variant cell should gimme option of "1" or "3" only & depending on such selection, thickness cell should gimme relevant options..

    Std weight should automatically come as per what is given in Sheet A for the Selected product code with the selected attributes.



    What i have found while doing research is, it is possible to have a dependent list based using indirect function & defining names to the list..

    In my case this is not practical as my product list itself is about 400 & if i consider all variants then it goes well beyond 1000. Furthermore there are additions to product list & variants every month.. hence it is extremely difficult to define name..


    your help will be highly appreciated.

    Thanks
    Last edited by smartk; 08-19-2011 at 11:29 AM. Reason: formatting of table

  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: Data Validation with Huge Dependency list

    I can show you how to do this with only a couple of named formulas for the dependent ranges. Post up your sample workbook and I can demonstrate it for you.

    You can take a stab at implementing it on your own, the technique is published here:

    Sub DV Lists from a Larger DV List
    Last edited by JBeaucaire; 08-19-2011 at 06:12 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)

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