How to compare two Excel workbooks on a Mac
29 November 2026
Excel for Mac doesn't include Microsoft's Spreadsheet Compare tool or the Inquire add-in. Those only exist in some Windows editions of Office. On a Mac you can still compare two workbooks with formulas, conditional formatting, the diff command in Terminal, or a browser-based comparison tool. The right choice depends on whether rows were added, removed or re-sorted between the two versions.
1. Put the two windows side by side
Good for: a quick look at a small sheet.
Open both workbooks and drag their windows side by side, or hold the green button at the top left of one window and choose to tile it to the left or right of the screen. Scroll each one to the same place and compare by eye.
It's fine for a few dozen rows, but it's easy to miss a single changed digit, and you're left with no record of what you checked.
2. Flag differences with a formula or conditional formatting
Good for: two versions with the same rows in the same order.
These work exactly as they do on Windows:
- Copy both sheets into one workbook and name them Old and New.
- On a third sheet, enter
=IF(Old!A1<>New!A1, "Old: "&Old!A1&" | New: "&New!A1, "")in cell A1, then fill it right and down across the data. - Or, to highlight changes in place, select the data on New, choose Home > Conditional Formatting > New Rule, use the formula
=A1<>Old!A1, and pick a fill colour.
Both compare cell by cell, so a single inserted or deleted row makes everything below it look different. Our main guide to comparing two Excel files has more detail, including an XLOOKUP method for rows that have moved.
3. Use diff in Terminal on CSV copies
Good for: one sheet of plain values, if you're comfortable with Terminal.
macOS includes a text comparison command called diff, which handles inserted and deleted rows well:
- In Excel, open each version and choose File > Save As, with the format CSV UTF-8. This saves the active sheet only.
- Open Terminal and run:
diff -u old.csv new.csv
Lines starting with - are only in the old file, and lines starting with + are only in the new one. A changed cell shows up as a whole changed row, so in a wide sheet you still have to spot which value moved. CSV also saves results rather than formulas, so a formula that was replaced by a typed-in number won't show.
4. Use a comparison tool that runs in your browser
Good for: bigger files, several sheets, re-sorted rows, or when you need a record of the changes.
There's no Mac version of Spreadsheet Compare, and most desktop comparison tools are Windows-only. Many free websites will compare files, but they upload them to their servers first.
Compare Sheets runs in Safari, Chrome or any modern browser on a Mac, and your files never leave your computer. Drop in the two workbooks and it lines up inserted, deleted and moved rows, shows each changed cell with its old and new value, and flags formula changes. It also compares a .csv with an .xlsx. The free version covers the first 1,000 rows of each sheet, and you can try it with sample files.
Quick answers
Can Numbers compare two spreadsheets? No. Numbers opens Excel files but has no compare feature, so you'd be back to formulas or comparing by eye.
Does Excel for Mac have version history? For files stored in OneDrive or SharePoint, Excel can show and restore earlier versions. That helps you get an old copy back, but it doesn't list the differences between two versions.
Will Spreadsheet Compare run on a Mac through a Windows virtual machine? Only if the Windows copy of Office in that virtual machine is an edition that includes it, such as Microsoft 365 Apps for enterprise. Most personal and small-business licences don't.