Function Problems

Create an Excel Drop-Down Lookup Between Two Worksheets

Jason MillerJason Miller Nov 18, 2026 868 views

Question details

Create a drop-down on one worksheet that retrieves related fields from a raw-data worksheet.

Create an Excel Drop-Down Lookup Between Two Worksheets
Product
Microsoft Excel
Device & OS
not provided
Scenario
A user wants to select a town or reference from a list and display its associated data on another worksheet.
Observed behavior
Selecting a value should populate the related fields from the matching row in the raw-data worksheet.
Before you start

Arrange the raw data on Sheet1 with towns or references in column A and related fields in columns B through E. Use unique values in column A if each selection should identify one row, and adjust the example ranges to match your data.

Solution 1Recommended

Create a Drop-Down List and Retrieve Fields with XLOOKUP

Use this method in an Excel version that supports XLOOKUP to return all related fields at once.

1
Name the source list

On Sheet1, select the values in A2:A100, excluding the header. Go to Formulas > Define Name, enter TownList, and select OK. Adjust the range to include your actual entries.

2
Add the drop-down

On the lookup worksheet, select B2 and go to Data > Data Validation. Under Allow, choose List, enter =TownList in Source, and select OK.

3
Enter the lookup formula

Select D2 and enter =XLOOKUP(B2,Sheet1!A:A,Sheet1!B:E,"Not found"). Leave D2:G2 empty before entering the formula so the four returned fields can spill across the row.

4
Test a selection

Open the drop-down in B2 and select a town or reference. Check that D2:G2 displays the fields from the matching row on Sheet1.

Create a Drop-Down List and Retrieve Fields with XLOOKUP
Duplicate values: XLOOKUP returns the first match. If column A contains duplicate towns or references, use a unique identifier to select the intended row.
WPS Spreadsheet

Build a Cross-Sheet Drop-Down Lookup in WPS Spreadsheet

Use a named list, data validation, and INDEX and MATCH in WPS Spreadsheet to select a town or reference and retrieve its related fields from another worksheet.

  1. 1. Open the workbook: Open the workbook in WPS Spreadsheet and check that Sheet1 has lookup values in column A and related fields in columns B through E.
  2. 2. Name the list: Select the source values in Sheet1!A2:A100, then use Formulas > Define Name to create a name such as TownList.
  3. 3. Create the drop-down: Select B2 on the lookup worksheet, open Data > Data Validation, choose List, and enter =TownList as the source.
  4. 4. Add and copy the lookup formula: In D2, enter =IFERROR(INDEX(Sheet1!$B$2:$E$100,MATCH($B$2,Sheet1!$A$2:$A$100,0),COLUMNS($D$2:D2)),"Not found"). Copy D2 across to G2, then select a value in B2 to test the results.
Select a town or reference from a drop-down list.Retrieve multiple related fields with lookup formulas.Open and save Microsoft Excel XLSX files.Work with a familiar spreadsheet interface.
microsoft office alternative - wps office

Frequently Asked Questions

How do I use a list from another worksheet in Excel data validation?

Select the source cells and use Formulas > Define Name to name them. Then select the drop-down cell, open Data > Data Validation, choose List, and enter the name preceded by an equals sign, such as =TownList.

Why does XLOOKUP show a spill error?

The formula returns values across multiple cells. Clear any content in the intended output range, such as D2:G2, and enter the formula in D2 again.

What happens if the source list contains duplicate towns?

XLOOKUP and MATCH return the first matching row in these examples. Use a unique reference as the drop-down value if you need to distinguish rows with the same town.

Will new source rows appear in the drop-down automatically?

Not if they fall outside the named range. Update TownList through Formulas > Name Manager so its range includes the new rows.