Solved

Increasingly Narrowing Data Validation

Posted on 2010-11-09
5
417 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
  • 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Drop Down List with Unique/Distinct Values (Part II - ComboBox or ListBox and Data Validation List Bonus!) David Miller (dlmille) Intro This article focuses on delivering unique, sorted lists to list objects (e.g., ComboBox, ListBox) and Dat…
Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

803 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