Function Problems

Check Whether Names Exist in Another Excel Sheet

Rana GarciaRana Garcia Nov 18, 2026 868 views

Question details

Check which names in one worksheet also appear in a larger worksheet.

Check Whether Names Exist in Another Excel Sheet
Product
Microsoft Excel
Device & OS
not provided
Scenario
Compare a list of about 900 names against a worksheet containing thousands of rows using an exact lookup.
Observed behavior
Each name should return 1 if it appears in the other worksheet and 0 if it does not.
Before you start

Identify the column containing the names to check and the sheet and range containing the larger list. Make sure names use consistent spelling, spacing, and name formats.

Solution 1Recommended

Use MATCH to check names against another sheet

Return 1 for each name found in the larger list and 0 for each name not found.

This example checks names in column A of the current sheet against cells A1 through A16000 on Sheet1. MATCH with 0 looks for a whole-cell match and is not case-sensitive.

1
Select the result column

On the sheet containing the names to check, select B2 next to the first name in A2.

2
Enter the lookup formula

Enter =IF(ISNUMBER(MATCH(A2,Sheet1!$A$1:$A$16000,0)),1,0) in B2 and press Enter. Change A2, Sheet1, and the lookup range to match your workbook.

3
Fill the formula down

Select B2 and drag its fill handle down alongside the rest of the names. The dollar signs keep the lookup range fixed as the name reference changes.

4
Review the results

Read column B: 1 means the name appears at least once in the lookup range; 0 means no match was found.

Use MATCH to check names against another sheet
Check unmatched names: Extra spaces, spelling differences, or different name formats can prevent a match. If the lookup sheet name contains spaces, enclose it in single quotes, such as 'Name List'!$A$1:$A$16000.
Compare names in WPS Spreadsheets

Check names across sheets in WPS Spreadsheets

Open your workbook in WPS Spreadsheets and use the same MATCH formula to mark names that appear in the larger list.

  1. 1. Open the workbook: In WPS Spreadsheets, use Open to select the workbook containing both name lists.
  2. 2. Enter the formula: On the sheet with the names to check, select B2 and enter =IF(ISNUMBER(MATCH(A2,Sheet1!$A$1:$A$16000,0)),1,0). Adjust the cell, sheet name, and range as needed.
  3. 3. Copy the formula: Select B2 and drag the fill handle down to the last name. Review the results: 1 means found and 0 means not found.
  4. 4. Save the results: Use File > Save As to save the completed workbook in an Excel-compatible format such as XLSX.
Compare names across worksheets with an exact lookupOpen and save Microsoft Excel XLSX and XLS filesFill a formula down a long list of namesUse familiar spreadsheet formulas and controls
microsoft office alternative - wps office

Frequently Asked Questions

Does the MATCH formula distinguish uppercase and lowercase letters?

No. MATCH with 0 compares the whole cell but does not distinguish uppercase from lowercase letters.

Why does a name return 0 even though it appears on the other sheet?

Check that the name falls within the formula's lookup range and that spelling, spaces, and name formats match. Update Sheet1!$A$1:$A$16000 if the list extends beyond that range.

What if the lookup sheet has a space in its name?

Put the sheet name in single quotes in the formula, for example, 'Name List'!$A$1:$A$16000.

Will the formula show how many times a name appears?

No. The MATCH formula returns 1 when at least one match exists. To count occurrences instead, enter =COUNTIF(Sheet1!$A$1:$A$16000,A2) next to the name.