Solved

Increasingly Narrowing Data Validation

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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

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…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.

688 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