Function Problems

How to Find Names in Sheet 1 Missing from Sheet 2 in Excel

Olivia MillerOlivia Miller Nov 3, 2026 869 views

Question details

Identify people listed in Sheet 1 but not in Sheet 2 by comparing last names and first names across the two worksheets.

How to Find Names in Sheet 1 Missing from Sheet 2 in Excel
Product
Excel
Device & OS
not provided
Scenario
Comparing two lists of names across different sheets to find discrepancies or missing entries.
Observed behavior
The user wants to output a TRUE/FALSE value where FALSE indicates a name present in Sheet 1 is missing or mismatched in Sheet 2.
Before you start

Ensure both sheets have the names organized consistently, with last names in Column A and first names in Column B.

Solution 1Recommended

Use a Combined VLOOKUP and IF Formula

Use a nested IF and VLOOKUP formula to check both the first and last names across the two sheets and return TRUE if found, or FALSE if missing.

This formula checks if the last name (Column A) exists in Sheet 2. If it is missing, it returns FALSE. If the last name is found, it then checks if the corresponding first name (Column B) matches. It relies on exact matches, so formatting must be uniform across both lists.

1
Open your worksheet

Navigate to Sheet 1 where your initial list of names is located.

2
Select the output cell

Click on an empty cell in row 2 (e.g., cell C2) right next to your first and last name columns.

3
Enter the comparison formula

Type the formula: =IF(ISNA(VLOOKUP($A2,Sheet2!$A:$A,1,FALSE)),FALSE,IF($B2=VLOOKUP($A2,Sheet2!$A:$B,2,FALSE),TRUE,FALSE))

4
Apply formula to all rows

Press Enter to see the result. Click the fill handle in the bottom-right corner of cell C2 and drag it down to apply this formula to the rest of the rows. A 'FALSE' result indicates the name in Sheet 1 is missing from Sheet 2.

Use a Combined VLOOKUP and IF Formula
Interpreting the Results: A 'TRUE' output means both the first and last names match exactly in Sheet 2. A 'FALSE' output confirms the person is either missing entirely or there is a discrepancy in the spelling.
Seamless Data Analysis

Compare Lists Easily with WPS Spreadsheet

WPS Spreadsheet fully supports advanced Excel formulas like VLOOKUP and IF, allowing you to instantly compare lists across multiple sheets. Manage your data analysis tasks efficiently with a free, professional tool.

  1. 1. Open your file: Launch WPS Spreadsheet and open your workbook containing the two sheets.
  2. 2. Insert the formula: Select the target cell in Sheet 1, and paste the VLOOKUP formula to compare the names.
  3. 3. Drag to fill: Press Enter and drag the formula down to instantly identify any missing names.
Fully compatible with Microsoft Excel formulas and functions (.xlsx files).Lightweight software that processes large data sets and cross-sheet comparisons smoothly.Free built-in data analysis tools, including duplicate highlighting and advanced lookup functions.
microsoft office alternative - wps office

Frequently Asked Questions

Why does my lookup formula return #N/A instead of FALSE?

If you only use VLOOKUP without the ISNA or IFERROR wrapper, it will return an #N/A error when a match is not found. Wrapping it in IF(ISNA(...), FALSE) safely handles these errors and turns them into a readable 'FALSE' text.

Does this formula work if names have extra spaces?

No, VLOOKUP requires exact matches. If your names have trailing or leading spaces, the formula will return FALSE even if the names visually match. Wrap your cell references in the TRIM function, such as TRIM($A2), to remove extra spaces before comparing.

How can I compare only one column instead of both first and last names?

If you only need to check one single column (like an Employee ID or a full name combined in Column A), use a simpler formula: =IF(ISNA(VLOOKUP($A2,Sheet2!$A:$A,1,FALSE)), FALSE, TRUE).

Can I use conditional formatting to highlight the missing names instead of a formula column?

Yes, you can use the COUNTIFS function within the Conditional Formatting rules. Select your names in Sheet 1, choose 'New Rule', and use a formula like =COUNTIFS(Sheet2!$A:$A, $A2, Sheet2!$B:$B, $B2)=0 to highlight names missing from Sheet 2.