Look Up a Matching Name from Another Excel Sheet
Question details
Return the amount associated with a matching name from another worksheet.

- 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.
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.
Use XLOOKUP to Return the Matching Amount
Use XLOOKUP in Excel versions that support it to match each name directly to its amount.
On Sheet2, select cell B2 and enter =IFERROR(XLOOKUP(A2,Sheet1!$A:$A,Sheet1!$F:$F,""),""). Press Enter.
Select B2 and drag its fill handle down column B beside the remaining names.
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 VLOOKUP in Older Excel Versions
Use VLOOKUP when your Excel version does not support XLOOKUP.
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. Open the workbook: Open WPS Spreadsheet and use Open to select the workbook containing Sheet1 and Sheet2.
- 2. Enter the formula: On Sheet2, select B2 and enter =IFERROR(VLOOKUP(A2,Sheet1!$A:$F,6,FALSE),""). Press Enter.
- 3. Fill down and save: Drag the fill handle from B2 down beside the other names, check the returned amounts, and select Save.

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.




