The fastest way to compare spreadsheets depends on what you have installed. Use Microsoft Spreadsheet Compare if you're on Office Professional Plus or Microsoft 365 Apps for enterprise — it runs a full cell-by-cell diff in minutes. For everything else, a local browser-based tool or a desktop app like Lawtonpdf keeps your files off third-party servers while still delivering a complete diff.
- Full audit with Excel on Windows: Use Spreadsheet Compare via the Inquire add-in.
- Quick one-off check (any platform): Use
=EXACTor=IFhelper formulas for small ranges. - Sensitive or regulated files: Use a local-first tool like Lawtonpdf that processes everything on your machine.
Key Takeaways
The most reliable way to compare spreadsheets is to match the method to the job: Spreadsheet Compare for full audits in Excel, local tools for sensitive data, and helper formulas for quick targeted checks.
| Point | Details |
|---|---|
| Spreadsheet Compare availability | Only included in Office Professional Plus and Microsoft 365 Apps for enterprise; not in standard subscriptions. |
| Formula vs. value detection | =EXACT compares cell values only; it does not detect formula changes or formatting differences. |
| Row-shift false positives | Tools using key-column or LCS alignment reduce false positives when rows have been inserted or deleted. |
| Privacy rule of thumb | For regulated or sensitive files, use a local tool that processes files on your machine with no upload step. |
| Lawtonpdf for local workflows | Lawtonpdf compares XLSX, XLS, CSV, TSV, and ODS files locally on Windows, with exportable reports for audit use. |
Table of Contents
- How do you run Microsoft Spreadsheet Compare?
- How do you compare spreadsheets in Google Sheets?
- Manual formula methods that work inside any spreadsheet
- Local desktop tools vs. browser-based comparers: which should you use?
- How do you read comparison output and act on the results?
- Which comparison method fits your job?
- Why local comparison matters for privacy and compliance
- Why local-first comparison is the right default for serious work
- Lawtonpdf handles spreadsheet comparison locally, with no upload required
- Sources
- FAQ
How do you run Microsoft Spreadsheet Compare?
Spreadsheet Compare runs a cell-by-cell diff that reports value, formula, formatting, named-range, and macro differences. Use it when you have Office Professional Plus or Microsoft 365 Apps for enterprise.
Edition note: Spreadsheet Compare is not available in standard Microsoft 365 Personal, Home, or Business subscriptions. Only Office Professional Plus (2013, 2016, 2019) and Microsoft 365 Apps for enterprise include it.
Step-by-step:
- Open Excel and go to File > Options > Add-ins.
- In the Manage dropdown, select COM Add-ins and click Go.
- Check Inquire and click OK. The Inquire tab now appears in the ribbon.
- Open the Spreadsheet Compare application directly from the Windows Start menu (search "Spreadsheet Compare").
- Click Compare Files in the toolbar.
- In the Compare field, browse to the older workbook. In the To field, select the newer one.
- Check the result options you need: Formulas, Macros, Cell Format, Cell Values.
- Click OK to run the comparison.
Reading the results: The output shows two panes side by side. Differences are color-coded by type: entered values, calculated values, formulas, formatting, and macros each get a distinct color. The lower pane lists every change with its cell address and change type. Hidden sheets are included automatically.
Pro Tip: Use Home > Export Results to save the diff as an Excel file. This creates a timestamped audit trail you can attach to a compliance review or share with a team.
If you see "Unable to open workbook," the file is password-protected. Remove the password first using your spreadsheet app or a tool like Lawtonpdf's unlock feature, then re-run the comparison.
How do you compare spreadsheets in Google Sheets?
Google Sheets has version history and a limited built-in compare capability. It does not offer a Spreadsheet Compare equivalent for formulas or formatting across versions. Use version history for tracking edits, and helper formulas or a local export for cell-level diffs.
Using version history:
- Go to File > Version history > See version history.
- Select an earlier version in the right panel to see highlighted changes.
- Version history shows who changed what and when, but it does not provide a formula-and-format comparison across two saved snapshots.
Using helper formulas:
- Copy the older sheet into a new tab named
OldData. - In a third tab, enter
=IF(Sheet1!A1=OldData!A1,"","CHANGED")across the range. - Apply conditional formatting to highlight non-empty cells in that helper tab.
Add-ons: Several Google Workspace add-ons offer cell-level diffs, but most require granting access to your spreadsheet data or uploading files to external servers.
Warning: Google Sheets add-ons that request broad file access may transmit your data to third-party servers. For sensitive data, download the file as
.xlsxor.csvand run the comparison locally instead.
Pro Tip: Before exporting, freeze your Google Sheet as a snapshot by downloading it. This gives you a clean baseline file with no risk of the source changing mid-comparison.
For a full formula-and-format diff of a Google Sheet, export both versions as .xlsx and run them through Spreadsheet Compare or a local tool. That workflow catches differences that version history misses entirely.
Manual formula methods that work inside any spreadsheet
For small ranges or targeted checks, a helper sheet with EXACT and IF formulas flags mismatches quickly without any external tool.
Step-by-step formula approach:
- Open both workbooks in Excel.
- Add a new sheet named
Diff. - In cell A1 of
Diff, enter:=IF(EXACT([File1.xlsx]Sheet1!A1,[File2.xlsx]Sheet1!A1),"","CHANGED") - Copy that formula across the full range you want to check.
- Apply conditional formatting to highlight any cell showing "CHANGED."
Useful formula variants:
=EXACT(A1,B1)returns TRUE/FALSE for a direct match check.=IF(ISFORMULA([File1.xlsx]Sheet1!A1)<>ISFORMULA([File2.xlsx]Sheet1!A1),"FORMULA MISMATCH","")flags cells where one file has a formula and the other has a hard-coded value.
Known limitations:
EXACTcompares cell values, not the underlying formulas. Two cells can show the same number but use different formulas.- Row insertions or deletions shift all references, producing false positives across every row below the change.
- Formatting differences and hidden-sheet changes are invisible to these formulas.
For recurring comparisons, a short VBA macro can automate the process. A basic pattern loops through each cell in a defined range, compares values between two sheets, and writes mismatches to a log sheet. Performance degrades on files above roughly 50,000 cells, so batch the comparison by column group if needed.
Normalize both sheets before comparing. Trim trailing spaces with
=TRIM(), standardize number formats, and remove extra blank rows. A single stray space causesEXACTto return FALSE even when the values look identical.
Pro Tip: Run =TRIM(CLEAN(A1)) on both source ranges before comparing. This removes non-printing characters that are invisible in the cell but break exact-match formulas.
Manual methods like =EXACT work well for single-column or small-range checks but become error-prone and time-consuming on large or complex files.
Local desktop tools vs. browser-based comparers: which should you use?
Choose a local or desktop comparer for sensitive or audited data. Use a browser-based tool when you need speed and no installation, provided you can verify client-side processing.
What to look for in any comparison tool:
- File format support:
.xlsx,.xls,.csv,.tsv,.odscoverage matters if your team works across multiple formats. - Formula detection: Can the tool distinguish a formula change from a value change?
- Row-shift handling: Tools using key-column or LCS (Longest Common Subsequence) alignment reduce false positives when rows have been inserted or deleted.
- Export/report features: Can you save the diff as a file for audit purposes?
- VBA/macro detection: Does the tool flag macro-code changes, not just cell changes?
Privacy checklist before uploading any file:
- Does the tool state "client-side processing" or "no upload"?
- Open your browser's DevTools (F12) > Network tab, then load a file. If you see POST requests to an external domain, your file is being uploaded.
- Check the vendor's privacy policy for data retention language.
- For regulated data (HIPAA, SOX, attorney-client privilege), prefer a local desktop app with no network dependency.
Some browser-based tools advertise 100% client-side processing, meaning files never leave your machine. Open-source options like DiffSheets support .xlsx, .xls, .csv, and .ods with multiple alignment modes (position-based, key-column, LCS) to handle row insertions cleanly.
Pro Tip: If a browser tool claims local processing, disconnect from the internet before loading your file and watch the Network tab. Zero outbound requests confirms the claim.
Lawtonpdf processes all comparisons on your local machine with no cloud upload step, which makes it a reliable choice for finance, legal, or healthcare files where data residency matters. It supports XLSX, XLS, CSV, TSV, and ODS formats and produces exportable reports you can store alongside your audit records. For teams comparing entire folder sets, Lawtonpdf's folder compare tool handles batch workflows without sending anything off-device.
How do you read comparison output and act on the results?
Start by categorizing changes: value, formula, formatting, structural (added or deleted rows), and macro/VBA. Fix data errors first, then formula logic, then formatting.
Common false positives to watch for:
- Row shifts from an inserted or deleted row above the changed area.
- Number format differences (1000 vs. 1,000 display the same value differently).
- Trailing spaces in text cells that make
EXACTreturn FALSE. - Date serial number mismatches when one file uses a 1900 date system and another uses 1904.
Post-diff action checklist:
- Validate the source of each change: who made it and when?
- Re-run dependent calculations to confirm downstream values are still correct.
- Check any linked external data sources that may have refreshed.
- Export the comparison report and store it with a timestamp and file version notes.
- Document fixes applied and re-run the diff to confirm the output is clean.
Pro Tip: When formulas differ but values match, investigate the formula change. Two formulas can produce the same result today and diverge the moment an input changes.
Spreadsheet Compare's color-coded two-pane grid makes this categorization straightforward: each change type gets its own color, and the lower legend maps colors to change categories. For tools without a built-in legend, export the results to Excel and filter by change type column before prioritizing fixes.

