Function Problems

Look Up a Matching Name from Another Excel Sheet

Aamir Naveed AkramAamir Naveed Akram Nov 18, 2026 871 views

Question details

Return the amount associated with a matching name from another worksheet.

Look Up a Matching Name from Another Excel Sheet
Product
Microsoft Excel
Device & OS
not provided
Scenario
Sheet1 has names in column A and amounts in column F. Sheet2 has names in column A and needs the matching amounts in column B.
Observed behavior
Sheet2 column B should display the amount from Sheet1 column F for each matching name.
Before you start

Check that both sheets are in the same workbook and are named Sheet1 and Sheet2. Confirm that names are in column A on both sheets and amounts are in Sheet1 column F; adjust the references if your layout differs.

Solution 1Recommended

Use XLOOKUP to Return the Matching Amount

Use XLOOKUP in Excel versions that support it to match each name directly to its amount.

1
Enter the lookup formula

On Sheet2, select cell B2 and enter =IFERROR(XLOOKUP(A2,Sheet1!$A:$A,Sheet1!$F:$F,""),""). Press Enter.

2
Fill the formula down

Select B2 and drag its fill handle down column B beside the remaining names.

3
Check the results

Compare an amount in Sheet2 column B with its matching name and amount on Sheet1. A blank result can mean no match was found or another error was hidden.

Use XLOOKUP to Return the Matching Amount
Duplicate names: XLOOKUP returns the first matching name. If names repeat on Sheet1, it will not add their amounts together.
Work across sheets in WPS Office

Match Names Across Sheets in WPS Spreadsheet

Use a VLOOKUP formula in WPS Spreadsheet to return amounts from one worksheet to another, then fill it down for the remaining names.

  1. 1. Open the workbook: Open WPS Spreadsheet and use Open to select the workbook containing Sheet1 and Sheet2.
  2. 2. Enter the formula: On Sheet2, select B2 and enter =IFERROR(VLOOKUP(A2,Sheet1!$A:$F,6,FALSE),""). Press Enter.
  3. 3. Fill down and save: Drag the fill handle from B2 down beside the other names, check the returned amounts, and select Save.
Look up matching names and return amounts across worksheetsOpen and edit Microsoft Excel XLSX and XLS filesUse familiar spreadsheet formulas and fill controlsGet started with WPS Office for free
microsoft office alternative - wps office

Frequently Asked Questions

Why is the lookup result blank?

The name may not match a value in Sheet1 column A, or IFERROR may be hiding another error. Check the sheet name, column references, and any extra spaces in the names.

What happens if the same name appears more than once?

XLOOKUP and VLOOKUP return the amount for the first matching name. They do not combine amounts for duplicate names.

How do I use the formula if my sheet has a different name?

Replace Sheet1 in the formula with the source sheet's name. If the name contains spaces, enclose it in single quotes, such as 'Sales Data'!$A:$F.

Why does the VLOOKUP formula use 6?

Column F is the sixth column in the lookup range Sheet1!$A:$F. Change the column index if the amount is in a different column within that range.