+ Reply to Thread
Results 1 to 3 of 3

Data Validation with many dependent choices

  1. #1
    Registered User
    Join Date
    08-08-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    3

    Data Validation with many dependent choices

    First of all, I do not need any help with this post, I just feel compelled to share the formula I developed.

    I have been searching all over for a better way for data validation to work with dependent choices. Many of the posts on this subject refer to this site: http://www.contextures.com/xlDataVal02.html . This is a great and easy to use way to use dependent data validation but in my case, I would have had over 50 different range names and the data under each range changes from time to time. I what to create a list of item number that is narrowed down if the Product Code you are looking for is identified. Here is the formula I added to the Data Validation List for Item number:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Basically what this formula does is it uses the Match function to find the first row with the identified product code and then it uses the CountIf function to count the number of rows to include on the data validation list. Keep in mind that you will have to sort the items by product code (in this case) for it to work properly. I attached a sample workbook for your reference.

    Enjoy,

    Jared
    Attached Files Attached Files

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Data Validation with many dependent choices

    Thank you for providing the tip.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  3. #3
    Forum Contributor rajeshturaha's Avatar
    Join Date
    08-22-2012
    Location
    Assam, India
    MS-Off Ver
    Excel 2003, 2007
    Posts
    236

    Re: Data Validation with many dependent choices

    Sorry jaredj34/Administrator, i m jumping on another post.


    But i think there need a slight modification in the Formula.
    In data entry sheet A2 when i m selecting "AFE", in B2 items in the list shows "CAPSHOPFABTROL" & "C10X15.3". But Item "C10X15.3" is having product code "C".

    Modified formula
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Rgd
    RT
    If my answer(s) helped you, please add me reputation by click on *

+ 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 dropdown validation - dependent data is string
    By jnewby in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-12-2014, 07:50 PM
  2. Dependent validation to narrow down selection choices step by step
    By saschagraef in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 11-30-2010, 07:25 AM
  3. Add choices to Data Validation Lists?
    By Bwangster12 in forum Excel General
    Replies: 2
    Last Post: 08-04-2008, 10:37 AM
  4. [SOLVED] Multi Listboxes with data dependent upon user choices
    By SaturnGolfBoy in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-16-2006, 08:55 PM
  5. Choices from Data Validation List
    By FeFi in forum Excel General
    Replies: 2
    Last Post: 01-29-2006, 09:10 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