Populate Excel Drop-Down Fields with XLOOKUP for Region and Sales
Question details
Populate worksheet fields such as Region and Sales after a user chooses a name from an Excel drop-down list.

- 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.
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.
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.
Click the cell where the selected person's region should appear, such as F4.
Type =XLOOKUP($E$4,Data[Name],Data[Region],"Not found") and press Enter. Replace Data with your actual table name if it differs.
Click the cell where the sales amount should appear, such as G4.
Type =XLOOKUP($E$4,Data[Name],Data[Sales],"Not found") and press Enter.
Open the drop-down in E4 and choose a name. The Region and Sales cells should update to the matching table row.

Return Region and Sales together with one spilling XLOOKUP formula
Use this method in Excel 365 when Region and Sales are adjacent table columns and you want one formula to fill multiple cells.
Use INDEX and XMATCH when the source data is arranged horizontally
Use this alternative when names and field headings are organized across rows or columns rather than in a standard vertical table.
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. 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. 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. Enter an XLOOKUP formula: Click the Region output cell and enter =XLOOKUP($E$4,Data[Name],Data[Region],"Not found").
- 4. Add the Sales return formula: Click the Sales output cell and enter =XLOOKUP($E$4,Data[Name],Data[Sales],"Not found").
- 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.

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").




