DataTools AI DataTools AI

How to remove duplicates in Google Sheets

Duplicate rows creep in when you merge exports, import CSVs or let several people edit a list. Here are three free ways to remove them, from fastest to most flexible.

1. Data cleanup → Remove duplicates (built in)

  1. Select the range (or click a cell inside your table).
  2. Open Data → Data cleanup → Remove duplicates.
  3. Tick "Data has header row" if needed and choose which columns to compare.
  4. Click Remove duplicates. Sheets tells you how many rows it removed.

Tip: make a copy of the tab first; this edits your data in place.

2. The UNIQUE function (keeps the original)

In an empty tab type =UNIQUE(Sheet1!A2:D). You get a live, de-duplicated copy and the source stays untouched.

3. Highlight duplicates with COUNTIF

Select column A, go to Format → Conditional formatting, pick "Custom formula is" and enter =COUNTIF($A:$A,$A1)>1. Every repeated value turns colored so you can review before deleting.

Why some duplicates survive

All three methods compare values exactly. "Ana López", "ana lopez " and "ANA LOPEZ" count as three different people. Clean first, then dedupe:

Doing this every week? CleanSheet does all of these steps in one click: removes duplicates (even "Juan Perez" vs "juan pérez"), formats phones to E.164, lowercases emails and standardizes dates. Free up to 500 rows. See CleanSheet · Get the $9 template