How to Find and Remove Duplicates in Google Sheets: Highlight, Count, Delete and Keep the Original (2026)

Duplicate rows creep into every list that more than one person touches: a contact export pasted twice, a sign-up form that people submit again, a CRM download merged with last month's. They inflate counts, send the same person two emails and make totals wrong. This guide shows the ways to deal with them in Google Sheets without add-ons, in order from the quickest to the safest, and when each one lets you down.

Before you delete anything, make a copy. Right-click the tab and choose Duplicate, or use File › Make a copy. Removing rows is easy to do and awkward to reverse once other edits pile up, although File › Version history can bring an earlier version back.

Method 1: the built-in Remove duplicates tool

  1. Select the range, including the header row if there is one.
  2. Choose Data › Data cleanup › Remove duplicates.
  3. Tick Data has header row if your selection includes headings.
  4. Choose which columns decide what counts as a duplicate. Leave every column ticked to remove only rows that are identical across the whole row. Tick only Email to treat two rows with the same email as duplicates even when the names differ.
  5. Click Remove duplicates. Sheets tells you how many rows it removed and how many remain.

It keeps the first row of each group and deletes the later ones, so sort first if you care which one survives (for example, sort by Last updated, newest first, before removing). Two limits: it removes rows straight away with no preview, and a duplicate that differs by an invisible character, such as a trailing space, is not seen as a duplicate. Different letter case is treated as the same value (so Anna and ANNA are one group). The third guide in this series covers how to fix that.

Method 2: flag duplicates with a helper column, then decide

If you would rather look before deleting, add a column that marks repeats. With the values in column A starting at row 2, put this in B2 and fill down:

=IF(A2="", "", IF(COUNTIF($A$2:A2, A2) > 1, "Duplicate", ""))

The range starts at a locked $A$2 and ends at the current row, so the first time a value appears it is blank and every later appearance says Duplicate. The A2="" guard stops later blank cells being flagged as duplicates of each other. Filter column B on Duplicate (Data › Create a filter), look through the rows, then delete the visible ones. To count how many times each value appears in the whole column instead, use =COUNTIF($A$2:$A, A2).

When a duplicate means the same combination of several columns, such as first name, last name and email, use COUNTIFS:

=IF(AND(A2="", B2="", C2=""), "", IF(COUNTIFS($A$2:A2, A2, $B$2:B2, B2, $C$2:C2, C2) > 1, "Duplicate", ""))

COUNTIF ignores letter case, so Anna@Example.com and anna@example.com count as the same, and it treats a value containing wildcard characters (* or ?) as a pattern, so be careful with codes that contain them.

Method 3: highlight duplicates with conditional formatting

  1. Select the column, for example A2:A.
  2. Choose Format › Conditional formatting.
  3. Under Format rules choose Custom formula is and enter =AND($A2<>"", COUNTIF($A$2:$A, $A2)>1).
  4. Pick a fill color and click Done.

This shades every copy, including the first. To shade only the later ones, use =AND($A2<>"", COUNTIF($A$2:$A2, $A2)>1). For a match across several columns, apply the rule to the whole table (A2:D) and use =AND($A2<>"", COUNTIFS($A$2:$A, $A2, $B$2:$B, $B2)>1).

Method 4: UNIQUE for a clean copy, original untouched

In an empty area, or on another tab, enter:

=UNIQUE(A2:D)

UNIQUE returns each distinct row once, in the order it first appears, and leaves the source alone. It compares whole rows across the range you give it. To dedupe on one column while keeping the other columns, use Method 1 with only that column ticked, or the helper-column flag from Method 2. A UNIQUE result is formulas, not typed values, so copy it and use Edit › Paste special › Values only when you want a static list. Unlike the built-in Remove duplicates tool, UNIQUE is case-sensitive, so Anna and ANNA both appear in the result. And to list the values that appear exactly once, add a third argument: =UNIQUE(A2:A, FALSE, TRUE). To merge two lists or several tabs into one list without duplicates, see combine lists without duplicates. To merge duplicate rows into one row per key, adding up amounts and joining notes instead of deleting them, see merge duplicate rows. For a side-by-side comparison of UNIQUE and Remove duplicates (live vs static, letter case, spaces, columns and headers), see UNIQUE vs Remove duplicates.

Which row do you keep?

All the built-in methods keep the first row they meet. If the row you want is the newest or the most complete, sort so that row comes first (Data › Sort range) before you remove. If different copies each hold a piece of the information, say one has the phone number and another the email, deleting the extras loses data, and a merge is the right tool.

A formulas-only caution

Want to preview and highlight before you remove? SheetDupes (disclosure: we make it) is a Google Sheets add-on for exactly this job. Pick the columns that define a duplicate, preview the matching groups, highlight the extra rows without changing any values, and only then remove them or merge them (fill the blanks of the row you keep and join distinct notes). It copies a backup tab before it removes or merges anything, ignores extra spaces and, optionally, letter case and punctuation, and will not rewrite a sheet that contains formulas. Preview and Highlight are free on any size sheet; there is a 14-day free trial with no credit card, and writes remain free after the trial on sheets with up to 2,000 data rows during launch (through Jan 31, 2027; 500 after that). It only reads and writes the spreadsheet you have open, and your data is not sent to Loomwise. It is live on the Google Workspace Marketplace.
Install free from Google Workspace MarketplaceSee SheetDupes
Want to test it first? Try it on sample data (makes a copy of a 12-row example sheet in your Drive).
Watch the 30-second demo

Related guides

Instructions refer to Google Sheets as it worked on November 16, 2026; menu names can change. Google Sheets and Gmail are trademarks of Google LLC and this site is not affiliated with Google. Questions or corrections: hello@loomwise.app.