All , I am having a problem in Excel while generating the indirect drop down. There are two drop downs (Coding , LogicCode)
Sheet1 contains the data for first drop down and second drop down values.
INT16 , INT16U are the drop down values for Coding in sheet2 . When I select INT16U the values 'Test16U' , 'TT16U' should be displayed in Logic Code drop down. The dependent values for INT16U is displayed correctly but the drop down values of INT16 is not displayed.
The data validation part for LogicCode column is
Can anyone help for this weird problem? Thanks in Advance
You need to name $A$2:$A$3 on Sheet1 as "INT16" with the workbook scope. But it seems this name can't be used, so you need to change INT16 to smth. else. You can abbreviate it as INT16S, WORD, or SHORT.
If you limited to use predefined values only, use this solution.
Add a new row above Sheet1!A. Define names for your ranges in A row, but still use the initial range (it's $A$2:$B$2 now) as 'Coding' drop-down source:
Name "INT16_" = "=Sheet1!$A$3:$A$4" { Scope = Workbook; }
Name "INT16U" = "=Sheet1!$B$3:$B$4" { Scope = Workbook; }
Sheet2!C2 data validation source =Sheet1!$A$2:$B$2
Sheet2!D2 data validation source =INDIRECT(FILTER(Sheet1!$A$1:$B$1,Sheet1!$A$2:$B$2=C2))
To set default values e. g. on the workbook open event, add the code to ThisWorkbook module:
Private Sub Workbook_Open()
Sheet1.[A3] = "TT"
End Sub