Check for Duplicates in Google Sheets
en
Run read-only duplicate check

Duplicate detection, grouping, and report export

Finding Rows With Duplicates In Google Sheets

Use a read-only duplicate check for finding rows with duplicates in google sheets when you need to inspect repeated values without changing the source sheet. Paste the relevant data, select the key scope, review grouped counts and row indexes, and export the evidence.

Inspect duplicate groups in the selected sheet dataKeep source values unchanged during the checkExport row-level evidence for the next step
Run duplicate check now
Review grouped matches for finding rows with duplicates in google sheets before exporting duplicate evidence.

Report reading guide

Read duplicate results in three passes

  1. Scope: confirm selected key columns.
  2. Groups: review repeated values and counts.
  3. Rows: compare source row numbers before acting.
Key customer@example.comCount 3 matchesRows 12, 27, 41

Use a read-only duplicate check when you need to identify repeated rows in Google Sheets without changing the source sheet. Paste the relevant range, choose the key columns, review grouped counts and row indexes, and export the evidence before any cleanup. This keeps the original data intact while giving you a full audit trail.

Use the read-only duplicate checker to scan your pasted TSV or CSV data for repeated values and export the evidence without altering the source sheet.

Why a read-only check is the right starting point

Duplicate detection is an inspection task first and a cleanup task second. Deleting rows blindly can remove legitimate entries that share a value, such as two customers with the same email or orders placed on the same date. A read-only check surfaces duplicate values and their exact row numbers so you can decide which records are truly redundant.

The process has three steps: normalize the selected values, group and count matches, then export evidence.

H3: Normalize the selected values

Standardize the key columns before counting. Uneven spacing, mixed capitalization, and hidden characters make identical values look different.

Run a helper column with TRIM to remove leading and trailing spaces.

=TRIM(A2)

Wrap the result in LOWER when the comparison should be case-insensitive.

=LOWER(TRIM(A2))

Apply the formula down the entire key column, then copy and paste values over the original range if the results look clean. This step prevents a single stray space from hiding a duplicate.

H3: Group and count matches

After normalization, group records by the key columns and count how many times each combination appears.

Use COUNTIF across the key column to get a count per row. google sheets find duplicates in rows

=COUNTIF($A$2:$A$1000, A2)

A count of 1 means a unique row. A count of 2 or more means a duplicate group. To rank each occurrence within its group, combine COUNTIF with COUNTIFS and a row-number criterion.

=COUNTIFS($A$2:$A$2,$A2,$B$2:$B$2,$B2)

Conditional formatting makes the groups visible at a glance. Apply a formula rule that references the COUNTIF result and highlight cells where the count is greater than 1. The sheet then shows duplicate rows in the same color, which is faster to scan than a long report.

H2: Inspect the report

The read-only check returns scoped records with status labels, so you can separate actual duplicates from acceptable repeats.

Review these fields in the report:

  • grouped counts for each key combination;
  • row indexes so you can locate each record in the sheet;
  • the key values themselves, including trimmed results;
  • status labels such as first occurrence, repeat, or unique.

Pay attention to records that share a key for a legitimate reason. Two employees with the same department, for example, are not duplicates. Two employee records with the same email and phone number are. Distinguish shared values from identical rows before taking action. how to find fuzzy duplicates values in google sheets

To confirm the tool's result manually, sort the range by the key column and re-examine neighboring rows. Use Data > Sort range. Sorted data makes repeated groups adjacent, which makes the final count easier to verify.

H2: Export evidence

Export a controlled report that lists the duplicate groups, their row numbers, and the key values. Keep the export as read-only evidence for the next step rather than a destructive cleanup.

Save the report to a new sheet or export it as CSV. This separates the investigation from the source data. When you are ready to remove records, work from the exported list so you do not delete the wrong rows while scrolling through the sheet.

The embedded duplicate-check script supports the check operation and downloads the result when download is enabled. You paste TSV or CSV data, choose the columns, run Check duplicates, and review grouped counts, status labels, and exportable evidence. This does not alter the source sheet; it returns a read-only report. Mention this only as an option alongside the manual formulas above, not as a replacement for verifying the logic yourself. find duplicates between 2 columns in google sheets

Limitations

Exact comparison treats different string forms as different values. A leading space, an invisible non-breaking space, a trailing line break, or a number stored as text prevents a match. Case-only differences are caught only when you normalize with LOWER.

Conditional formatting highlights matches but does not tell you which row is the original. Row indexes come from your paste range, so they reflect the pasted data, not the original file order. If the source sheet moves rows, the pasted indexes become stale.

Common mistakes

Comparing the wrong columns. Using a non-key column such as a notes field guarantees false positives.

Skipping normalization and relying on a raw COUNTIF. google sheets check for duplicates 3 cells

Deleting all rows in a duplicate group instead of keeping the best record. Keep the earliest entry and merge details from the others.

Confusing a repeated key value with an identical row. Duplicate values become duplicate rows only when all relevant key columns match.

Copying formatted cells when pasting data into the check tool. Formatting is not validated; only the values are compared.

A read-only report tells you where duplicates are, how many groups exist, and which rows belong to each group. Use that evidence to plan a controlled removal rather than a blind delete.

FAQ

Does this page delete finding rows with duplicates in google sheets?

No, it returns a read-only duplicate report.

Run read-only duplicate check to inspect duplicate detection, grouping, and report export and export a controlled report without destructive cleanup.

Run read-only duplicate check to inspect duplicate detection, grouping, and report export and export a controlled report without destructive cleanup.

Run read-only duplicate check

Run read-only duplicate check