Compare Two Excel Spreadsheets: 5 Ways to Find Differences Fast
Compare two Excel spreadsheets using View Side by Side, IF formulas, Conditional Formatting, Spreadsheet Compare, or VLOOKUP. Step-by-step methods.

Why You'd Need to Compare Two Excel Spreadsheets
You've got two versions of the same spreadsheet — maybe a data file from last month versus this month, or an original dataset versus one a colleague updated. Now you need to know: what changed? Doing it manually, row by row, is slow and error-prone. You'll miss things. Excel has several built-in ways to find differences systematically, without scanning every cell by hand.
Whether you're auditing financial figures, reconciling inventory counts, or verifying a formula update didn't accidentally overwrite values — knowing how to compare two Excel spreadsheets is a genuinely useful skill. Methods range from a quick visual scan to a documented audit trail with color-coded categories of change. The best one depends on your sheet size, your audience, and how precise you need to be.
Real-world scenarios where this comes up: comparing last month's sales report to this month's to find new or removed entries; verifying an analyst's updated file matches the original before it goes out; reconciling exports from different systems that should contain the same records; checking a formula-only model for accidental hard-coded values. In each case, the right method is slightly different — which is exactly why it's worth knowing all of them.
For broader data analysis in Excel, comparison is often the first step before drawing conclusions. You can't trust analysis built on data that might have undocumented differences between versions or sources. Getting the comparison right upfront saves you from incorrect conclusions later. It's also good practice to document what you found and how — whether that's a PDF of highlighted cells or an exported Spreadsheet Compare report.
The 5 Methods: What You're Choosing Between
Before diving into each method, it helps to know what they're designed for. View Side by Side is purely visual — it tiles two windows and lets you scroll in sync, fine on a 50-row sheet but breaks down at scale. The IF formula approach gives you a third column with Match/Difference labels that you can filter and count. Conditional Formatting highlights mismatches directly in your data using cell fill color, no extra column needed.
Spreadsheet Compare (Office Pro only) produces a full external diff report with no changes to your files — the right tool for professional audits. VLOOKUP and XLOOKUP find rows that exist in one sheet but not the other, identified by a unique key value rather than row position.
A sixth option — Power Query — handles large-scale or recurring comparisons with SQL-style join logic. More setup up front, but much more repeatable for monthly reconciliation workflows.
Use the tabs below for step-by-step instructions on each method. The quick decision guide follows immediately after — it'll tell you which one to pick for your specific situation.

5 Ways to Compare Excel Spreadsheets
- Open both workbooks in Excel (separate files, not just separate sheets in one workbook).
- Go to the View tab on the ribbon.
- Click View Side by Side (in the Window group). Excel tiles both workbooks horizontally on screen.
- Enable Synchronous Scrolling in the View tab. Both sheets scroll together as you move through rows.
- Scroll through both sheets and visually spot differences.
- Click Reset Window Position to re-align if the windows drift.
- Click View Side by Side again when done to return to normal view.
Best for: Small sheets (under 100 rows) where a quick visual scan is enough. Doesn't highlight differences automatically — you're doing the spotting yourself. Not practical for large datasets.
Quick visual check on a small sheet → View Side by Side (View tab, enable Synchronous Scrolling)
Cell-by-cell audit with a shareable log → IF Formula in a helper column or third sheet
See all differences highlighted in-place → Conditional Formatting with =A1<>Sheet2!A1
Professional audit with a documented change report → Spreadsheet Compare (Office Pro / 365 Enterprise)
Find rows missing from one list vs. another → VLOOKUP or XLOOKUP helper column
Large datasets or recurring monthly comparisons → Power Query Left Anti Join
Method Comparison at a Glance
- ▸Small sheets under 100 rows
- ▸Quick visual spot-check
- ▸No formula setup needed
- ▸Both files must be open
- ▸Any sheet size
- ▸Shareable Match/Difference log
- ▸Filterable and countable
- ▸Works cross-workbook
- ▸Any sheet size
- ▸Highlights differences in-place
- ▸No separate column needed
- ▸Multiple rule colors possible
- ▸Office Pro / 365 Enterprise only
- ▸External documented report
- ▸Distinguishes formula vs. value changes
- ▸Exportable change log
- ▸Find added or deleted rows
- ▸Requires a unique key column
- ▸Inventory and list reconciliation
- ▸Works on any sheet size
Deep Dive: Conditional Formatting for Cell-by-Cell Differences
Conditional Formatting is probably the fastest way to get a visual map of every difference across two sheets. Once set up — under a minute — mismatches light up in whatever color you choose. You can see at a glance whether differences are scattered randomly or clustered in a specific column or date range. It's non-destructive and easy to remove when you're done.
Setting Up the Formula Rule
The key formula is =A1<>Sheet2!A1. The <> operator means "not equal to." Applied across a selected range, it fires the formatting rule on every cell where values differ. A few things to watch:
- Use relative references — no $ signs. You want A1 to shift to B1, C1, etc. across columns. Writing
=$A$1<>Sheet2!$A$1evaluates every cell against A1 only — that's wrong. - Sheet names with spaces need single quotes:
=A1<>'Sheet 2'!A1. Click the cell to insert the reference and Excel handles the quotes automatically. - Cross-workbook rules work while both files are open, but break if the source closes or is renamed. Copy data into one workbook for stable, long-term comparisons.
- Start your selection at A1 (or the top-left of your data). The formula always references the top-left corner of the selected range.
Picking a Color That Works
Red fill is the obvious choice. But red with dark text can be hard to scan quickly. Light orange or pale yellow keeps text legible while flagging problem cells. If you're tracking multiple difference types — value changes versus formula mismatches — stack multiple rules with different colors. Manage priority under Manage Rules so the right rule fires first.
Case Sensitivity and the EXACT Function
Excel's operators aren't case-sensitive by default. "SMITH" and "smith" look different but <> treats them as equal. If case matters — product codes, usernames, passwords — wrap with EXACT: =NOT(EXACT(A1,Sheet2!A1)). This fires the formatting rule on any case mismatch.
Documenting and Clearing
When done, remove formatting via Home → Conditional Formatting → Clear Rules. The underlying data is untouched — only the highlight layer disappears. Apply the rule, export as PDF to record the highlighted state, then clear. You get a permanent snapshot without modifying the file itself.
Wide sheets often cut off cell contents — knowing how to change column width in Excel ensures every cell is fully visible before you screenshot. Once differences are highlighted, sort by color (right-click → Sort → Put Selected Cell Color on Top) to group all mismatched rows at the top.
For structured comparison reports to share with stakeholders, how to indent in Excel helps organize summary rows and sub-items so the output reads well.
Combining with an IF Formula Column
For a thorough audit, combine both methods. Conditional Formatting gives you the visual map; an IF formula helper column gives you a filterable, countable log. They're complementary — both reading from the same source, each giving you something the other doesn't. The highlighting shows where differences cluster; the formula column lets you filter to just changed rows and share results as plain text.

