Solved

Increasingly Narrowing Data Validation

Posted on 2010-11-09
5
431 Views
Last Modified: 2012-05-10
Hi, I want to have data validation whereby a user selects from three narrowing values but cannot select an invalid combination of values.  In a sheet I would like to ideally have the user select the DEPT, then select a valid "BRU" data set for that DEPT (it only display valid values for that DEPT), then when they select the "BRU", they only be able to select valid "COMPS" values that are valid for that particular "BRU".  

For example, on the "validation" worksheet attached, I want the user to be able to select "Administration" for the "DEPT" field, but then only see an unduplicated list of valid values for "Administration" (which would be an unduplicated list of values in D2:D45 from the first tab in this example).  Similarly, if they select "Centralized Admin Services" for the BRU, then the "Comp" selections available should only display an unduplicated list of values from F2:F18 to select from.

I'm not sure if validation is powerful enough to do this or if it can only be done with a script.  I would like to be able to make updates to the list occasionally as categories are modified.  

Thanks for your help.   ABS-Budget-Structure.xlsx
0
Comment
Question by:Kevin Buckland
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 59

Expert Comment

by:Saurabh Singh Teotia
ID: 34096987
Are you open to do this what you are looking by macros or you want to do it with the help of formulas only?
Saurabh...
0
 

Author Comment

by:Kevin Buckland
ID: 34097982
Yes I'm open to do this by macros.
 
0
 
LVL 59

Expert Comment

by:Saurabh Singh Teotia
ID: 34105034
There you go, Use this one, i did this few months back and one of the code is of Patrick from which my original source code originated.It will give you a error message when you open the workbook just ignore it.
Enclosed is your workbook for reference.
Saurabh...

ABS-Budget-Structure.xlsm
0
 

Author Comment

by:Kevin Buckland
ID: 34106326
Hi, this is pretty close but the COMP_SHORT drop down is actually displaying values for BRU rather than valid values from Column F on the first tab. Is that something you could correct?

Thanks!
0
 
LVL 59

Accepted Solution

by:
Saurabh Singh Teotia earned 500 total points
ID: 34107606
Okay, There you go did couple of more changes, Use this...
Saurabh...

ABS-Budget-Structure.xlsm
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

737 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question