The fastest way to spot what changed between two spreadsheets

The simplest method is to open both spreadsheets side by side and scan for differences manually — this works well if the files are small or you know roughly where changes happened. For larger files or when you need to catch every difference, use your spreadsheet program's built-in comparison tools or create a formula that flags mismatches automatically. Excel, Google Sheets, and LibreOffice all have different approaches, so the right method depends on which program you use and how much data you are comparing.

The most common reason people compare spreadsheets is to find what changed between versions, spot duplicate entries, or verify that two data sources match. This guide covers the practical methods you can use right now, starting with the easiest approach and moving to more thorough options.

Key Takeaways

  • Opening both files in separate windows and arranging them side by side works for small changes and takes no setup.
  • Excel has a built-in comparison tool under the Review tab that highlights differences automatically, though it works best on similar file structures.
  • A formula approach using COUNTIF or VLOOKUP can flag rows that exist in one spreadsheet but not the other.
  • Google Sheets does not have a native comparison tool, but you can copy one sheet into the other and use conditional formatting to highlight mismatches.
  • Before comparing, make sure both files use the same column order and data format, or differences will appear even when the data is actually the same.

Side-by-side viewing for quick visual checks

If you have two spreadsheets open and want to see them at the same time, arrange them in separate windows on your screen. In Excel, open both files, then right-click the taskbar button for Excel and select Show windows side by side. In Google Sheets, open the first sheet in one browser tab and the second in another, then position your windows so both are visible. This method is fastest when you already know roughly where to look or when the files are small enough to scan in a few minutes.

The limitation of side-by-side viewing is that you have to spot differences yourself — the program is not flagging anything for you. If you miss a row or a cell, you will not know. This approach works best as a first pass to get a sense of what changed, then follow up with a more systematic method if you need to be certain you caught everything.

Using Excel's built-in comparison feature

Excel has a tool designed specifically for this task. Open the first spreadsheet, then go to the Review tab at the top and click Compare Files (in some versions this is under Inquire). Select the second file you want to compare it to. Excel will open a new window showing the differences highlighted in color — cells that changed appear in one color, cells that were deleted in another, and new cells in a third.

This tool works best when both files have the same structure — the same columns in the same order, the same number of rows, and the same data types. If one file has columns in a different order or extra rows inserted in the middle, Excel may flag those as differences even though the actual data is the same. Before using this tool, check that both files are organized the same way. If they are not, you will need to rearrange one of them first or use a formula approach instead.

The comparison results appear in a separate panel on the right side of the screen. You can click on each difference to jump to that cell. When you are done reviewing, you can close the comparison window without saving changes to either file.

Creating a formula to find mismatched rows

If you want to find rows that exist in one spreadsheet but not in the other, use a formula approach. Start by copying all the data from both spreadsheets into a single file — put the first spreadsheet's data in columns A through D (or however many columns you have), and the second spreadsheet's data in columns F through I, leaving column E blank as a separator.

In column E, create a formula that checks whether each row from the first spreadsheet appears in the second. Use COUNTIF to count how many times that row appears in the second dataset. For example, if your first spreadsheet has names in column A and email addresses in column B, you could write: =COUNTIF($F:$F,A1). This formula counts how many times the value in A1 appears anywhere in column F. If the count is zero, that row does not exist in the second spreadsheet.

Copy this formula down for every row in your first dataset. Any row that returns zero is unique to the first spreadsheet. Then repeat the process in reverse — check whether each row from the second spreadsheet appears in the first. This method requires more setup than the built-in tools, but it works in any spreadsheet program and gives you precise control over what you are comparing.

Comparing spreadsheets in Google Sheets

Google Sheets does not have a dedicated comparison feature like Excel does. The most practical approach is to copy one spreadsheet into the other as a new sheet, then use conditional formatting to highlight differences. Open the first spreadsheet, create a new sheet, and paste the second spreadsheet's data into it. Now you have both datasets in the same file.

Select the cells from the first sheet that you want to compare. Go to Format in the menu, then Conditional formatting. Under the formatting rules, choose Custom formula is and enter a formula that compares each cell to the corresponding cell in the second sheet. For example: =A1<>Sheet2!A1. This formula highlights any cell in the first sheet that does not match the same cell in the second sheet. Choose a highlight color and apply the rule. Any mismatches will now be colored on your screen.

This approach works well for spreadsheets that are already the same size and structure. If the files have different numbers of rows or columns, you will need to adjust the structure first or use a formula method instead.

Preparing your files before comparing

Before you run any comparison, take a few minutes to check that both spreadsheets are set up the same way. If one file has columns in a different order, or if one has extra blank rows, or if the data is formatted differently (one uses "John Smith" and the other uses "Smith, John"), the comparison will flag those as differences even though the actual information is the same.

Check that both files have the same column headers in the same order. If one file has a column that the other does not, decide whether you want to include that column in the comparison or delete it from one file first. Look for extra blank rows or columns and delete them. If the data is formatted differently — dates as "1/15/2024" in one file and "January 15, 2024" in the other, for example — standardize the format in both files before comparing. These small steps take just a few minutes and will save you from chasing false differences later.

What to do when the files are very different

If the two spreadsheets have completely different structures — different columns, different row counts, or different data types — a direct comparison tool will not help much. Instead, identify what you actually need to know. Are you checking whether a specific list of names appears in both files? Are you verifying that totals match? Are you looking for duplicate entries within one file?

Once you know what you are looking for, use a targeted formula approach. If you need to find which names from list A appear in list B, use VLOOKUP or INDEX/MATCH to search for each name. If you need to verify that totals match, create a SUM formula for each file and compare the results. This targeted approach is more work than a general comparison tool, but it actually answers your question instead of showing you a list of structural differences that do not matter.

Frequently Asked Questions

Can I compare two spreadsheets without opening them both at the same time?

Yes. In Excel, the Compare Files tool lets you select the second file from a dialog box — you do not need to have it open first. In Google Sheets, you will need to have both open in separate tabs or windows. If you want to compare without opening either file, you can download both to your computer and use a dedicated file comparison tool, though most people find the built-in spreadsheet methods faster for this task.

What if the two spreadsheets have the same data but in different row order?

A visual comparison or Excel's built-in tool will flag every row as different because they are in different positions. Use a formula approach instead — specifically, use VLOOKUP or COUNTIF to check whether each row from one spreadsheet exists anywhere in the other, regardless of position. This method ignores row order and only cares whether the data itself matches.

How do I compare just one column instead of the whole spreadsheet?

Select only the column you want to compare before running the comparison tool. In Excel, highlight the column range, then use Compare Files — it will only compare the cells you selected. In Google Sheets, select the column and apply conditional formatting with a formula that compares just that column to the other sheet. This is faster than comparing the entire file when you only care about one piece of data.

Can I save the comparison results so I can review them later?

Excel's comparison tool creates a new sheet showing all the differences, which you can save as part of the file. Google Sheets with conditional formatting will stay highlighted as long as the formatting rule is in place — save the file and the highlighting will be there when you open it again. If you want a simple list of differences, copy the highlighted cells to a new sheet and save that separately.

What if one spreadsheet has more rows than the other?

Excel's comparison tool will flag the extra rows as new data. If you want to ignore rows that only exist in one file and only compare the rows that exist in both, use a formula approach with VLOOKUP or COUNTIF to check whether each row appears in both files. This lets you focus on actual data mismatches instead of structural differences.