What i want to do sounds simple but I haven't found a solution.
If name/type is "cable" I want a dropdown list for "att" allowing only code1 values.
If name/type is "htrc" I want a dropdown list for "att" allowing only code2 values.
What I've tried is:
- defining a named range called "codes" for $A:$A on sheet1
- data validation for B2 on sheet2 and used formula: =IF($A2="cable";INDIRECT(codes="code1");INDIRECT(codes="code2"))
When I'm entering that I'm getting a message saying "The Source currently evaluates to an error. Do you want to continue?" and the dropdown is blank...
We create the drop down list and we use the “OFFSET”, “MATCH”, “VLOOKUP” and “COUNTIF” in data validation.
The applications/code on this site are distributed as is and without warranties or liability. In no event shall the owner of the copyrights, or the authors of the applications/code be liable for any loss of profit, any problems or any damage resulting from the use or evaluation of the applications/code.