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
- Select the range, including the header row if there is one.
- Choose Data › Data cleanup › Remove duplicates.
- Tick Data has header row if your selection includes headings.
- 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.
- 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
- Select the column, for example
A2:A. - Choose Format › Conditional formatting.
- Under Format rules choose Custom formula is and enter
=AND($A2<>"", COUNTIF($A$2:$A, $A2)>1). - 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
- Remove duplicates deletes cells and rows beneath it shift up. Anything that refers to specific rows, including formulas, filters and charts, deserves a second look afterwards.
- Numbers stored as text (an ID like
00123that came in as text) do not match the same number stored as a number. Make the column consistent first. - Large ranges with COUNTIF down thousands of rows recalculate slowly, because each cell scans the column above it. If a sheet becomes sluggish, paste the helper column as values once you have used it.
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
- How to Highlight Duplicates in Google Sheets: Conditional Formatting Formulas for One Column, Whole Rows, Repeats Only and Two Sheets (2026)
- How to Compare Two Columns or Two Sheets in Google Sheets to Find Matches and Duplicates (2026)
- Duplicates That Don’t Match Exactly in Google Sheets: Case, Extra Spaces, Gmail Dots, Phone Formats and Typos (2026)
- How to Remove Duplicates in Google Sheets but Keep the Latest, First or Highest Row per Key (2026)
- How to Prevent Duplicate Entries in Google Sheets: Data Validation Rules, Warnings and a Small Script (2026)
- How to Count Duplicates in Google Sheets: per Value, Extra Rows, Unique Counts and Why the Numbers Disagree (2026)
- How to Combine Two Lists or Several Tabs in Google Sheets Without Duplicates: VSTACK, UNIQUE, One Row per Key and Other Files (2026)
- How to Merge Duplicate Rows in Google Sheets: Sum the Numbers, Join the Notes and Fill the Blanks (2026)
- UNIQUE vs Remove Duplicates in Google Sheets: Live or Static, Letter Case, Spaces, Columns and Headers (2026)
- How to Remove Duplicates Within a Cell in Google Sheets: Comma-Separated Lists, Tags, Line Breaks and Letter Case (2026)
- How to Show Only the Duplicates in Google Sheets: Filter Duplicate Rows, List Repeated Values and Find Rows That Appear Once (2026)
- How to Find Duplicates Across Multiple Columns in Google Sheets: Rows That Match on Two or More Columns, and Values Repeated Anywhere in a Range (2026)
- How to Remove Duplicates Automatically in Google Sheets: Apps Script on a Daily Timer, on Form Submit or From a Menu (2026)
- How to Find Duplicates in Google Sheets but Ignore Blank Cells: Highlight, Count, List and Remove Without Empty Rows Getting in the Way (2026)
- How to Find Duplicate Transactions in Google Sheets: Double-Imported Rows, Invoices Paid Twice and Same-Amount Charges Within a Few Days (2026)
- How to Format Phone Numbers in Google Sheets: Strip Dashes and Spaces, Show (555) 010-1234, Handle +1 and Extensions, Then Find Duplicate Contacts (2026)
- How to Change Text Case in Google Sheets: UPPERCASE, lowercase, Proper Case Names, Sentence Case and Duplicates That Differ Only in Case (2026)
- Mailing labels: one per household, clean addresses
- Automatic email reminders from a date column
- How to generate a PDF or Google Doc for each row in Google Sheets
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.