Spreadsheet Compare Tool: Built for Professional Audits
On Office Professional Plus or a qualifying Microsoft 365 plan, Spreadsheet Compare is a standalone application — completely separate from the Excel interface — built specifically for comparing two versions of the same file. You don't modify either spreadsheet. Point it at two files, click OK, and it does the work.
The output is a split-screen interface: older file on the left, newer file on the right, full change list at the bottom with cell address, old value, and new value. Changes are color-coded by type — green for entered value changes, blue for formula changes, purple for cell format changes, teal for column width or row height changes, red for deleted or cleared cells.
That type-level distinction is the main reason to use this tool over a formula approach. A formula change might be completely intentional and expected. A hard-coded value replacing a formula in a financial model is almost always a problem worth investigating. Spreadsheet Compare shows you which is which at a glance, without you having to dig into individual cells.
The Inquire add-in that houses Spreadsheet Compare also gives you a Workbook Analysis report — every formula, defined name, cell style, and external connection in a file. Useful when you've inherited a complex workbook from someone else and need to understand its structure before comparing versions. It's also helpful for spotting external data connections you didn't know existed.
One important limitation: Spreadsheet Compare works on full files, not individual sheets or ranges. If you only need to compare a specific section of a large workbook, the formula methods or Conditional Formatting are more targeted. And it's Windows-only — there's no equivalent in Excel for Mac.
When Spreadsheet Compare Is the Right Choice
Use it when you need to produce a documented change report that can be archived, shared with a compliance team, or used as an audit trail. The export function creates a clean Excel file summarizing all changes — that's something none of the formula-based methods produce on their own. It's also the right tool when you're comparing versions of a complex model where formula integrity matters as much as data accuracy.
Spreadsheet Compare: Pros and Cons
- +No setup required inside the spreadsheets — just point at two files
- +Distinguishes formula changes from hard-coded value changes
- +Color-coded by change type for fast scanning
- +Exportable report for documentation and compliance
- +Workbook Analysis maps all formulas and external connections
- −Only available in Office Professional Plus and qualifying Microsoft 365 plans
- −Not included in Home or Personal editions of Excel
- −Compares full files, not individual sheets or ranges
- −Windows only — not available in Excel for Mac
- −Doesn't summarize differences by column or create pivot-style summaries
Power Query for Large-Scale Dataset Comparisons
When you're working with thousands of rows and need to find records that exist in one sheet but not the other, Power Query handles this more reliably than VLOOKUP. It treats each sheet as a structured table and performs SQL-style join operations — specifically a Left Anti Join, which returns every row from your first table with no matching record in the second.
Practical steps: go to Data → Get Data → From Table/Range for each sheet to load them as Power Query queries. In the Power Query Editor, go to Home → Merge Queries, choose your unique key column as the match field, and select "Left Anti" as the join kind. Load the result back to a new sheet. Reverse the tables to get newly added rows.
Power Query's main advantage for comparison work is repeatability. Once you've built the query, refreshing it with updated data takes one click. That's worth the initial setup if you're doing monthly reconciliation on the same report format. It handles cross-format comparisons too: Excel vs. CSV, two separate Excel files, or Excel vs. a database export.
One thing Power Query can't do as easily: compare cell values across matching rows. It's great for finding missing records by key, but it doesn't have a native "highlight every cell that changed" view the way Conditional Formatting does. Think of Power Query as the right tool for the "who's missing?" question and Conditional Formatting for the "what changed?" question.
Practical Comparison Workflows
For monthly report reconciliation — sales, expense, or inventory data — run VLOOKUP for added/removed rows plus Conditional Formatting for changed values. Complete picture in under 10 minutes on sheets with a few hundred rows.
For verifying a colleague's edits, Conditional Formatting on their version referencing the original lights up every unexpected change immediately. It's more reliable than asking what they changed, and faster than a verbal walkthrough. You can clear the rule when done and the file looks completely untouched.
For cross-system reconciliation where row order might differ between exports, VLOOKUP on a unique ID column (customer ID, order number, SKU) is far more reliable than row-position matching. Row position only works when both sheets are sorted identically — a condition you can't always guarantee with external exports.
For auditing formula-heavy financial models, Spreadsheet Compare explicitly flags formula changes versus value overrides. That's exactly the scenario it was built for — a formula method or Conditional Formatting rule won't give you the same type-level distinction.
When you find differences and need to summarize them, Excel pivot tables let you count differences by column, by date, or by category. That summary shows scale and pattern — far more useful to share with a team than a sheet full of highlighted cells. The Excel features in this guide work together naturally: compare, highlight, summarize, report.
No single method covers every scenario — that's why it's worth having a few in your back pocket. Quick visual check for small tables: View Side by Side. Full in-place highlight for any size sheet: Conditional Formatting. Documented change report for compliance: Spreadsheet Compare. Missing-row analysis on a large dataset: VLOOKUP or Power Query. Each one takes under a minute to set up once you know the steps, and none of them permanently modify your source data.

