Duplicate detection, grouping, and report export
Duplicate Google Sheets
Use a read-only duplicate check for duplicate 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.
Report reading guide
Read duplicate results in three passes
- Scope: confirm selected key columns.
- Groups: review repeated values and counts.
- Rows: compare source row numbers before acting.
To check for duplicate values in Google Sheets without changing source data, choose the columns that define a match, normalize those values in helper columns, and group them by count. Review the matching rows before exporting a report; repeated values do not always represent records that should be removed.
This read-only duplicate checker analyzes pasted TSV or CSV data and returns grouped counts plus row indexes, never editing your source.Choose the scope of the duplicate check
A duplicate depends on the key you choose. An email address can identify repeated contacts, while an order ID and product code together can identify repeated order lines. Two rows with the same customer name may still be legitimate separate transactions.
- Identify the sheet, header row, and data range to inspect.
- Choose one column or a combination of columns as the key.
- Decide whether capitalization, extra spaces, and blank values should affect matching.
- Keep the original columns unchanged and put formulas in empty helper columns or a separate report sheet.
If you need to compare sheets, use the same key and normalization rules on each sheet. A duplicate check across combined records answers a different question from a check within each sheet: a value appearing once on each sheet is repeated across the combined data set, but not within either sheet alone.
Normalize the selected values
For a text key in column A, enter this formula in an empty helper column at row 2 and fill it down:
=IF(A2="","",LOWER(TRIM(A2)))
TRIM removes leading and trailing spaces and reduces repeated ordinary spaces; LOWER makes capitalization consistent. For example, Acme and ACME both become acme. The original values stay intact. Check unusual whitespace and nonprinting characters separately, because this formula does not standardize every possible character.
Normalization is a choice, not proof that two entries are equivalent. Do not apply it blindly to case-sensitive identifiers, and do not convert numbers or dates to text without checking how their representations affect matches. The blank test above excludes empty keys from the later examples.
Group and count matches
Assume normalized keys are in B2:B1000. Place this formula in an empty report area:
=QUERY(B2:B1000,"select B, count(B) where B is not null group by B having count(B) > 1 label B 'Key', count(B) 'Count'",0)
QUERY returns one row per repeated key and its group count. If acme occurs three times, its report count is 3; the result does not identify which of those records is correct. Adjust the range to cover the data set, and leave enough empty cells for the result to expand.
For a row-level check, enter this in C2 and fill down:
=IF(B2="","",IF(COUNTIF($B$2:$B$1000,B2)>1,"Duplicate","Unique"))
COUNTIF counts occurrences of the current key in the fixed range. The relative reference B2 changes as the formula is copied, while the dollar signs keep the search range fixed. Every member of a repeated group is labeled Duplicate, including its first occurrence.
For a two-column key, use COUNTIFS rather than combining fields into a single string. With normalized values in B and C, enter the following in D2 and fill down:
=IF(OR(B2="",C2=""),"",IF(COUNTIFS($B$2:$B$1000,B2,$C$2:$C$1000,C2)>1,"Duplicate","Unique"))
This example checks the pair only when both fields are present. Change that blank policy if an empty field is meaningful in your data; otherwise, incomplete records will not be flagged. Avoid concatenating fields without a reliable separator, since different pairs can produce the same combined text.
Inspect the report for duplicate Google Sheets values
Filter the status column to Duplicate and inspect the original fields beside each formula result. Compare dates, identifiers, and other context before deciding whether a duplicate entry in Google Sheets is an error. Filter views can help you inspect a subset without removing records.
Add a row-index helper if the report must point back to the source. In an empty column at row 2, enter and fill down:
=ROW()
Record the sheet name as well as the row number when reporting matches from multiple tabs. Row numbers describe positions at the time of the check; sorting, inserting, or deleting rows can change them. Preserve a stable record ID when available, and recheck the source before acting on an older report.
The embedded duplicate checker can inspect pasted TSV or CSV data using selected columns and return grouped counts and row indexes. Its check is read-only; it does not decide which records to keep or delete.
Compare sheets without losing context
To find keys on Sheet1 that also occur on Sheet2, normalize each sheet's key into column B. In an empty column on Sheet1, enter this formula in row 2 and fill down:
=IF(B2="","",IF(COUNTIF(Sheet2!$B$2:$B$1000,B2)>0,"Match on Sheet2","Not found"))
A match means the normalized key exists on the other sheet, not that every field in the two rows is identical. This formula also does not count repeats within Sheet1; use the group-count check separately. Replace Sheet2 with the actual tab name, enclosing names containing spaces in single quotes.
Separate values from drawings and sheet copies
A duplicate drawing in Google Sheets is not a duplicate cell value. The formulas above inspect cell ranges, so visually compare drawings manually if the task concerns drawing objects. Likewise, repeated rows within tabs do not establish that two entire sheet tabs are identical; compare the relevant ranges and other content separately.
Export evidence
Build an evidence sheet with the source tab, source row, stable ID if available, original key, normalized key, status, and group count. Include the scope and normalization rules so a reviewer can understand why each record was flagged. Check that the report contains all members of each group, not only a summary count.
For a manual export, copy the reviewed report into a separate sheet, then use File > Download and select an appropriate format. CSV exports the current sheet, so select the evidence sheet first and verify the downloaded file. If formulas depend on source tabs, consider pasting their results as values into the export sheet before downloading; retain the original report if you need to refresh it.
The embedded check also supports downloading evidence. Review the exported fields and protect sensitive data according to your sharing requirements.
Avoid common duplicate-check mistakes
- Using the wrong key: A repeated name alone may join unrelated people. Include an identifier when the task requires one.
- Counting blanks: Exclude empty keys deliberately or define how incomplete records should be grouped.
- Checking too small a range: Rows beyond
1000in these examples are not included. Extend both the formulas and the report range as needed. - Treating a match as a deletion instruction: Keep repeated transactions when they represent separate events, and resolve uncertain groups with the data owner.
- Exporting only group counts: Counts show how often a key occurs but do not provide the source rows needed for review.
FAQ
Does this page delete duplicate google sheets?
No, it returns a read-only duplicate report.
How does the duplicate checker work?
Paste data for duplicate google sheets; select the key scope; inspect grouped counts, row indexes, and exportable evidence.
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