Compare data from two columns or sheets

The Compare Columns or Sheets tool from the Remove Duplicates add-on for Google Sheets scans two columns or sheets of your choice (within one spreadsheet only) for duplicated or unique data. The results can be colored, deleted, copied, or moved to another location.
Compare sheets or columns in Google Sheets.

Video: How to compare Google Sheets for duplicates

Before you start

Only complete matches are treated as duplicates. Partial matches are not considered duplicates. And keep an eye out for excess spaces: they may interfere with results as well. Our Remove tool will help you get rid of them.

We care about your data and suggest you always create backup copies of your spreadsheets. A special option of the add-on will do that for you if you select it.

Please bear in mind that Google Sheets limits the total number of possible cells in your file up to 5 million cells.

Tip. This tool will help you compare two sheets or tables for duplicates or uniques within one spreadsheet.

If your task is to find identical or unique rows in a table, take advantage of the Find duplicate or unique rows add-on or its one-step version Quick Dedupe instead.

To look for dupes or uniques in all single cells all over an entire spreadsheet, Find duplicate or unique cells is what you should use.

To merge or consolidate unique records that refer to multiple duplicate values on different rows, turn to Combine Duplicate Rows.

How to use Compare Columns or Sheets

Start the tool

Find Remove Duplicates in the Add-ons menu and click on the Compare columns or sheets tool to open it:
Run Compare sheets tool from the Google Sheets menu.

Tip. If you're a happy owner of the Power Tools add-on, you will find the utility in the Dedupe & Compare group:
Compare two sheets in Power Tools.

Step 1: Select your main table

Choose the sheet and the range with your main table:
Select the sheet with your main table.
You can choose any of the open sheets in the Select the main sheet drop-down list.

Note. The action you choose for the results will be applied to this sheet.

The add-on highlights the entire used range in the sheet of your choice automatically and shows it in the Select your column or table field. You can alter it by changing the selection manually, entering the range address in this field, or by clicking the Select range icon. You will then see a corresponding dialog box that will let you pick the necessary cells:
Adjust the range.

Note. If you want to delete duplicates, not just color them, it's best to select the whole table so that the add-on removes entire rows avoiding data corruption.
Tip. Use the Auto select button to automatically pick the range with all the data you have.

You can choose to back up the original table by ticking off the Create a backup copy of the sheet checkbox.

Click Next to proceed to the second step.

Step 2: Choose the table for comparison

Choose the sheet with the table you want to compare to your main one:
Select the second table for comparison.
You can choose any of the open sheets in the Select the second sheet drop-down list.

The Select your second column or table field shows the currently highlighted range. Define another one in this field by entering it on your keyboard, picking it directly in the sheet, or by using the Select range icon. The latter will open a dialog box so you could pick the necessary cells:
Adjust the range for the lookup table.

Tip. Use the Auto select button to indentify the range with all your data automatically.

In case you want to change the main table/column, click the Back button.

Otherwise, choose Next to proceed to the next step.

Step 3: Decide what to find

The add-on allows you to find singular or repeating values in the tables:
Choose Duplicate values to find all the repetitions.

  • Pick Duplicate values to look for the records you have in both tables/columns.
    Note. Only complete matches are treated as duplicates. Partial matches are not considered duplicates.

    Compare for duplicates.

    Note. The found records will be identified in the main sheet.
  • Choose Unique values to find those entries that are in your main table only:
    Compare for uniques.

Click Next to go on to the next step.

Step 4: Pick the columns to compare

On this step, you will see a list of columns in your main table. Select the checkboxes next to the key columns you want to compare in your sheets and pick the corresponding column in your second table.

Tip. If you select more than one column, a row will be considered duplicate if the values in all these columns are the same.
Key columns.

Choose columns you want to compare.

  1. If your tables have header rows, make sure to tick off the checkboxes Table 1 has headers and Table 2 has headers respectively to see the column titles. If you don't have headers, unselect these boxes to display column names.
  2. You can use the 1st row content fields to see what kind of data you have in your main table columns.
  3. If you want to look for complete row duplicates, select all columns by using this checkbox in the header row.
  4. Automatically select all columns that have the same headers in both tables by using the Auto detect button.
  5. Check the Skip empty cells box to ignore duplicated blanks in the selected columns. Otherwise, blank matches will be considered duplicates.
  6. Use the Match case option to consider those records that differ only in case as uniques.
  7. Make sure to indicate the corresponding Table 2 columns by clicking the down arrow for each of them and picking the necessary column from the drop-down list.

