+ Reply to Thread
Results 1 to 9 of 9

Dynamic Named Ranges and Indirect Data validation INCOMPATIBLE?

  1. #1
    Registered User
    Join Date
    09-18-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    11

    Dynamic Named Ranges and Indirect Data validation INCOMPATIBLE?

    Hi

    with Ref to the link - http://www.excelforum.com/excel-gene...ompatible.html

    I have found this very useful one. Now i have 3 scenarios. I have cautiously copied your formula in three different cells for validations. Formulas are as below and they are working fine interdependently.

    =CHOOSE(MATCH($G$22,Purchase,0),Plywood,BlockBoard,Adhesive,Door,Beading,Teak,Others)
    =CHOOSE(MATCH($G$22,Sale,0),Plywood,BlockBoard,Adhesive,Door,Beading,Teak,Others)
    =CHOOSE(MATCH($G$22,Financial,0),FinEntry)

    Is there any way one can club these formulas to validate a single cell instead of having 3 different cells.

    Advice very much appreciated.

    Regards
    Chandra

  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: Dynamic Named Ranges and Indirect Data validation INCOMPATIBLE?

    That thread is very old and since then I have come a long way in terms of being able to to have dynamic named ranges and dependent drop downs. If you post a workbook so I can see your raw data and your DV lists, it may be more evident what you're trying to accomplish.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic
    _________________
    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!)

  3. #3
    Registered User
    Join Date
    09-18-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: Dynamic Named Ranges and Indirect Data validation INCOMPATIBLE?

    Hi

    Please find the same..

    If the Type 1 is Purchase or sales , Type 2 Sould be A to G
    If type 1 is Financial , type 2 should be H only.

    Regards
    Chandra
    Attached Files Attached Files

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Dynamic Named Ranges and Indirect Data validation INCOMPATIBLE?

    Yes, your layout is perfect for this new technique I use. This layout allow unlimited dependent drop downs. All you need to do is create the lists on the LISTS sheet as shown. Each list name is in row 1, and the options that appear for the indirect drop down are listed below.

    The only named ranges in use are

    1) Cell A1 on the LISTS sheet is name "MAIN" to serve as the anchor for all the dynamic drop downs that will find and create themselves.
    2) The MainList is a dynamic list of all the options you put in column A. THis is used to drive the first drop down on the Selection sheet.
    3) The named range AllLists is merely all of row1 on the LISTS sheet. This is used to FIND any list offsetting from the MAIN cell, then that column is dynamically assessed to display all the options you've entered in that column.

    The real magic in the DV formula found in cell B2 on the Selection sheet. That formula is doing ALL the heavy lifting. It looks at the choice made in the cell to the left (A2) and finds that value in row1 of LISTS, then displays all the items in that column. This can be used to make an infinite number of dependent drops downs.

    B2 was copied to C2 and now C2 does the same thing, shows a list based on what was selected in B2.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    09-18-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: Dynamic Named Ranges and Indirect Data validation INCOMPATIBLE?

    First of all thank you very much for your time.

    I am not able to understand what exactly you are trying to make me understand.

    Ok.Now i need to name A1 as "Main"
    Row 1 as "AllLists"

    Please look at the file..Is my approach right in creating the lists as told by you.

    I am confused. Pls do not mind me .

    With this how what should be the DV formula in F22, G22 and H 22. Am stuck here.

    Regards
    Chand
    Attached Files Attached Files
    Last edited by css0911; 10-04-2013 at 03:14 AM.

  6. #6
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Dynamic Named Ranges and Indirect Data validation INCOMPATIBLE?

    You need to open the workbook I uploaded and look at the LISTS page. There are more columns added, all of the lists are on that page now, take a look.

    The drop downs need to be moved a separate page, again, look at the version I uploaded.

  7. #7
    Registered User
    Join Date
    09-18-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: Dynamic Named Ranges and Indirect Data validation INCOMPATIBLE?

    Dear, Am not able to download the file. Please upload again.

    Sorry for the inconvenience..

    Thanks.
    Regards
    Chaand

  8. #8
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Dynamic Named Ranges and Indirect Data validation INCOMPATIBLE?

    Can you see it on this message?
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    09-18-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: Dynamic Named Ranges and Indirect Data validation INCOMPATIBLE?

    Thank you very much..

+ 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. Replies: 5
    Last Post: 07-28-2014, 11:53 AM
  2. Replies: 14
    Last Post: 10-02-2013, 07:39 AM
  3. Indirect Vlookup List and Dynamic Named Ranges - Is there a workaround
    By Jennasis in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-13-2013, 06:57 AM
  4. Data Validation and Dynamic Named Ranges
    By freybe06 in forum Excel General
    Replies: 15
    Last Post: 07-20-2011, 01:18 PM
  5. Dynamic Validation without using Named ranges
    By Cullen8 in forum Excel General
    Replies: 2
    Last Post: 11-24-2008, 03:21 PM

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