Two lists that should match — a bank export vs your ledger — rarely do. A COUNTIF against the other list flags every item that’s missing on one side, turning reconciliation into a one-column check.
The example
Items present in one list but not the other.
| A | B | |
|---|---|---|
| 1 | Item | Check |
| 2 | INV-100 | OK |
| 3 | INV-205 | Missing in B |
The formula
The formula:
How it works
How it works:
COUNTIF(list_b, A2)counts how many times an A item appears in B — 0 means missing.- Run the mirror check: COUNTIF(list_a, B2)=0 to find items in B not in A.
- Together they surface everything that doesn’t reconcile on either side.
- Build a normalized key first if formats differ (case, spaces, leading zeros).
Reconcile both directions. A single COUNTIF only finds A-items missing from B; items in B that aren’t in A stay hidden. Always run the mirror check too. And when amounts should match per key, add a SUMIF comparison — same key, different totals is a different (and common) reconciliation failure than a missing key.
Try it: interactive demo
List A and list B (comma-separated).
Variations
Mirror check
Items in B not in A:
Amount mismatch
Same key, diff total:
Count unmatched
How many off:
Pitfalls & errors
Check both directions. One COUNTIF misses items unique to the other list.
Normalize keys. Case, spaces, and leading zeros cause false mismatches.
Amounts too. Matching keys can still have differing totals — compare with SUMIF.
Practice workbook
Frequently asked questions
How do I reconcile two lists in Excel?
Why do identical-looking items show as mismatched?
How do I catch matching keys with different amounts?
Stop fighting formulas. Learn them in a day.
This recipe is one of hundreds of real-world formulas we teach. Our Excel Formulas & Functions class covers lookups, logic, text, and dynamic arrays hands-on — live in Dallas–Fort Worth, Houston, Austin, Oklahoma City, Denver, or online.
See the Formulas & Functions Class