Function Problems

Find Matching Email Addresses in Another Excel Table

Tauseeq MagsiTauseeq Magsi Nov 18, 2026 869 views

Question details

Find email addresses in a master table that match IDs or names in a second list.

Find Matching Email Addresses in Another Excel Table
Product
Microsoft Excel
Device & OS
not provided
Scenario
A second list contains a subset of records from a master table, and the user wants to add the corresponding email addresses.
Observed behavior
Each record in the second list should display the matching email address from the master table, or a message if no match is found.
Before you start

Place both lists in the same workbook and check which columns contain the matching IDs and email addresses. The examples assume the lookup ID is in A2, while the Master sheet has IDs in column A and emails in column C; use a unique ID rather than a name when possible.

Solution 1Recommended

Use XLOOKUP to retrieve matching email addresses

Use this method when your Excel version supports XLOOKUP.

1
Select the result cell

On the sheet containing the subset list, select the cell where you want the email for the ID in A2 to appear, such as B2.

2
Enter the lookup formula

Enter =XLOOKUP(A2,Master!A:A,Master!C:C,"Not found") and press Enter. Replace the sheet name and column references if your data is arranged differently.

3
Fill the formula down

Select B2 and drag its fill handle down alongside the remaining IDs to retrieve their email addresses.

Use XLOOKUP to retrieve matching email addresses
Multiple matches: XLOOKUP returns the first matching record by default. Use unique IDs to avoid retrieving an email for the wrong person.
WPS Office

Match email addresses with WPS Spreadsheets

Open your workbook in WPS Spreadsheets and use VLOOKUP to pull email addresses from a master sheet into a subset list.

  1. 1. Open the workbook: In WPS Spreadsheets, choose Open and select the workbook containing your subset list and master sheet.
  2. 2. Select the email column: On the subset sheet, click B2 next to the first lookup ID in A2.
  3. 3. Enter VLOOKUP: Type =IFERROR(VLOOKUP(A2,Master!A:C,3,FALSE),"Not found") and press Enter. Adjust the sheet and column references to match your workbook.
  4. 4. Fill the remaining rows: Select B2 and drag the fill handle down to look up emails for the other IDs, then use Save to keep the results.
Match email addresses to IDs with an exact-match lookup formula.Open and save Microsoft Excel XLSX and XLS files.Use a familiar spreadsheet interface to fill formulas down a list.Work with spreadsheets using the free version of WPS Office.
microsoft office alternative - wps office

Frequently Asked Questions

Can I match email addresses by name instead of ID?

Yes. Use the name cell as the lookup value and point XLOOKUP or VLOOKUP to the master name column. Names may not be unique, so an ID is safer when available.

Why does the formula show "Not found" when the ID exists?

Check for extra spaces, different spelling, or IDs stored as text in one list and numbers in the other. Also verify that the formula references the correct master sheet and columns.

What happens if the master table contains duplicate IDs?

The example XLOOKUP and VLOOKUP formulas return the first match they find. Check the master ID column for duplicates before relying on the returned email.

Why does Excel not recognize XLOOKUP?

Your Excel version may not support XLOOKUP. Try =IFERROR(VLOOKUP(A2,Master!A:C,3,FALSE),"Not found") instead, provided the IDs are in the first column of the lookup range.