Duplicate detection, grouping, and report export
Check Duplicates In Google Sheets
Use a read-only duplicate check for check 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 check duplicates in Google Sheets without deleting data, count occurrences of each key in a helper column, then filter for counts greater than one. Review the matching rows before deciding whether repeated values are errors or legitimate records.
Paste your sheet data and run a read-only check to see grouped duplicate counts and row indexes.Define the duplicate scope
Choose what makes two records duplicates before counting them. A repeated email address may be enough for a contact list, while an order report may need both customer ID and order date. A repeated value in one column does not necessarily mean the whole row is duplicated.
- Identify the sheet, header row, data range, and key columns. In the examples below, data starts on row 2 and ends on row 1000.
- Reserve empty helper columns or work on a copy so formulas do not overwrite source data.
- Decide whether blank keys should be ignored and whether differences in case or spacing matter.
- Adjust every range to include your complete data set. Rows outside the range will not be checked.
Keep the column header outside the counting range. For example, use A2:A1000 rather than including A1 when A1 contains the header.
Normalize the selected values
Use a helper column when spaces or letter case should not distinguish records. If email addresses are in column A, enter this in an empty cell on row 2 and fill down:
=IF(A2="","",LOWER(TRIM(A2)))
TRIM removes leading and trailing spaces and reduces repeated ordinary spaces between words; LOWER converts text to lowercase. The original value remains unchanged. Do not normalize identifiers if capitalization or repeated internal spaces carry meaning in your data.
Normalization is not a universal cleanup. Hidden characters, different number formats, and values that look alike but have different underlying types can still require inspection. Compare the original cells when a match looks unexpected, and test the rule on a few known examples.
Group and count matches
For a single key in column A, place this formula in an empty helper column on row 2 and fill it down: check for duplicates in google sheets
=IF(A2="","",COUNTIF($A$2:$A$1000,A2))
The fixed range counts matching values across the selected data; A2 changes as the formula is filled down. A result of 1 means the key appears once in that range. A result greater than 1 marks every occurrence, including the first. Blank keys return a blank result.
COUNTIF is generally case-insensitive and treats * and ? in its criterion as wildcards. Normalize case if that matches your policy, but do not rely on this formula for case-sensitive or literal wildcard matching. If normalized keys are in column D, count $D$2:$D$1000 against D2 instead.
To produce one row per repeated normalized key, put this formula in a clear area or on a separate report sheet. It assumes column D contains the helper values:
=QUERY(D1:D1000,"select D, count(D) where D is not null group by D having count(D) > 1 label count(D) 'Count'",1)
The result lists each repeated key and its group count. For example, three rows containing the same normalized email produce one group with a count of 3. The summary does not include source row numbers; use the row-level filter below to inspect the records behind it.
For a composite key, count combinations rather than concatenating values without a separator. With customer IDs in A and dates in B, enter this formula in an empty helper column and fill down:
=IF(OR(A2="",B2=""),"",COUNTIFS($A$2:$A$1000,A2,$B$2:$B$1000,B2))
COUNTIFS counts rows where both criteria match. This version ignores rows missing either key, and its text criteria have the same case and wildcard considerations as COUNTIF. Make sure dates are actual dates, not a mixture of date values and text that merely looks like a date. check google sheets for duplicates
Inspect the report for duplicate values
Filter the count column to show values greater than 1, then compare the source fields within each group. In Google Sheets, select the header and data range, choose Data > Create a filter, and use the count column's filter menu to set a condition greater than 1. Remove the filter when you need to see all records again.
To show duplicate rows with their source row numbers in a separate area, use the following formula. It assumes the original records occupy A through C and the single-key count is in D:
=FILTER({ROW(A2:A1000),A2:C1000,D2:D1000},D2:D1000>1)
The first output column identifies the source row; the last shows the count. FILTER returns a no-match error when no rows meet the condition. Leave room for the result to expand, and avoid placing it over existing cells.
Use the row numbers to inspect context that a group count cannot show. Two records with the same email may represent a corrected name, separate transactions, or an accidental duplicate. Counts identify candidates, not which record to keep.
The embedded duplicate checker can check pasted sheet data by selected columns and return grouped counts and row indexes. Its check is read-only, and the report can be downloaded for review.
Compare sheets without changing them
To check whether values on one sheet also appear on another, count each first-sheet key in the second sheet. On Sheet1, enter this in an empty helper column on row 2 and fill down: how can i check for duplicates in google sheets
=IF(A2="","",COUNTIF(Sheet2!$A$2:$A$1000,A2))
A count above zero means the key appears on Sheet2; a count above one means it appears multiple times there. This is a cross-sheet match check, not a count of occurrences on both sheets combined. Run the equivalent check in the other direction when you also need keys present only on Sheet2.
Check that both ranges represent the same kind of key and apply the same normalization rules. If sheet names contain spaces, enclose the name in single quotes, as in 'Customer List'!$A$2:$A$1000. The COUNTIF case and wildcard limitations still apply.
Export evidence
Create a separate report sheet containing the key, count, source row number, and relevant fields. Add clear headers, then verify a sample against the source before sharing. If the report uses formulas, copy its results and paste values into a separate range when you need a fixed snapshot rather than a view that changes with the source.
Download the report sheet using File > Download and choose a suitable format. CSV exports the current sheet, so select the report sheet first; a spreadsheet format can preserve multiple sheets. Review the file and limit sensitive fields to those needed by its recipient.
A row number is evidence of location at the time of the check, not a permanent record ID. Sorting, inserting, or deleting source rows can change it, so include a stable identifier when available and retain the checked version if later review matters.
Avoid common reporting mistakes
- Do not count headers or omit newly added rows. Extend all matching ranges together before rerunning the check.
- Do not treat blank keys as duplicates unless missing values are part of the investigation. The examples above exclude them deliberately.
- Do not assume a repeated key makes an entire row redundant. Inspect other fields and the business rule first.
- Do not combine key fields carelessly.
ABplusCandAplusBCcan produce the same concatenated text; use separateCOUNTIFScriteria when appropriate. - Do not confuse a filtered view with deletion. Filtering hides rows from view; the source records remain in the sheet.
These methods identify and document matches. Any correction or removal is a separate decision after the report has been reviewed.
FAQ
Does this page delete check 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