+ Reply to Thread
Results 1 to 7 of 7

Dynamic data validation

  1. #1
    Valued Forum Contributor
    Join Date
    02-26-2010
    Location
    Chattanooga, TN
    MS-Off Ver
    Excel 2003/2007/2010/2016
    Posts
    432

    Question Dynamic data validation

    All,

    New project that I want to see if there is anything like it out there already, or anyone has any ideas on.

    You have a list of characteristics (big,small,red,flower, etc.). Approximately 300 of them.
    The goal is to whittle down the list so that in the end, you have a short list of characteristics that apply to a given object.
    Something like this:

    a) 4 item list (big, small, red, flower).
    b) Dropdown in a cell: Is your object a plant? Y/N.
    c) Select No, so flower comes off the list and big, small, and red are still in play.
    d) Through the questions asked, whatever is left in the list is applicable to that item.

    If the user changes their mind from No to Yes, flower needs to go back on the list.

    Any ideas on how to set this up?

    Thanks!

    Lost
    Last edited by leaning; 08-13-2011 at 09:18 AM. Reason: better title?

  2. #2
    Valued Forum Contributor tlafferty's Avatar
    Join Date
    04-08-2011
    Location
    United States, Tacoma, WA
    MS-Off Ver
    Excel 2010, Excel 2013 Customer Preview
    Posts
    1,112

    Re: Series of questions reduces big list to a small one.

    Sure -
    named ranges and custom validation will do the trick.

    Can you post a sample workbook?
    If your question has been satisfactorily addressed, please consider marking it solved. Click the Thread Tools dropdown and select Mark thread as solved.
    Also, you might want to add to the user's reputation by clicking the star icon in the lower left corner of the post with the answer- it's why we do what we do...

    Thomas Lafferty
    Analyst/Programmer

  3. #3
    Valued Forum Contributor
    Join Date
    02-26-2010
    Location
    Chattanooga, TN
    MS-Off Ver
    Excel 2003/2007/2010/2016
    Posts
    432

    Question Re: Best way to use a series of questions to reduce a big list of items to a small on

    tlafferty,

    FYI, this is how this will be used. When our company gets an order for material, we have a list of codes that can be applied to that order. We have always used the same codes, even though there are other codes in the list that could be used (are still in play), but we don't apply them. With this project, all 300 codes are going to be applied to the material, and then it is up to the reviewers (based on questions asked) to knock out the codes that don't belong. I know we'll find that we have been applying 15 codes when the new list will show that there are 30-ish codes that could have been applied because nothing knocked them out.

    So, if the customer says "no welding on metal", all codes relating to welding get knocked out, etc.

    So, the idea is with each question to narrow the list down to any items which could be applicable unless a question can exclude them.

    Real rough workbook attached. In my head, I can see it working, but translating that vision to Excel is what is stumping me.

    Feel free to re-do anything in the workbook.

    I appreciate your help!

    Respectfully,

    Lost
    Attached Files Attached Files

  4. #4
    Valued Forum Contributor tlafferty's Avatar
    Join Date
    04-08-2011
    Location
    United States, Tacoma, WA
    MS-Off Ver
    Excel 2010, Excel 2013 Customer Preview
    Posts
    1,112

    Re: Best way to use a series of questions to reduce a big list of items to a small on

    Hi there. I'll take a look at this a bit later today, but a forum moderator has indicated that you MUST rework your post title, so I can't post a proposed solution until you address this. How do I use dynamic data validation might be a good post title. Please take a moment to change it so I can help you.

    Regards,
    Tom

  5. #5
    Valued Forum Contributor
    Join Date
    02-26-2010
    Location
    Chattanooga, TN
    MS-Off Ver
    Excel 2003/2007/2010/2016
    Posts
    432

    Re: Best way to use a series of questions to reduce a big list of items to a small on

    tlafferty,

    Thanks!

    (I changed my title earlier, but the flag is still there, so something else must be wrong. I honestly have no idea what is wrong with it. I am not using the poor thread title words, nor state a solution rather than the problem, so I am stumped.)

    If I knew exactly what the offending item was, I would fix it immediately. In trying to guess what is wrong, I might make it worse.

    ??


    Lost

  6. #6
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Dynamic data validation

    Title changed.
    Entia non sunt multiplicanda sine necessitate

  7. #7
    Valued Forum Contributor tlafferty's Avatar
    Join Date
    04-08-2011
    Location
    United States, Tacoma, WA
    MS-Off Ver
    Excel 2010, Excel 2013 Customer Preview
    Posts
    1,112

    Re: Dynamic data validation

    Attached workbook uses data validation to produce the dropdowns, each of which uses the INDIRECT function to populate the list based on the user's previous choice.

    Here's a link to a quick explanation of how it works:
    http://chandoo.org/wp/2010/09/13/dyn...idation-excel/

    You may also want to visit the EPA.gov website and take a look at their plant taxonomy tool - it's a bit closer to what you're looking for.
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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