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

Duplicate detection, grouping, and report export

How To Make Google Sheets Find Duplicates

Use a read-only duplicate check for how to make google sheets find duplicates 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
Check duplicates now
Review grouped matches for how to make google sheets find duplicates 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 make Google Sheets find duplicates, use COUNTIF to count each value in a selected range, then filter or highlight counts greater than one. For a grouped report, use QUERY to list each repeated value and its count. These methods identify matches without deleting source data.

Try the embedded duplicate checker for Google Sheets to see grouped counts and row indexes before you edit anything.

Choose what counts as a duplicate

Select the key before checking your data set. A key can be one column, such as an email address, or a combination of columns, such as customer ID and order date. Two rows that share a name are not necessarily duplicate records.

Decide whether to include every occurrence or only repeats after the first. A value appearing three times produces a group count of three, but only two occurrences follow the first. Keep the header outside the checked range and decide how to handle blank cells.

Normalize the selected values

Extra spaces can make entries that look alike appear different. If column A contains text values, enter this in an empty helper column at B2 and fill down:

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

The helper value removes leading, trailing and repeated ordinary spaces and converts text to lowercase. For example, BLUE Widget becomes blue widget. Compare the helper column rather than overwriting the original values, so you can inspect the source before making changes.

Normalization is a choice, not proof that records are identical. TRIM does not remove non-breaking spaces, and converting case or treating numeric-looking text as numbers may merge values that should stay distinct. Check dates, leading zeros and error values before deciding which representation is the right key.

Group and count matches

To find duplicate values in the normalized keys in B2:B1000, enter this formula in an empty area with room for two output columns:

=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)

Each output row contains a repeated key and its group count. If blue widget appears in three source rows, the report shows blue widget with a count of 3. The report excludes blank keys and does not show individual source rows; use a row-level count to locate them.

Inspect the report for duplicate rows

Add a count beside each record to see every occurrence. With normalized keys in B, enter this in C2 and fill down through the data range: how to find duplicates in a row in google sheets

=IF(B2="","",COUNTIF($B$2:$B$1000,B2))

A count of 1 means the key occurs once in the selected range. A count above 1 marks every row in that duplicate group, including its first occurrence. Filter column C for values greater than 1 to inspect matching records together; keep all related columns in the filter range so each record stays intact.

For a text key that may contain * or ?, COUNTIF treats those characters as wildcards. Escape them for literal matching with this version:

=IF(B2="","",COUNTIF($B$2:$B$1000,"="&SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(B2,"~","~~"),"*","~*"),"?","~?")))

The ~ escape preserves literal wildcard characters, including an existing tilde. Extend both ends of the checked range if records continue past row 1000; otherwise, later occurrences will not contribute to the count.

To label only occurrences after the first, use an expanding range instead: in google sheets how to find duplicates

The formula-free checker gives the same kind of grouped result as the QUERY method in the guide.
=IF(B2="","",IF(COUNTIF($B$2:B2,B2)>1,"Repeat","First"))

This version assumes keys contain no COUNTIF wildcard characters. It labels the first nonblank occurrence First and later ones Repeat. Sorting the data can change which row is first, so establish a meaningful order before using that label to guide a decision.

Check a multi-column key

For a duplicate defined by both customer ID in A and order date in B, place this formula in C2 and fill down:

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

A result greater than 1 means both fields match another row within the specified ranges. This example excludes records with either key field blank. COUNTIFS also interprets * and ? in text criteria as wildcards; escape them if those characters are legitimate parts of IDs. Make sure dates are stored consistently, rather than mixing date values with text that only looks like a date.

Highlight duplicates for a quick review

Conditional formatting provides a visual check without adding a report column. For ordinary text keys in A2:A1000: shortcut to find duplicates in google sheets

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

The rule highlights every nonblank occurrence of a repeated value. Apply it to the intended range and keep A2 relative to its first cell; an incorrect starting reference can highlight the wrong rows. Like the basic count formula, this rule interprets wildcard characters in the criterion.

Compare sheets and preserve row locations

To check whether each key on the current sheet appears on a sheet named Archive, enter this beside the current data and fill down:

=IF(A2="","",IF(COUNTIF(Archive!$A$2:$A$1000,A2)>0,"Found in Archive","Not found"))

This checks membership across sheets, not duplicates within either sheet. It also assumes keys do not contain wildcard characters. A Found in Archive result does not reveal how many matches exist or whether the remaining fields agree; inspect those records before treating them as duplicate rows.

Record source row numbers before sorting or exporting. A helper formula such as =ROW() gives the current sheet row, but its result can change when rows move. Copy and paste those numbers as values into a report if you need a stable snapshot, and retain the sheet name alongside them. find duplicates in a table google sheets

Export evidence

A useful duplicate report includes the key, group count, source sheet, row number and relevant fields needed to distinguish records. Filter the row-level counts above 1, copy the visible results to a separate sheet, and verify that the copied rows match the source. Preserve a snapshot before changing the source order or values.

For a file export, select the report sheet and use File > Download to choose an available format. Check the downloaded file: CSV exports the current sheet and does not preserve spreadsheet formatting or formulas as formulas.

The embedded duplicate checker accepts pasted TSV or CSV data and lets you choose columns for a read-only check. Its result includes grouped counts and row indexes, with downloadable evidence; confirm the selected columns and row references against the source before taking any cleanup action.

FAQ

Does this page delete how to make google sheets find duplicates?

No, it returns a read-only duplicate report.

What do I do with the tool?

Paste data for how to make google sheets find duplicates; 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