+ Reply to Thread
Results 1 to 2 of 2

Help with more flexible dependent data validation

  1. #1
    Forum Contributor
    Join Date
    05-22-2013
    Location
    London, England
    MS-Off Ver
    Excel 2003, 2007
    Posts
    144

    Help with more flexible dependent data validation

    Dear All,

    I want to adapt a dependent data validation so I could use it for the quick lookup of price of products – a request that we receive numerous times in a day. My Product/Price listing or database with live data, and which runs into hundreds of rows, takes the same format as the sample Region/Customers listing that I am using (attached) as example of what I need help with.

    In the second sheet named ValidationLists, there is a list of Regions and their associated customers.

    a) In the first sheet named ValidationSample, when I select a Region from the Dropdown list in Cell B2, only the Region’s customers will be shown when the dropdown in cell C2 is selected.

    b) Also after a Customer is selected, the Region dropdown shows only that customer’s region.

    c) And when a customer is selected from Cell C2 dropdown, it will not be possible to select another Region in Cell B2, UNTIL the content of Cell C2 is cleared and the cell made blank!

    All of the above work very well.

    However, because I want to use such a set up for the purpose of looking up the price of products (using my ‘products/price’ live data), I’d like some adjustments made to Cells B2 and C2 respectively – some flexibility, if it is possible.

    I therefore need help, please, with the following:

    1. I don’t want to keep clearing the contents of C2 manually before I could make a subsequent selection from the Region dropdown in B2.

    2. As in (a) above, when I select a Region from the dropdown list in Cell B2, only the Region’s customers will be shown when the dropdown in cell C2 is selected. Fine!

    3. However, unlike in ( c ) above, when a customer is selected from cell C2 dropdown, I should be able to select another Region in Cell B2 – BUT when such a subsequent selection is made from B2 dropdown, the content of cell C2 should automatically be cleared – with the cell showing blank. At that point, when the drop down arrow in cell C2 is clicked, it will show the regions customers.

    No. 3 above is the flexibility that I need help with.

    The necessary Excel ‘Offset, Index and Match’ formulas for the basic functioning of ‘dependent data validation’ are shown under ‘Name Manager’ and ‘Data Validation’. I am hoping that there could be a tweaking of the formulas, or an additional formula that will help me to achieve No. 3 above.

    I would prefer an Excel formula that could do that for me. However, in the absence of any such formula, I’ll be equally happy for a VBA code that will help me to achieve No. 3 above.

    I’ll be very grateful for any help, please.

    Newqueen
    Attached Files Attached Files
    Last edited by newqueen; 08-28-2014 at 09:13 PM.

  2. #2
    Forum Contributor
    Join Date
    05-22-2013
    Location
    London, England
    MS-Off Ver
    Excel 2003, 2007
    Posts
    144

    Re: Help with more flexible dependent data validation

    Could someone kindly help, please. Thanks.

+ 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. Dependent Data Validation Help
    By MeCe in forum Excel General
    Replies: 4
    Last Post: 06-17-2014, 12:19 PM
  2. [SOLVED] Dependent dropdown validation - dependent data is string
    By jnewby in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-12-2014, 07:50 PM
  3. [SOLVED] Change Pivot tables with Macro activated by flexible entry on a Dependent Drop Down List
    By Portuga in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-17-2013, 07:29 PM
  4. [SOLVED] Dependent Data Validation
    By ricky82 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-14-2012, 12:00 AM
  5. [SOLVED] Data Validation Dependent on Other Validation
    By CKRebel in forum Excel General
    Replies: 6
    Last Post: 07-11-2012, 10:41 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