File Sharing Problems

Create Dependent Drop-Down Lists from Two Excel Workbooks

Huda QurayshiHuda Qurayshi Dec 2, 2026 869 views

Question details

Create dependent Excel drop-down lists using values maintained in a separate workbook.

Create Dependent Drop-Down Lists from Two Excel Workbooks
Product
Microsoft Excel
Device & OS
not provided
Scenario
The user wants a choice in one cell to determine the options shown in a second cell, with the source values maintained in another workbook.
Observed behavior
The destination workbook should provide both drop-down lists using a local copy of the source values.
Before you start

In the source workbook, arrange each category in its own column with a header that can also be used as an Excel range name, such as Fruit or Vegetable. For the example below, put two values under each header and format the data as a table using Insert > Table.

Solution 1Recommended

Import the source data and create local named ranges

Use Power Query to keep the maintained source in a separate workbook while making the list data available locally.

Standard data-validation lists do not reliably use a direct reference to a closed external workbook. Importing the values into the destination workbook avoids relying on the external workbook being open when a user selects an option.

This example uses Fruit and Vegetable as both the column headers and the dependent range names. The names must match the first drop-down values exactly and follow Excel's naming rules.

1
Import the source table

In the destination workbook, select Data > Get Data > From File > From Excel Workbook. Choose the source workbook, select its table in Navigator, and use Load To to load it into a new worksheet.

2
Name the local ranges

Rename the imported worksheet Lists. Assuming Fruit and Vegetable are in A1:B1 and each has two values in rows 2 and 3, open Formulas > Name Manager > New. Create CategoryOptions referring to =Lists!$A$1:$B$1, Fruit referring to =Lists!$A$2:$A$3, and Vegetable referring to =Lists!$B$2:$B$3.

3
Create the first drop-down

Select cell E2 on the worksheet where users will make selections. Choose Data > Data Validation, select List under Allow, and enter =CategoryOptions in the Source box.

4
Create the dependent drop-down

Select cell F2, open Data > Data Validation, and select List under Allow. Enter =INDIRECT($E2) in the Source box, then select OK. Choose Fruit or Vegetable in E2 and check the options in F2.

5
Refresh changes

After editing and saving the source workbook, open the destination workbook and select Data > Refresh All. If the number of source values changes, update the Fruit or Vegetable reference in Formulas > Name Manager to include the correct rows.

Import the source data and create local named ranges
Keep the source file accessible: Power Query needs the source workbook at its expected location to refresh. If the file is moved or renamed, update the query's source path.
Create lists in WPS Office

Build dependent drop-down lists in WPS Spreadsheets

Copy the source values into the destination workbook, then use local named ranges and data validation to create the two drop-down lists. Update the local copy when the separate source workbook changes.

  1. 1. Copy the source values: Open both workbooks in WPS Spreadsheets. Copy the category headers and values from the source workbook into a worksheet named Lists in the destination workbook.
  2. 2. Create named ranges: Use Formulas > Name Manager to name the header cells CategoryOptions and each category's value cells after its header, such as Fruit and Vegetable. Use headers that are valid range names.
  3. 3. Add the category list: Select E2 in the destination worksheet, open Data > Data Validation, choose List, and enter =CategoryOptions as the source.
  4. 4. Add the dependent list: Select F2, open Data > Data Validation, choose List, and enter =INDIRECT($E2) as the source. Test it by selecting a category in E2, then opening the list in F2.
Create dependent drop-down lists from local named rangesOpen and save Microsoft Excel XLSX filesUse a familiar spreadsheet interfaceWork with a free, lightweight office suite
microsoft office alternative - wps office

Frequently Asked Questions

Can an Excel drop-down list directly use a closed workbook as its source?

A standard data-validation list does not reliably use a direct source in another closed workbook. Import or copy the values into the destination workbook and reference local ranges instead.

Why is the dependent drop-down empty or showing an error?

Check that the value in the first drop-down exactly matches a defined range name. Open Formulas > Name Manager to verify the name and its cell reference, and check that the dependent list source is =INDIRECT($E2).

How do I update the lists after changing the source workbook?

Save the source workbook, then select Data > Refresh All in the destination workbook. If values were added or removed, check the fixed references in Formulas > Name Manager and adjust them as needed.

What happens if I move or rename the source workbook?

The existing imported values remain in the destination workbook, but Power Query may not be able to refresh them. Update the query's source path to point to the moved or renamed file.