问题
I have a named table in excel called "FINAL". I would like to create the drop down list from the second row of the table. I know that we can use =FINAL[#Headers]
to create a list from the headers, but I need to create it from the second row in the table. of course I need it to be dynamic and use the table name since the table is going to change.
THanks
回答1:
Step1:
Add named range myList
with formula: =INDEX(FINAL[#Data],2,0)

Step2:
Select any cell and add data validation with Source: =myList

Result:

回答2:
I know you have found a solution, but I would recommend using the Indirect function instead of creating an unnecessary named range.
You can't reference a table directly by name within the data validation formulas, but you can within the Indirect function, such as:
=INDEX(INDIRECT("FINAL[#Data]"),2,0)
This would provide you with the same list but without the need for a named range.
来源:https://stackoverflow.com/questions/22635194/reference-the-second-row-in-named-table-for-data-validation