Create an Excel Drop-Down Lookup Between Two Worksheets
Question details
Create a drop-down on one worksheet that retrieves related fields from a raw-data worksheet.

- 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.
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.
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.
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.
On the lookup worksheet, select B2 and go to Data > Data Validation. Under Allow, choose List, enter =TownList in Source, and select OK.
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.
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.

Use INDEX and MATCH in Older Excel Versions
Use this alternative when your Excel version does not support XLOOKUP.
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. 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. Name the list: Select the source values in Sheet1!A2:A100, then use Formulas > Define Name to create a name such as TownList.
- 3. Create the drop-down: Select B2 on the lookup worksheet, open Data > Data Validation, choose List, and enter =TownList as the source.
- 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.

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.