Which comparison method fits your job?
The right method depends on four questions: How sensitive is the data? Are macros or VBA involved? Do the files have different layouts? Is repeatability required?
Job-to-method map:
- One-off quick check on a small range: Use
=EXACTor=IFhelper formulas directly in the spreadsheet. - Full audit with formula and macro visibility: Use Spreadsheet Compare (requires Office Professional Plus or Microsoft 365 Apps for enterprise).
- Recurring scheduled comparison: Write a VBA macro or use a desktop tool with saved comparison presets.
- Google Sheets files: Export both versions as
.xlsx, then run through Spreadsheet Compare or a local tool. - Cross-format or mixed files (.csv, .ods, .tsv): Use a tool that explicitly supports those formats, such as DiffSheets or Lawtonpdf.
Red flags that point to a local or desktop solution:
- The files contain regulated data (financial records, patient data, legal documents).
- A formal audit trail is required.
- The workbooks include macros, VBA, or external data links.
- Your organization's IT policy prohibits uploading files to external services.
- The files are password-protected and you cannot share credentials externally.
For a broader look at desktop comparison alternatives and how they handle different file types, that overview covers the trade-offs in detail.
Why local comparison matters for privacy and compliance
Local or client-side processing keeps your files off third-party servers and reduces regulatory risk for sensitive data. For finance, legal, and healthcare teams, this is often not optional.
Privacy benefits of local processing:
- No upload step means no exposure to third-party data breaches.
- Files stay within your organization's security perimeter.
- Aligns with policies under HIPAA, SOX, and attorney-client privilege requirements.
- Removes the risk of a vendor retaining file data after the session ends.
How to verify a tool's local processing claims:
- Open DevTools (F12) > Network tab before loading any file.
- Load the file and watch for outbound POST or PUT requests.
- Check vendor documentation for explicit "client-side only" or "no server upload" language.
- Prefer tools with open-source code you can inspect directly.
For teams that need a documented audit trail, version control practices for compliance explain how to structure local exports and timestamps so your comparison records hold up under review.
Pro Tip: Export your comparison report immediately after running the diff, then rename the file with the date, both file versions, and your name. A file named diff_budget_v3_v4_2026-06-10_jsmith.xlsx is self-documenting and audit-ready.
Why local-first comparison is the right default for serious work
Most guides treat Spreadsheet Compare as the obvious answer and stop there. That advice is fine if you have the right Office edition and your files never contain regulated data. In practice, many teams don't have Office Professional Plus, and plenty of the files worth comparing are exactly the kind you should not upload to a web service.
The formula-based methods are genuinely useful for quick checks, but they have a hard ceiling. They compare values, not formulas. They break on row shifts. They miss formatting entirely. Treating them as a full audit solution is a mistake.
The more defensible default is: use Spreadsheet Compare when you have it, use a verified local browser tool when you don't, and use a dedicated local desktop app for anything that involves regulated data, macros, or a required audit trail. That workflow covers every scenario without creating compliance exposure.
Lawtonpdf handles spreadsheet comparison locally, with no upload required
If you need a single Windows app that compares spreadsheets, PDFs, text files, and entire folders without sending anything to a server, Lawtonpdf is built for that workflow. It supports XLSX, XLS, CSV, TSV, and ODS formats, detects value, formula, formatting, and macro differences, and produces exportable comparison reports you can store directly in your audit records.

