Function Problems

Populate Excel Drop-Down Fields with XLOOKUP for Region and Sales

Huma Ashraf ChHuma Ashraf Ch Nov 12, 2026 869 views

Question details

Populate worksheet fields such as Region and Sales after a user chooses a name from an Excel drop-down list.

Populate Excel Drop-Down Fields with XLOOKUP for Region and Sales
Product
Microsoft Excel
Device & OS
not provided
Scenario
A name is selected in cell E4, and related data must be retrieved from a source table containing Name, Region, and Sales columns.
Observed behavior
The goal is for the worksheet to display the matching region, sales amount, or multiple adjacent values for the selected name.
Before you start

Confirm that the drop-down cell contains the same name values as the source Name column. If you use structured references, format the source range as an Excel table and verify its table and column names.

Solution 1Recommended

Use XLOOKUP to return one field from the selected name

Use this method when Region and Sales are displayed in separate cells and the source data is stored in an Excel table.

XLOOKUP searches for the selected name and returns the value from the corresponding result column. The final argument provides a clear message when no matching name is found.

1
Select the Region result cell

Click the cell where the selected person's region should appear, such as F4.

2
Enter the Region XLOOKUP formula

Type =XLOOKUP($E$4,Data[Name],Data[Region],"Not found") and press Enter. Replace Data with your actual table name if it differs.

3
Select the Sales result cell

Click the cell where the sales amount should appear, such as G4.

4
Enter the Sales XLOOKUP formula

Type =XLOOKUP($E$4,Data[Name],Data[Sales],"Not found") and press Enter.

5
Test the drop-down selection

Open the drop-down in E4 and choose a name. The Region and Sales cells should update to the matching table row.

Use XLOOKUP to return one field from the selected name
Separate return fields are ready: Each formula updates automatically whenever the selection in E4 changes.
WPS Spreadsheets formula tools

Fill drop-down results with XLOOKUP in WPS Spreadsheets

WPS Spreadsheets lets you create a drop-down selection and use XLOOKUP to return matching Region, Sales, and other related values. Its familiar spreadsheet layout makes it easy to open and continue working with existing Excel workbooks.

  1. 1. Open the workbook in WPS Spreadsheets: Launch WPS Office, select Spreadsheets, and open the Excel .xlsx file containing the drop-down and source data.
  2. 2. Create or verify the name drop-down: Select cell E4, then use Data > Data Validation and set the allowed list to the cells or names used in your source data.
  3. 3. Enter an XLOOKUP formula: Click the Region output cell and enter =XLOOKUP($E$4,Data[Name],Data[Region],"Not found").
  4. 4. Add the Sales return formula: Click the Sales output cell and enter =XLOOKUP($E$4,Data[Name],Data[Sales],"Not found").
  5. 5. Choose a name and save: Select a name from the E4 drop-down, confirm the returned values update, then use Menu > Save As to keep the workbook in .xlsx format.
Use XLOOKUP to retrieve matching values from a selected name.Create Data Validation drop-down lists for controlled selections.Open, edit, and save Microsoft Excel .xlsx files with format compatibility.Use a lightweight, free spreadsheet editor with familiar formula entry and table tools.
microsoft office alternative - wps office

Frequently Asked Questions

Why does XLOOKUP return "Not found" after I select a name from the drop-down?

Check that the selected value in E4 exactly matches a value in Data[Name]. Remove leading or trailing spaces, confirm the table name and column name are correct, and ensure the lookup range contains the selected name.

Can one XLOOKUP formula return both Region and Sales?

Yes. In Excel 365, enter =XLOOKUP($E$4,Data[Name],Data[[Region]:[Sales]],"Not found") in the first output cell. The result spills into adjacent cells when Region and Sales are neighboring columns.

How do I keep the drop-down cell fixed when copying the XLOOKUP formula?

Use an absolute reference for the selection cell: $E$4. For example, =XLOOKUP($E$4,Data[Name],Data[Sales],"Not found") keeps the lookup cell unchanged when you copy the formula.

What should I use if XLOOKUP is unavailable in my Excel version?

Use INDEX and MATCH instead, such as =INDEX(Data[Region],MATCH($E$4,Data[Name],0)). This returns the Region value for the name selected in E4.

Can I use regular cell ranges instead of an Excel table?

Yes. For example, if names are in A2:A100 and regions are in B2:B100, use =XLOOKUP($E$4,$A$2:$A$100,$B$2:$B$100,"Not found").