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

Duplicate detection, grouping, and report export

How To Find Duplicate Data In Google Sheets

Use a read-only duplicate check for how to find duplicate data 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 read-only duplicate check
Review grouped matches for how to find duplicate data 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

To find duplicate data in Google Sheets, choose the column or combination of columns that defines a match, then use COUNTIF or COUNTIFS to flag repeated records. Group the matching values and keep their row numbers in a separate report so you can review or export evidence without deleting source data.

This read-only tool checks pasted CSV or TSV data for duplicate rows and returns counts, row indexes, and downloadable evidence without changing any source.

Choose the data and match rule

Decide whether a duplicate means a repeated value in one column or a repeated combination across several columns. Two customers can share a name without sharing an email address; two orders can share a customer but have different order IDs. Your key should reflect the record you want to investigate.

For the examples below, assume row 1 contains headers, rows 2–1000 contain records, column A holds email addresses, and column B holds order IDs. Adjust the ranges to include your full data set. Use bounded ranges consistently so that flags and counts cover the same records.

Normalize the selected values

Inconsistent capitalization and spaces can split values that should match. In an empty helper column, enter this formula in C2 and fill it down:

=IF(A2="","",LOWER(TRIM(A2)))

TRIM removes leading and trailing spaces and reduces repeated ordinary spaces inside text. LOWER standardizes case. The formula leaves an empty source cell blank and does not change column A.

Check whether normalization fits your data before applying it. Extra spaces within an identifier may be meaningful, and TRIM does not remove every kind of hidden character. Numbers stored as text, dates displayed in different formats, and formula results that appear blank can also require separate inspection.

Group and count matches

To flag every occurrence of a repeated normalized email, enter this in D2 and fill down:

=IF(C2="","",IF(COUNTIF($C$2:$C$1000,C2)>1,"Duplicate","Unique"))

COUNTIF counts matching values in the fixed range. A count greater than one marks both the first occurrence and later occurrences as Duplicate; blank helper cells are excluded. For example, if the same normalized email appears in rows 4 and 12, both rows receive the label. find-duplicate-data-in-google-sheets

For a two-column key, use COUNTIFS instead. This example compares the normalized email in C and the order ID in B:

=IF(OR(C2="",B2=""),"",IF(COUNTIFS($C$2:$C$1000,C2,$B$2:$B$1000,B2)>1,"Duplicate","Unique"))

Both fields must match for a row to be flagged. This version skips records with a blank key field; change that policy only if blank values should participate in your duplicate definition. Normalize order IDs separately if their formatting needs consistent treatment.

Inspect the report for duplicate data in Google Sheets

Filter the status column to show Duplicate, then inspect the original values beside each flag. Check whether each group represents an actual duplicate, a legitimate repeated transaction, or inconsistent source data. A shared email alone does not establish which row is correct. how-to-find-duplicates-in-a-row-in-google-sheets

For a compact group-count report, place this formula in an empty area or a separate sheet:

=QUERY(C2:C1000,"select C, count(C) where C is not null group by C having count(C) > 1 label C 'Email', count(C) 'Count'",0)

QUERY returns each repeated normalized email once with its group count. A count of three means three matching records, not three extra records: if one record is retained, two are additional occurrences. Review the underlying rows before deciding whether any record needs correction.

To preserve row-level evidence, add a source-row helper in E2 and fill down:

=ROW()

Then create a report in a clear area with this formula: finding-rows-with-duplicates-in-google-sheets

=FILTER({E2:E1000,A2:D1000},D2:D1000="Duplicate")

The result includes the source row number, original email, order ID, normalized key, and status for each flagged record. Add column headers above the formula manually. If no rows match, FILTER returns a no-match error; that is not evidence that the selected range covers every record in the spreadsheet.

Row numbers describe positions at the time of review. Sorting, inserting, or deleting source rows can change those positions, so include a stable record ID in the report when one exists. If you sort a range, select all related columns together to keep each record aligned.

The embedded duplicate checker can also check pasted CSV or TSV data using selected columns and produce downloadable evidence. Its check is read-only, so source values are not changed by the check. google-sheets-check-for-duplicates-3-cells

Compare data across sheets

To find values repeated across two tabs, build one combined list and retain a source label for each row. For example, copy the relevant email column from each tab into a review sheet, add the tab name beside each value, and apply the normalization and counting formulas to the combined list. Include original row numbers or stable IDs so matches can be traced back.

A repeated value within one tab also raises the combined count. Inspect the source labels before calling a group a cross-sheet match. Ensure both tabs use the same key definition and normalization; comparing an email on one tab with an unrelated identifier on another gives misleading results.

Export evidence

  1. Review the flagged rows and group counts against the original records. Confirm the selected columns, blank policy, and range boundaries.
  2. Keep a report with the key, count, source sheet, source row or stable ID, and relevant original values. Record the match rule alongside it so another reviewer can reproduce the check.
  3. If the report uses formulas, copy its results and use Edit > Paste special > Values only in a separate report sheet to create a fixed snapshot.
  4. Download the report in a suitable format using File > Download. Check the downloaded file before sharing it, particularly when it contains personal data.

A CSV export represents one sheet, so place the evidence to be exported on the report sheet. Formula-driven reports can change when source data changes; a values-only snapshot preserves the results captured at review time.

Common mistakes and limits

  • Counting the wrong scope: A formula ending at row 1000 misses later records. Extend every related range when the data set grows.
  • Treating all repeats as errors: Repeated names or customers can be valid. Use a business-appropriate key and inspect the records.
  • Ignoring inconsistent keys: Spaces, text-versus-number differences, and hidden characters can obscure matches. Test normalization on representative values.
  • Losing context: A list of duplicate values alone does not identify every affected row. Keep source labels and row identifiers with the evidence.
  • Overwriting source data: Put formulas and reports in empty columns or a separate sheet. Detection and export do not require deleting rows.

FAQ

Does this page delete how to find duplicate data 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