Lawtonpdf is designed for legal teams, finance professionals, and anyone working with files that cannot leave the local machine. There's no cloud processing step, no account required to run a comparison, and no data retention on a vendor's server. The full document and PDF tool suite includes PDF comparison, folder comparison, and text comparison alongside spreadsheet diffs, so you're not switching between apps for different file types.
Try the spreadsheet comparison tool directly, or explore the full suite to see which tools fit your workflow.
Sources
- Basic tasks in Spreadsheet Compare | Microsoft Support
- Compare Spreadsheets Instantly | Free Online Diff Tool | SheetCompare
- Compare Sheets | Free, Private & Open-Source | DiffSheets
FAQ
Is there a way to compare two Excel spreadsheets for differences?
Yes. If you have Office Professional Plus or Microsoft 365 Apps for enterprise, use the built-in Spreadsheet Compare tool via the Inquire add-in. For other Office editions, use =EXACT helper formulas for small ranges or a local third-party tool for a full diff.
Where do you find the Spreadsheet Compare tool in Excel?
Spreadsheet Compare is a standalone Windows application installed alongside Office Professional Plus. Enable the Inquire add-in in Excel (File > Options > Add-ins > COM Add-ins), then open Spreadsheet Compare from the Windows Start menu and use the Compare Files command.
How do you enable Spreadsheet Compare in Excel?
Go to File > Options > Add-ins, select COM Add-ins in the Manage dropdown, click Go, check Inquire, and click OK. The Inquire tab appears in the ribbon, and Spreadsheet Compare is accessible from the Windows Start menu.
Can you compare spreadsheets without uploading files to a server?
Yes. Spreadsheet Compare runs entirely on your local machine. Browser-based tools that advertise client-side processing also keep files local, though you should verify this using your browser's DevTools Network tab. Lawtonpdf performs all comparisons locally on Windows with no cloud upload step.
