Function Problems

Use an Excel Menu Sheet to Retrieve Data from Multiple Worksheets

Steve KSteve K Dec 2, 2026 869 views

Question details

Use an item selected on a menu worksheet to retrieve related values from separate source worksheets.

Use an Excel Menu Sheet to Retrieve Data from Multiple Worksheets
Product
Microsoft Excel
Device & OS
not provided
Scenario
A user selects an item on a menu sheet and wants formulas to display matching information from multiple worksheets.
Observed behavior
Each result cell should return the value associated with the selected item from its respective source worksheet.
Before you start

Identify the menu cell containing the selected item and the lookup and return columns on each source sheet. The examples below assume the selection is in C11 and that Sheet1 and Sheet2 each contain item names in column A and return values in column B.

Solution 1Recommended

Use XLOOKUP to Return Values from Each Worksheet

Use this method if your version of Excel supports XLOOKUP.

1
Select the first result cell

On the menu worksheet, click D11 or another cell where you want to display the value from Sheet1.

2
Enter the first lookup

Enter =XLOOKUP($C$11,Sheet1!$A:$A,Sheet1!$B:$B,"") and press Enter. The formula looks for the selected item in Sheet1 column A and returns its value from column B.

3
Add the second lookup

Click E11 and enter =XLOOKUP($C$11,Sheet2!$A:$A,Sheet2!$B:$B,"") to return the corresponding value from Sheet2.

4
Test the selection

Choose or enter an item in C11 and check D11 and E11. Replace the example sheet names and columns in both formulas with those used in your workbook.

Use XLOOKUP to Return Values from Each Worksheet
Checking blank results: The empty string in each XLOOKUP displays a blank when no match is found. Check that the selected item matches the source data and that the sheet names and column references are correct.
Work across worksheets in WPS

Retrieve Matching Worksheet Data in WPS Spreadsheets

Use INDEX and MATCH in WPS Spreadsheets to display values from separate worksheets based on an item selected on your menu sheet.

  1. 1. Open the workbook: Open WPS Spreadsheets and use Open to select your workbook.
  2. 2. Check the source columns: On Sheet1 and Sheet2, identify the columns containing the item names and the values to return.
  3. 3. Enter the first formula: On the menu sheet, select D11 and enter =IFERROR(INDEX(Sheet1!$B:$B,MATCH($C$11,Sheet1!$A:$A,0)),"").
  4. 4. Add and test the second formula: In E11, enter =IFERROR(INDEX(Sheet2!$B:$B,MATCH($C$11,Sheet2!$A:$A,0)),""). Select an item in C11 and check both results, adjusting sheet names and columns as needed.
Return related values from multiple source worksheetsOpen and edit Microsoft Excel XLS and XLSX filesUse a familiar spreadsheet interfaceWork with spreadsheet formulas for free
microsoft office alternative - wps office

Frequently Asked Questions

Why does my lookup return a blank?

The selected item may not match an entry in the source lookup column. Check C11, the source data, and the sheet and column references. If you use IFERROR, temporarily remove it to see any underlying formula error.

What if my worksheet name contains spaces?

Enclose the sheet name in single quotes in the formula. For example, use 'Sales Data'!$A:$A to refer to column A on a sheet named Sales Data.

Can I use these formulas without XLOOKUP?

Yes. Use INDEX and MATCH with 0 as the MATCH type for an exact lookup, such as =INDEX(Sheet1!$B:$B,MATCH($C$11,Sheet1!$A:$A,0)).

What happens if an item appears more than once?

The example XLOOKUP and MATCH formulas return the first matching item in the lookup column. Make item names unique if each selection should identify only one source row.