Once everything is set, press Next to proceed to the last step.

Step 5: What to do with the results

There are six ways to deal with the found values:
Fill found dupes with color.

Note. The action you select on this step will be applied to your main sheet.
  • Color the rows with the found values by picking the Fill with color option. Click on the down arrow next to this option to choose a hue you'd like to use.
  • Add a status column to your main sheet:
    Add a status column.

    Tip. You'll be able to sort out duplicates easily after that.
  • Decide to Copy to another location and have the results in a new sheet, new spreadsheet, or another existing sheet in the current file.
    Tip. The Existing sheet option lets you pick the necessary sheet from the list and specify a destination cell or a range:
    Choose one of the existing sheets and its cell or range.
    If you click the Select range icon, you'll be able to pick the top-left cell for the result directly from the sheet:
    Decide where to see the result.
  • The same goes for the Move to another location option. The values will be cut and pasted to a place of your choice.
  • Pick Clear values to remove the found records in the selected columns and leave all other data intact.
  • You can also remove all rows with the found dupes using the Delete rows within selection option.

Сlick Finish to find duplicate or unique values and mark them on the main sheet.

See the result

Once the add-on completes the search, you will see the summary of the results with the number of found values and the action that was applied to your main table:
See the number of found dupes in the result message.

Tip. If you'd like to run the add-on again, click on the Start over button.


Edwin Ramaker says:
November 17, 2020 at 8:55 am

i have 1 sheet employee with foto from google drive
i have 1 sheet up to date called employee new.
how can i sync the employee with the employee new ?
all data is in rows:
a1 name a2 number a3 date of birth etc (both sheets same)
so i want the not active personel out and new added below
can this be done?

greetz from Holland


Hello Edwin,

Thank you for contacting us. If I understand your task correctly, our Merge Sheets may help you solve it. It allows you to update the data in the main table with the data from the lookup table based on the key column(s). You can install it from Google Workspace Marketplace and test it out for 30 days for free to see if it suits your needs.

However, it'll replace the non-active users with the new ones only if they have some matching criteria (for example, if their IDs are identical). Otherwise, you'll need to manually remove the old employees. Please also check the detailed instructions on how to use Merge Sheets on this help page:

Hope you'll find our add-on helpful. Let us know if you have any further questions or need some assistance.


how can I use your addon to compare sheets within 2 different google sheet files?

Ekaterina Pechyonkina says:
January 20, 2020 at 9:14 am

Hello George,

Thank you for your question. Sorry, the add-on works within one spreadsheet only.


Hello George,

Since the tool lets you compare data within one file, you may consider bringing everything together before comparing. We have a special add-on for that as well – Combine Sheets. Here's a tutorial page in case you're interested.



This add-on doesn't seem to work consistently.

Example: I'm trying to compare two worksheets. When comparing by 'entire worksheets' it reports no duplicates found (I've ensured the correct columns are matching). However, when I choose one column at a time and compare the worksheets it will find duplicates...

This is frustrating as there are numerous columns I'm trying to compare. The only workaround I have is querying one column at a time, which defeats the purpose of this tool.

Is there a solution for this?

Katerina Bespalaya says:
December 12, 2019 at 1:08 pm

Hello Jake,

I've just replied to you by email. Please provide us with the information requested in the email message. Thank you.

Yulia Aslamova says:
October 30, 2019 at 6:15 am

I just purchased your product but it doesn't reflect on my google sheets.

Kindly help asap.



Hello Julia,
Thank you for contacting us.

For the add-on to appear in your Google Sheets, you need to install it first. Since you have a key, please also activate the tools.


Buenos días, quisiera que el proceso de ver los datos únicos, se automatizará, en vez de realizarlo de forma manual, como puedo programarlo????


Hello Guatavo,

I'm afraid that it's impossible to run our add-on automatically, but recently we've introduced scenarios for our Remove Duplicates that can help you automate repetitive tasks and check for duplicates in a click. Just save the settings you use most often and give this set a name – this is your scenario. Once you run it, your sheet will be processed right away, and you won't need to go over the same steps again. You can view, edit, and delete scenarios quickly anytime.

Feel free to check the detailed instructions on how to work with scenarios on this help page.

If you encounter any difficulties or need our assistance, please let us know. We'll do our best to help.


Ask a question (posted publicly)

If you have any questions or issues with this add-in, please feel free to post your concerns in the comments area. As soon as we answer, a notification message will be sent to your e-mail. If you do not want to share your thoughts in public, please contact us at