How to remove duplicates in Google Sheets safely
Delete repeated records while keeping a copy and checking which columns define a match.

Copy the source tab, select the full table, choose Data → Data cleanup → Remove duplicates, then pick the columns that define a repeated record.
Before you remove repeated rows without losing records, set up a clean source range and one result you can check by hand. That gives you a known answer before the sheet grows.
This article shows how to remove repeated rows without losing records. The sample sheet uses ordinary rows so you can copy the method into an existing file without rebuilding everything.

How to remove duplicates in Google Sheets safely
- 01Make a safe copy
Duplicate the source tab or file before changing formulas, ranges or formatting.
- 02Set up the source rows
Add the fields needed to remove repeated rows without losing records. Keep one record on each row and one field in each column.
- 03Add the method
Apply the menu command or table layout to a small group of sample rows first.
- 04Check a known case
Pick one row whose answer you already know and compare it with the sheet result.
- 05Test the awkward rows
Check blanks, zeros, repeated entries and one row that should not match.
- 06Apply it to the full range
Copy the formula or rule only after the sample cases return the expected result.
Set up the sheet for Remove duplicates in Google Sheets
Keep the source table rectangular. A single header row, no merged cells and consistent cell types make the work much easier to check.
Place settings, fixed rates or allowed labels on a separate tab. Name them clearly so another person can read the file without tracing every cell.
- Copy the source first
- Choose match columns deliberately
- Compare row counts
- Review near-matches separately
Check the first result before copying it
A result that looks plausible can still be wrong. Work through one row manually, compare it with the Sheet and check every referenced cell.
Next, test a blank row and an unusual row. These two checks catch many range, type and copied-reference mistakes before they spread.
Keep the file reliable as new rows arrive
Leave input columns visually separate from calculated columns. Protect formulas when several people edit the same file, and keep dropdown lists or settings outside the main table.
Add a short check near the result: row count, unmatched count, last refresh time or a manual spot check. The right check depends on the job, but it should make a bad update easy to notice.
Questions people ask
Does Remove duplicates keep the first row?+
Yes. It keeps the first matching row and removes later matches.
Can I find duplicates without deleting them?+
Yes. Use COUNTIF in a helper column or conditional formatting.
Why were two different rows removed?+
The selected match columns made them appear identical. Restore the copy and include the missing identity column.



