Find Values Missing From Another List
You have two lists — say, everyone who was invited and everyone who registered — and you need to know which names from the first list never show up in the second.
Excel & Google Sheets
This formula works in both Excel and Google Sheets.
How it works
COUNTIF(B:B,A2) counts how many times the value in A2 appears anywhere in column B. If that count is zero, the value never appears in the second list, so the formula returns Missing; any count of one or more returns In list. Copy the formula down and every value in column A gets checked. Unlike a row-by-row comparison, this works even when the two lists are sorted differently or have different lengths, because it searches the entire column rather than the matching row.
When to use it
Use this when reconciling any two lists: invitees vs. registrants, last month's customers vs. this month's, payroll vs. the HR roster, or orders placed vs. orders shipped.
Common mistakes
Did this formula help?
Engine-verified against the sample data aboveLast reviewed 2026-07-08