Forum Discussion
RHONDA LUCAS
Dec 28, 2017Copper Contributor
Excel Table Appears to Automatically Expand but drop down list doesn't update
I used Excel 2013. I created a drop-down list that is based on an Excel Table via the Data Validation button on the Data ribbon. If I add or delete a row from the middle of the table, my associated...
Deleted
Jul 19, 2018I finally figured this out. The result is when you add an item to a table, even at the bottom, the drop down list automatically expands to show all values in your table of drop down items.
Basically, create a named range to be equal to your defined table[column_header] which contains your list. I'll use a list of fruits as an example.
- Type in a header, (i.e. "name")
- Type in some names of fruits below that header, one per row (i.e. Apples, Bananas, Oranges)
- Select the header cell, plus the 3 cells below that and turn it into a Table (make sure to check the option "My table has headers")
- Give that table a name that makes sense (i.e."tbl_fruit")
- Go to the Formulas tab, and select Name Manager
- Click "New" button
- Give your list a Name that makes sense (i.e. "list_fruit")
- Give the Refers to field this formula: =tbl_fruit[name]
- Click OK
You can then use that "list_fruit" named range as the Source when setting up your Data Validation list (i.e. =list_fruit). Since the list refers to the table named "tbl_fruit" now, any time that table changes, the results from named range "list_fruit" changes automatically. The named range is the table.
- XL_uSr_N_PaNov 12, 2024Copper Contributor
Awesome. Just what I needed. Thank you.