Duplicate detection, grouping, and report export
Find Exact Duplicates In Google Sheets
Use a read-only duplicate check for find exact 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.
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 find exact duplicates in Google Sheets, define which columns form a match, then count repeated values or repeated combinations in a helper column. Review every flagged row before changing the data: a duplicate check identifies matches but does not establish which record is correct.
Use the read-only duplicate checker above to spot repeated values in your pasted data, then review the grouped counts and row indexes before making any changes.Define what counts as an exact match
A single-column duplicate repeats one key, such as a customer ID. A multi-column duplicate repeats the complete combination of selected fields, such as customer ID and order date. Two rows with the same customer ID but different order dates are not duplicates under that two-column rule.
Decide how to handle these differences before checking:
- Capitalization:
ABCandabccan be treated as distinct or equivalent.EXACTis case-sensitive;COUNTIFis not. - Whitespace: A trailing space can make two text values different even when they look alike.
- Dates and numbers: Matching display formats do not guarantee that underlying values are identical. A date stored as text may look like a date value but remain different.
- Blanks and errors: Decide whether empty keys count as records. Inspect any error value before relying on a count.
Normalize the selected values
For a case-insensitive check that ignores leading and trailing spaces in text values, create a helper column. With source values in A2:A1000, enter this in B2 and fill down:
=IF(A2="","",LOWER(TRIM(A2)))
The helper value for Alice becomes alice. This is a normalized match, not a literal match: capitalization and surrounding spaces no longer distinguish records. Keep column A unchanged so you can inspect the original value. TRIM does not remove every type of invisible character, so investigate suspicious values separately.
Count exact duplicates in one column
For a case-sensitive comparison of nonblank values in A2:A1000, enter this formula in B2 and fill it down to B1000:
=IF(A2="","",SUMPRODUCT(--EXACT(A2,$A$2:$A$1000)))
EXACT compares A2 with each value in the fixed range, and SUMPRODUCT counts the matches. A result of 1 means the value occurs once; 2 or more marks every occurrence in a duplicate group. For example, two rows containing ABC each receive 2, while abc is counted separately. how-to-find-duplicates-in-a-row-in-google-sheets
- Reserve an empty helper column beside the data.
- Adjust both ends of the fixed range to cover the records, excluding the header.
- Fill the formula through the same rows and filter the helper column for counts greater than
1. - Check the original values and their row numbers before taking action.
This bounded formula also treats * and ? as literal text through EXACT. Large ranges can make repeated comparisons slow; limit the range to the data you need and extend it when new rows are added. Resolve source errors first, because an error can prevent the formula from returning a useful count.
Highlight duplicate values
Conditional formatting can make repeated values easier to scan. Select A2:A1000, choose Format → Conditional formatting, and under Custom formula is use:
=AND(A2<>"",SUMPRODUCT(--EXACT(A2,$A$2:$A$1000))>1)
Choose a formatting style and apply it. The rule highlights all occurrences, including the first; it does not delete or distinguish a preferred record. Keep the selected range and formula range aligned when expanding the data set.
If you prefer not to paste data, the formulas in this guide achieve the same exact-match check directly in Google Sheets, including case-sensitive EXACT comparisons and multi-column combination checks.Find duplicate combinations across columns
For exact matches on both customer ID in column A and order date in column B, use a helper column such as C. This version requires both key fields to be nonblank: google-sheets-find-duplicates-in-an-array
=IF(OR(A2="",B2=""),"",SUMPRODUCT(--EXACT(A2,$A$2:$A$1000),--EXACT(B2,$B$2:$B$1000)))
Fill the formula down and filter for results greater than 1. If rows 2 and 8 have identical values in both key columns, both receive 2. If only the customer ID matches, neither row is counted as a match for that pair unless another row repeats its complete combination.
Choose every column that defines the record before checking multi-column duplicates. Add a corresponding EXACT comparison for each extra key column, with ranges of the same size. If blank fields are meaningful in your data, change the blank policy deliberately instead of silently excluding those records.
Inspect the duplicate report
A useful report identifies the key, its group count, and the source row for each occurrence. Add a row-number helper in an empty column with =ROW() and fill it down before filtering; retain that number when copying filtered results. Sheet row numbers can change after rows are inserted or deleted, so record a stable ID as well when one exists. how-to-find-duplicates-across-in-google-sheets
Group and count matches
For a compact, case-sensitive list of nonblank keys from column A, place this formula in an empty report area:
=UNIQUE(FILTER(A2:A1000,A2:A1000<>""))
Beside the first returned key, for example in F2 if the list starts in E2, count its occurrences with:
=SUMPRODUCT(--EXACT(E2,$A$2:$A$1000))
Fill the count formula alongside the returned keys and filter the report for counts above 1. The group list summarizes repeated keys; the filtered source rows provide row-level evidence. If there are no nonblank values, FILTER returns an error rather than an empty group list. how-to-find-non-duplicates-in-google-sheets
The embedded duplicate checker can also check pasted data using selected columns and produce a read-only report with grouped counts and row indexes. Compare its output with the chosen key scope and blank policy before using the report for cleanup.
Export evidence
Copy the filtered rows, helper counts, row numbers, and relevant headers to a separate sheet for review. Include the key columns and any context needed to distinguish records, but avoid exporting unrelated sensitive fields. Preserve the original sheet while reviewers decide whether matching records are redundant or represent legitimate repeated events.
Download the review sheet using File → Download and choose a suitable format. The embedded check also supports downloading evidence. Recheck the source if it changes after the report was produced; an exported snapshot does not update with later edits.
FAQ
Does this page delete find exact 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