Guide · Updated June 2026
Say you have two columns — maybe last week’s inventory list and this week’s — and need to know what changed. Here are three ways to compare them, roughly in order of how much Excel knowledge they require.
Method 1: Conditional formatting
Select both columns, then Home → Conditional Formatting → Highlight Cells Rules → Duplicate Values. Choose “Unique” instead of “Duplicate” to highlight items that don’t match. This works well for a quick visual scan but doesn’t separate “only in column A” from “only in column B” — both get flagged the same color.
Method 2: A COUNTIF/MATCH formula
In a helper column next to List A, use:
=IF(COUNTIF(B:B, A2)=0, "Missing from B", "Match")
Fill down, then filter for “Missing from B.” Repeat in reverse (COUNTIF against A) to find what’s missing from A. This gives you a real difference set, but it’s two separate formulas, and things like extra spaces or mismatched casing will silently break the match unless you wrap both sides in TRIM() and LOWER().
Method 3: Paste both columns into a comparison tool
Copy column A into List 1 and column B into List 2in a browser-based list comparison tool. You get all four differences at once — only in A, only in B, shared, and combined — with case-sensitivity and whitespace handling as toggles instead of nested formulas, and nothing leaves your browser.
Which method to use
- One-off visual check on a small range → conditional formatting.
- Need the difference as data you can filter or export → formulas, if you’re comfortable maintaining them.
- Want a clean result you can copy out immediately, with duplicates and case handled for you → paste into a comparison tool.
For the Google Sheets equivalent, see How to Compare Two Lists in Google Sheets.
Paste your two columns and compare instantly.
Open the tool