How to compare two Excel files on a Mac and highlight the differences

Updated 6 minDRISH LABS

The short answer

Excel for Mac has no compare command: Microsoft's Spreadsheet Compare, and the Inquire add-in that launches it, run only on Excel for Windows. On a Mac, the free way is to put both sheets in one workbook and let a conditional-formatting rule colour every cell that differs, or to save both as CSV and compare them line by line.

Below is every free method that works on a Mac, what each one misses, the Word equivalent, and where a diff app saves time.

What Excel for Mac does and doesn't have

Microsoft's own support page is plain about it: Spreadsheet Compare "is available only in Excel for Windows in Microsoft 365 Apps for enterprise plans and equivalent editions". There is no Mac version and no Inquire tab in Excel for Mac, so any guide that tells you to click InquireCompare Files on a Mac is describing Windows.

What Excel for Mac does have is everything you need to build the comparison yourself: copying a sheet between workbooks, formulas, and conditional formatting.

Method 1Highlight the cells that differ with conditional formatting

This colours every changed cell in place, which is usually what "highlight differences" means.

  1. Open both workbooks. In the older one, select the sheet you want to compare and choose EditSheetMove or Copy Sheet.
  2. Under To book, choose the newer workbook, tick Create a copy, and click OK. Rename the copied sheet Old so the formula below is easy to read.
  3. Go to the newer sheet and select the range you want to check, starting at cell A1.
  4. On the Home tab, click Conditional FormattingNew Rule.
  5. In the Style box, choose Classic, then change the first option to Use a formula to determine which cells to format.
  6. Enter =A1<>Old!A1, choose a fill colour, and click OK.

Every cell whose value differs from the same cell on Old now carries that fill. The reference is relative, so the rule checks B7 against Old!B7, and so on.

What it misses. It compares cell by cell, by position. Insert one row near the top of the newer sheet and every row below it lights up, because each one now sits opposite a different row. It also compares values, not formulas or formatting.

Method 2A sheet that lists every change

If you want a record of what changed rather than colour, add a third sheet to the same workbook and rename the newer sheet New. In A1 of the empty sheet, enter:

Code
=IF(Old!A1<>New!A1, Old!A1 & " → " & New!A1, "")

Fill it right and down to cover the same area as your data. Matching cells stay blank; every changed cell shows the old value, an arrow, and the new one. It has the same blind spot as Method 1: an inserted or deleted row shifts everything after it.

Method 3Numbers, if you don't have Excel

Numbers opens Excel workbooks, but it has no compare command either. Where it helps is turning each workbook into plain text for Method 4: open the workbook in Numbers and choose FileExport ToCSV. Numbers asks whether to create a file for each table or combine them into one; for a comparison, a file per table keeps like with like.

Method 4Save both as CSV and compare them as text

A CSV puts each row on its own line, which means any text comparison can line up the two versions properly: an inserted row reads as one added line instead of shifting the whole sheet.

In Excel for Mac, open the sheet and choose FileSave As, then set File Format to CSV UTF-8 (Comma delimited) or Comma Separated Values. Microsoft notes two things about this: it saves only the active sheet, and formulas and formatting are not kept, only the values. Do the same for the other workbook.

Then compare the two files:

  • In Terminal, macOS ships with diff. Run diff old.csv new.csv and it prints only the rows that differ: lines starting with < come from the first file, lines starting with > from the second.
  • In a browser, paste each file's contents into the free Text Diff tool on this site. It marks every added and removed line and counts them, and nothing is uploaded: the comparison runs in the tab. It's built for everyday files; the part of the text that differs is capped at 2,000 lines per side.

What it misses. A row is one line, so when a single cell changes, the whole row is reported as changed and you still have to spot which value moved.

Comparing two Word documents on a Mac

Word does this one itself. Microsoft's steps for Word for Mac:

  1. Open one of the two versions.
  2. On the Review tab, choose CompareCompare Documents.
  3. Set Original document to the older version and Revised document to the newer one, then click OK.

Word builds a new document with the differences shown as revision marks and leaves both originals unchanged. If you have Word, use this rather than anything below. If you only have the two files as PDFs, see how to compare two PDFs on a Mac.

Where a diff app saves time, and where it doesn't

First, the limit: DiffSnap does not open .xlsx or .docx files. Both formats are zipped XML, and DiffSnap shows anything it doesn't recognise as a hex dump, which is no help for a spreadsheet. For Excel, use the CSV export from Method 4.

What it adds once you have the two CSVs:

  • The changed cell, not just the changed row. It shows the files side by side and highlights the characters that changed inside each modified line, so in a 40-column row you see the one value that moved.
  • The answer first. Each comparison opens with a one-sentence summary of what changed, and ⌘↑ / ⌘↓ jump between changes.
  • Proof nothing changed. Every file shows its SHA-256. If the two CSVs read the same but the digests differ, it says so, because line endings and encoding are real differences a text view hides.
  • Merging. Pick the left or right version of each changed line, edit a line in place, and export the result as text, HTML, PDF or a .patch file.

It runs entirely on your Mac and uploads nothing, needs macOS 15.1 or later, and at the time of writing it's $6.99 on the Mac App Store. For a one-off check on a small sheet, Method 1 is free and enough. If you compare exported data every week, the side-by-side view with in-line highlights is what saves the time.

FAQ

Does Excel for Mac have a compare files feature?

No. Spreadsheet Compare and the Inquire add-in are Windows-only, according to Microsoft. On a Mac, use conditional formatting with a formula such as =A1<>Old!A1, or save both sheets as CSV and compare them as text.

How do I highlight differences between two Excel sheets on a Mac?

Copy one sheet into the other workbook with Edit › Sheet › Move or Copy Sheet, then add a conditional-formatting rule on Home › Conditional Formatting › New Rule using a formula that compares each cell with the same cell on the other sheet.

Why does everything below one row show as different?

Cell-by-cell comparisons match by position. An inserted or deleted row shifts every row after it. Saving both sheets as CSV and comparing them line by line handles inserted rows properly.

Does comparing CSV files check formulas?

No. Excel saves only values to CSV, and only the active sheet, so formulas and formatting are not compared.

Can DiffSnap open Excel or Word files?

No. It compares text, code, PDFs, JSON, Plist, XML, images and binary files. Export a spreadsheet to CSV, or a document to PDF, and compare those.

How do I compare two Word documents on a Mac?

In Word for Mac, choose Review › Compare › Compare Documents, pick the original and the revised version, and click OK. Word creates a new document with the changes marked.