How to remove duplicates in Google Sheets
Google Sheets can remove duplicate rows from the Data menu in a few clicks. It changes your sheet, so make a copy first if the data matters.
Method 1: Data cleanup
- Select your data, including the header row.
- Choose Data, then Data cleanup, then Remove duplicates.
- Tick Data has header row if it does, and tick the columns that must match.
- Click Remove duplicates. Sheets reports how many rows it removed.
Method 2: the UNIQUE function
Type =UNIQUE(A2:C100) in an empty cell. It lists the rows without duplicates and leaves the original untouched.
Method 3: highlight first
To review duplicates before deleting, use Format, Conditional formatting, choose Custom formula and enter =COUNTIF($A$2:$A,A2)>1 to highlight repeated values in column A.
Clean spaces first
Values that differ only by a stray space are not duplicates. Run Data, Data cleanup, Trim whitespace before you remove duplicates.
Prefer a CSV route?
Choose File, Download, Comma-separated values, then drop the file into our CSV duplicate remover. It runs in your browser and shows you what it removed. Menu names can change over time.
Remove duplicates from a CSV