Common Comparison Mistakes to Avoid
- ✓Comparing sheets with different row orders — sort both by the same key column first
- ✓Forgetting to TRIM text cells — hidden leading or trailing spaces cause false differences
- ✓Using View Side by Side on large sheets — it's visual only, not systematic
- ✓Cross-workbook Conditional Formatting rules that break when the source file closes
- ✓Assuming a visual match means identical underlying values — check formatted vs. raw cell value
- ✓Ignoring case sensitivity — use EXACT() when uppercase vs. lowercase matters
- ✓Comparing sheets with mismatched column structures — align columns before running any comparison
- ✓Forgetting to clear Conditional Formatting rules after the review is complete
Getting Accurate Results: Data Quality Traps
A few data quality issues consistently cause false positives or missed differences — regardless of which comparison method you're using. Understanding them upfront saves a lot of confusion and rework later.
Formatting vs. underlying values. A cell displaying "10.00" and one showing "10" may contain identical numeric values. Formula-based comparisons compare the underlying number (equal); visual methods compare the displayed text (different). Use VALUE() to normalize if you're seeing unexpected mismatches on numeric fields.
Leading and trailing spaces. Text cells that look completely identical on screen often differ by a hidden space at the start or end. This is one of the most common causes of false differences in data exported from databases, CRMs, or any system that pads empty fields with spaces. TRIM() both cells before comparing: =TRIM(A1)<>TRIM(Sheet2!A1).
Date formats. Dates stored as text strings ("2024-01-15") versus dates stored as Excel date serial numbers may display identically but compare as different. Check the cell format — if one is General and the other is Date, that's why they don't match even though they look the same on screen.
Empty cells vs. space characters. A genuinely empty cell and a cell containing a single space character look identical, but they're not equal. ISBLANK() distinguishes them. This matters when one file was exported from a system that pads empty fields.
Numbers stored as text. A number formatted as text and the same number stored as a real numeric value look identical but compare as different. Check for the small green triangle in the cell corner — that's Excel's flag that the number is stored as text. Convert with VALUE() or use the "Convert to Number" option that appears when you click the cell. Running into this often means the source data export needs a cleaning step before comparison.
Excel Questions and Answers
About the Author
Business Consultant & Professional Certification Advisor
Wharton School, University of PennsylvaniaKatherine Lee earned her MBA from the Wharton School at the University of Pennsylvania and holds CPA, PHR, and PMP certifications. With a background spanning corporate finance, human resources, and project management, she has coached professionals preparing for CPA, CMA, PHR/SPHR, PMP, and financial services licensing exams.