Function Problems

Use an Excel Drop-Down List to Return Related Information

Rana GarciaRana Garcia Dec 2, 2026 868 views

Question details

Create a drop-down list of names and display related information beside each selected name.

Use an Excel Drop-Down List to Return Related Information
Product
Microsoft Excel
Device & OS
not provided
Scenario
A worksheet needs a name selector in each row and lookup formulas in adjacent columns.
Observed behavior
Selecting a person should display that person's matching information in the same row.
Before you start

On Sheet2, put the names in A2:A100 and the corresponding details in B2:B100, with each person's information on the same row. Adjust the ranges below to match your actual data, and use unique names when possible.

Solution 1Recommended

Create a drop-down list and return details with VLOOKUP

Use data validation for name selection and VLOOKUP to display the matching detail beside it.

1
Name the list

Select Sheet2!A2:A100, then choose Formulas > Define Name. Enter PeopleNames as the name and confirm.

2
Create the drop-down

On the worksheet where you want selections, select A2 and choose Data > Data Validation. Under Allow, choose List, enter =PeopleNames in Source, and click OK.

3
Add the lookup formula

In B2, enter =IF(A2="","",IFERROR(VLOOKUP(A2,Sheet2!$A$2:$B$100,2,FALSE),"")) to return the detail associated with the selected name.

4
Apply it to other rows

Copy A2 and B2 down to the rows you need. Select a name from each drop-down to display its matching detail in column B.

Create a drop-down list and return details with VLOOKUP
Returning additional fields: To return a field from Sheet2 column C, extend the lookup range to $A$2:$C$100 and change the VLOOKUP column index from 2 to 3. VLOOKUP returns the first match when names are duplicated.
Use WPS Spreadsheets

Create a name drop-down and lookup in WPS Spreadsheets

Use data validation and a VLOOKUP formula in WPS Spreadsheets to select a person and display their related information in the same row.

  1. 1. Prepare the source table: In WPS Spreadsheets, enter names in Sheet2!A2:A100 and their matching details in Sheet2!B2:B100.
  2. 2. Name the source range: Select Sheet2!A2:A100 and use Formulas > Define Name to create the name PeopleNames.
  3. 3. Add the drop-down: Select A2 on the entry sheet, open Data > Data Validation, choose List, and enter =PeopleNames as the source.
  4. 4. Return the matching detail: Enter =IF(A2="","",IFERROR(VLOOKUP(A2,Sheet2!$A$2:$B$100,2,FALSE),"")) in B2. Copy A2 and B2 down, then select a name.
Create drop-down name selectors with data validationReturn matching details with VLOOKUPOpen and save Microsoft Excel XLSX filesUse a familiar spreadsheet interface
microsoft office alternative - wps office

Frequently Asked Questions

Why does the lookup cell remain blank after I select a name?

The example formula returns a blank when no match is found. Check that the selected name matches an entry in Sheet2 column A and that the lookup range includes that entry.

Can I return more than one detail for each person?

Yes. Add each detail in a separate source column and use a separate lookup formula for each output column. For VLOOKUP, extend the table range and use the appropriate column index.

What happens if two people have the same name?

VLOOKUP and XLOOKUP return the first matching entry in these examples. Use a unique identifier, such as an employee ID, in the drop-down and lookup range to distinguish people.

Which Excel versions support XLOOKUP?

XLOOKUP is available in Microsoft 365 and Excel 2021 and later. Use the VLOOKUP solution if your version does not support XLOOKUP.