Microsoft
Software
Hardware
Network
Question : How to create conditional Data Validation lists in Excel?
I am trying to create two Data Validation lists that depend on the value of a third column. The validation lists are spread across two worksheets in the same workbook.
Sheet1:
Column A has 4 values A1:A4 = 203P, 203PB, 203PC, 176-001 and this range is named amp_type
Column B has 3 values B1:B3 = HI, MED, LO and this range is named 203P_PB_filter
Column C has 2 values C1:C2 = Bypass, 12 and this range is named 176_LP_filter
Column D has 1 value D1 = NA and is named 176_HP_Filter
Column E has 1 value E1 = blank cell and is named 203PC_filter
Sheet 2:
Column A (A1:A15) has data validation list = amp_type
Column B (B1:B15) data validation list depends on user selection from A
Column C (C1:C15) data validation list also depends on the user selection from A
Example:
User selects 203P or 203PB from drop down in A1. Then the only available options for the drop down in B1 and C1 should be the values in the203P_PB_filter range.
If the user selects 176-001 from the drop down in A2, then the available options for B2 should be the 176_LP_filter range and the options for C2 should be from the 176_HP_filter range.
If user selects 203PC from drop down in A3 then the validation list values for both B3 and C3 should come from the 203PC_filter range.
In this example A1,2,3 are just used to show demonstrate the 3 possible states.
I have found numerous examples of similar problems but the solution to those seems to be to use range names = the values listed in the original list. In this case I can not do this. I have attempted to do this within the Excel worksheets using the Data Validation tools with no success. Can someone provide some code on how to best achieve this?
Answer : How to create conditional Data Validation lists in Excel?
Hi,
Try this modification. May not entirely serve the purpose, but may help
Conditional-Validation.xls
(22 KB)
(File Type Details)
Modified File
Random Solutions
centralized authetication NIS or LDAP
What is the best way to find all records of an e-mail for our company?
can office 2k3 standard and office 2k3 pro co-exist on the same citrix server
atoi(getenv())
Accidentally "rm -r /etc". How to recover?
Sync Outlook private contacts witha public folder.
find duplicate records in MS Access
AUTOCHK.EXE COULD NOT FOUND!
What is the equivalent for the bwaitonreturn (vbscript) in batch command language
Running a script one time