PDF download Download Article
Show data side-by-side in Google Sheets
PDF download Download Article

If you have two entire sheets (or tabs) in a Google Sheets document that you want to compare, there's a fairly simple formula you can use. This wikiHow will tell you how to find differences between two sheets in Google Sheet.

Comparing Data in Google Sheets

To compare two sheets in Google Sheets, open the two sheets in the same file. Create a third sheet to use as a comparison tab. Use the formula for every relevant cell: =IF(Sheet1!A1<> Sheet2!A1, Sheet1!A1&" | "&Sheet2!A1, "").

  1. This method will help you compare two tabs within the same Google Sheets file, so you'll need both tabs set up and ready.
    • In other words, if you have two theoretically identical spreadsheets you want to compare to find any differences, put one in each tab. By default, these tabs will be named "Sheet1" and "Sheet2," but you can customize the names if you'd like.
  2. Click the "+" sign at the lower left corner to add this sheet.
    Advertisement
  3. Enter the formula =IF(Sheet1!A1<> Sheet2!A1, Sheet1!A1&" | "&Sheet2!A1, "")
    • If you've changed your sheets so they're not called Sheet1 and Sheet2, adjust the names as needed. For example, if your first sheet is called "Original Data" and the second is called "New Data," your formula would be =IF('Original Data'!A1<> 'New Data'!A1, 'Original Data'!A1&" | "&'New Data'!A1, "")[1]
  4. Use Ctrl+C to copy the formula, highlight all of the cells of the comparison sheet (to match the number of rows and columns used by your original two sheets), and paste using Ctrl+V.
  5. The comparison spreadsheet will show you where any mismatches exist between the two sheets. Where the values are different, the comparison sheet will show both versions, separated by the pipe symbol ("|").
    • If you don't see any text in the comparison sheet at all, it means the two sheets are identical. Only differences will show up.
  6. Advertisement

Expert Q&A

Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
Advertisement

Tips

  • You might see some differences highlighted if the whitespace doesn’t match in any of the fields of the original spreadsheets. To eliminate this false positive, make sure you don't have any extra spaces before or after your data in either sheet you're comparing.
  • You might see some differences highlighted if the text formatting differs between the sheets (for example, if one sheet has the data designated as "Plain Text" and the other as "Number"). Set all fields to the same format type to ensure an accurate comparison.


Submit a Tip
All tip submissions are carefully reviewed before being published
Name
Please provide your name and last initial
Thanks for submitting a tip for review!
Advertisement

You Might Also Like

Compare Data in Excel4 Simple Ways to Compare Spreadsheet Data in Microsoft Excel
Compare Two Excel Files4 Simple Ways to Compare Two Different Excel Spreadsheets
Find Matching Values in Two Columns in Excel Find Matching Values in Two Columns in Excel
Match Data in ExcelMatch Data in Excel
Link Sheets in ExcelLink Sheets in Excel
Sort by Multiple Columns in Google SpreadsheetsSort by Multiple Columns in Google Spreadsheets
Create a Filter View on Google SheetsCreate a Filter View on Google Sheets
Use Google Spreadsheets Use Google Sheets: The Ultimate Guide for Getting Started
Find Duplicates in ExcelFind Duplicates in Excel
Search Within a Google Docs SpreadsheetSearch Within a Google Docs Spreadsheet
Excel How to Remove Blank RowsStep-by-Step Guide to Removing Blank Rows in Excel (or Google Sheets)
Combine Two Columns in Excel Combine Columns in Excel Without Losing Data
Highlight a Whole Column in Google Sheets3 Simple Ways to Highlight a Column in Google Sheets
Sort by Number on Google Sheets on PC or MacThe 3 Easiest Ways to Sort by Number in Google Sheets
Advertisement

About This Article

wikiHow is a “wiki,” similar to Wikipedia, which means that many of our articles are co-written by multiple authors. To create this article, volunteer authors worked to edit and improve it over time. This article has been viewed 98,433 times.
How helpful is this?
Co-authors: 7
Updated: February 7, 2025
Views: 98,433
Categories: Google Applications
Thanks to all authors for creating a page that has been read 98,433 times.

Is this article up to date?

Advertisement