Quick answer: Google Sheets Remove duplicates compares the columns you select. If two rows share an email but differ in timestamp, they are not necessarily duplicates when both columns are included in the comparison. Choose the matching rule before deleting any rows.
Before changing a shared spreadsheet: Work on a copy or review version history when a fix could overwrite data. Menu labels may change as Google Sheets updates.
Back up the original table
Duplicate removal changes the dataset. Work on a copy or ensure a restorable version exists, especially for contact lists, orders, or financial records. Do not assume the first retained row is the newest or most accurate one.
Choose the identity columns deliberately
Use Data → Data cleanup → Remove duplicates on the intended data range. Select only the columns that define a duplicate. For example, if an email address is the unique key, comparing Email plus Last Updated will treat rows with different dates differently. Confirm whether the selected range has a header.
Know what Google considers duplicates
Google’s help says values that are otherwise identical can count as duplicates even when their letter case, formatting, or formulas differ. This behavior matters when you expect a visual difference to protect a row.
Investigate extra spaces and special characters
Text can look identical but contain distinct characters. Google’s Trim whitespace tool removes certain extra spaces, while non-breaking spaces may remain. For suspected hidden characters, inspect a small sample and normalize only with a documented rule.
Separate duplicate detection from deletion
For a single key column in A2:A100, place this illustrative check in an empty helper column and fill down:
=COUNTIF($A$2:$A$100,A2)
A count above 1 flags repeated keys within that range. COUNTIF is case-insensitive and this example does not compare multiple columns; match the diagnostic to your intended identity rule. This simple example assumes keys are not wildcard or comparison patterns: COUNTIF interprets asterisks and question marks as patterns rather than literal text. Inspect blank keys separately. Before deleting, review the flagged records. This lets you decide whether to retain the earliest, latest, or most complete record instead of allowing an automatic operation to decide.
Related AppFixLab guides
Official references
Editorial transparency: This guide synthesizes published Google documentation and illustrative diagnostics. AppFixLab has not independently reproduced every scenario in a live Google Sheet.