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

Duplicate detection, grouping, and report export

How Find Duplicates In Google Sheets

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

To find duplicates in Google Sheets without changing source data, count each value with COUNTIF and filter for counts greater than one. For a visual check, use the same logic in conditional formatting; for evidence, create a grouped report and retain the original row numbers.

Paste your Google Sheets data into the tool above to see grouped duplicates, row numbers, and an exportable report without altering your source file.

Find repeated values in one column

Suppose column A contains email addresses, with a header in A1 and records in A2:A1000. Add a Count header in B1, then enter this formula in B2 and fill it down to B1000:

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

Each nonblank cell receives the number of times its value appears in the selected range. If an address appears three times, all three rows show 3. A count of 1 identifies a value that occurs once; blank cells remain unmarked.

To inspect every matching row, select the data range, choose Data > Create a filter, and filter column B for values greater than 1. Include all relevant columns in the filtered range so each count stays beside its record. Remove the filter when you need to see the full data set again.

The fixed range in COUNTIF prevents the comparison scope from shifting as you fill down. Adjust A1000 to cover your records, and extend both the formula and the filter when new rows fall outside that range. COUNTIF is not case-sensitive, so Alex and alex count as matches.

Normalize the selected values

Extra spaces and inconsistent capitalization can obscure text matches. To compare normalized email addresses while keeping the original values, enter this in an empty helper column, such as C2, and fill down:

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

Count the helper values instead of the originals by changing the count formula to use column C:

=IF(C2="","",COUNTIF($C$2:$C$1000,C2))

TRIM removes leading and trailing spaces and reduces repeated ordinary spaces inside text. It does not remove every kind of whitespace, so inspect unusual pasted characters if expected matches are missing. Normalization can also merge values that your workflow treats as different; choose the comparison rule before interpreting the report.

Group and count matches

A grouped report shows each duplicate value once, alongside its frequency. On an empty area or separate report sheet, use the original column or substitute the normalized helper range:

=QUERY(A2:A1000,"select A, count(A) where A is not null group by A having count(A) > 1 label A 'Value', count(A) 'Count'",0)

For example, if sam@example.com appears on three rows, the report contains one group with count 3. This report summarizes values; it does not list the source rows. Keep the row-level count column or use a separate evidence extract when you need to investigate individual records.

QUERY infers a type for each column, and mixed text and numbers can affect which values it includes. Check mixed-type identifiers before relying on its totals. Also compare the number of duplicate groups with the number of affected rows: one group with count 3 represents three rows, not three separate groups.

Highlight duplicates in the sheet

Conditional formatting makes repeated values visible in place without filtering or deleting records:

  1. Select A2:A1000 and choose Format > Conditional formatting.
  2. Under Format cells if, choose Custom formula is.
  3. Enter the formula below, choose a fill color, and select Done.
=AND($A2<>"",COUNTIF($A$2:$A$1000,$A2)>1)

Every occurrence of a nonblank duplicate is highlighted, including the first. To color entire records instead, apply the rule to A2:D1000 while keeping $A2 as the key reference. The row number in the formula must match the first row of the applied range; otherwise, highlighting can be offset.

To mark only later occurrences, use a running count instead:

=AND($A2<>"",COUNTIF($A$2:$A2,$A2)>1)

This version leaves the first occurrence unmarked. Its result depends on row order, so it is useful for identifying subsequent entries but not for finding all duplicates at a glance.

Inspect the report for duplicate records

A repeated value is not necessarily a duplicate record. Two customers can share a name, while repeated email addresses may represent separate transactions. Select a key that fits the question: one column for repeated identifiers, or several columns when a record is duplicate only if all selected fields match.

For a two-column key in A and B, use a helper count in C2 and fill down:

=IF(OR(A2="",B2=""),"",COUNTIFS($A$2:$A$1000,A2,$B$2:$B$1000,B2))

This counts rows where both fields match, excluding rows with either key cell blank. Remove or change that blank rule only if incomplete keys should participate. For text normalization, create helper columns for both fields first and count those helpers with COUNTIFS.

A read-only duplicate checker can also check pasted data using selected columns and provide grouped counts, row indexes, and downloadable evidence. Review its reported scope and matches against the sheet before taking any separate action; the check does not delete source records.

Export evidence

A row-level extract helps another reviewer locate each match. With counts in B2:B1000, enter this in an empty report sheet:

=FILTER({ROW(A2:A1000),A2:A1000,B2:B1000},B2:B1000>1)

The result contains the source row number, value, and count for every duplicate occurrence. Add headers above the formula and extend the array with other relevant source columns if needed. FILTER returns an error when no rows match; that can mean there are no duplicates within the selected range.

For a static copy, copy the report and use Edit > Paste special > Values only in a separate sheet. Download the spreadsheet through File > Download in a suitable format; check which sheet and fields the chosen format includes. Row numbers describe the sheet at the time of the check, so sorting, inserting, or deleting rows later can make them stale. Preserve a stable record ID in the evidence when one exists.

Avoid common counting mistakes

  • Counting the header: Start the comparison at row 2 when row 1 contains labels.
  • Including blanks: Use an explicit blank condition unless empty cells are meaningful duplicate keys.
  • Checking too narrow a range: Confirm that all relevant records are included before interpreting a count of 1.
  • Sorting only one column: Sort the complete record range, not the key alone, to keep fields aligned.
  • Treating highlights as deletion instructions: Review context and decide which records, if any, need correction. Neither the formulas nor conditional formatting remove duplicates.

FAQ

Does this page delete how find duplicates in google sheets? No, it returns a read-only duplicate report.

Paste data for how find duplicates in 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

Run read-only duplicate check