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

Duplicate detection, grouping, and report export

How To Find A Duplicate In Google Sheets

Use a read-only duplicate check for how to find a duplicate 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
Check for duplicates now
Review grouped matches for how to find a duplicate 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 a duplicate in Google Sheets, count how often each value appears with COUNTIF, or highlight repeated values with conditional formatting. Define the columns and rows to check first, then inspect the matching records before changing any source data.

This embedded checker runs a read-only scan on the data you paste, so your original sheet stays untouched.

Find duplicate values in one column

Suppose email addresses are in A2:A1000, with a header in row 1. Enter this formula in B2 and fill it down to B1000:

=IF(A2="","",IF(COUNTIF($A$2:$A$1000,A2)>1,"Duplicate","Unique"))

Every nonblank value that occurs more than once receives the label Duplicate, including its first occurrence. The dollar signs keep the checked range fixed as the formula moves down, while A2 changes to the current row. Filter column B for Duplicate to inspect matching records.

To label only the second and later occurrences, use an expanding range instead:

=IF(A2="","",IF(COUNTIF($A$2:A2,A2)>1,"Duplicate","First occurrence"))

This version treats the first value in sheet order as the first occurrence. It does not establish which record is correct or newest. Expand the fixed range in the first formula if the data set extends beyond row 1000.

Normalize the selected values

Decide what should count as a match before checking emails or names. Extra spaces and inconsistent capitalization can obscure differences between stored values and the identity you want to compare. For email addresses, create a helper key in B2:

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

Fill the formula down, then run the duplicate check against column B rather than the original email column. TRIM removes leading and trailing ordinary spaces and reduces repeated ordinary spaces; LOWER makes the key lowercase. Keep column A unchanged so you can inspect the original spelling.

Normalization does not verify an email address or prove that two records belong to the same person. TRIM does not remove every kind of whitespace, and more aggressive changes can merge values that should remain distinct. For example, do not remove punctuation from an identifier unless its rules justify that comparison. how-to-find-duplicate-information-in-google-sheets

Group and count matches

To produce one row per repeated email key, place this formula in an empty area, such as D1, after filling normalized keys in column B:

=QUERY(B2:B1000,"select B, count(B) where B is not null group by B having count(B) > 1 label B 'Email key', count(B) 'Count'",0)

The result lists each repeated key and its group count. A count of three means three rows share that key; it does not mean all three rows are safe to remove. The 0 tells QUERY that the selected range has no header row.

For a row-level view with sheet row numbers, use this in another empty area:

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

The output contains the sheet row number, original email and normalized key for each matching row. FILTER returns #N/A when no rows match; that result can mean there are no duplicates in the selected range. Leave enough empty cells for the result to expand. how-to-find-duplicate-items-in-google-sheets

Highlight duplicates in Google Sheets

Group repeated values and export the findings as evidence before making any changes.

Conditional formatting makes duplicate values visible in the source sheet without adding labels to each row:

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

The rule highlights every occurrence of a repeated value and ignores empty cells. Its relative reference starts at A2, the first cell of the applied range; adjust both the range and reference if your selection starts elsewhere. To highlight complete records, apply the rule to the relevant rows and use $A2 as the value reference.

Inspect the report for duplicate rows

A repeated value in one column is not necessarily a duplicate row. Two customers can share a name, while the same email can appear on separate valid transactions. Check the other fields and define whether the key is an email, an order number, a combination of columns, or the entire record.

For an email in column A and an order ID in column B, count matching pairs with this formula in C2, then fill down: how-to-find-duplicate-numbers-in-google-sheets

=IF(OR(A2="",B2=""),"",IF(COUNTIFS($A$2:$A$1000,A2,$B$2:$B$1000,B2)>1,"Duplicate pair","Unique pair"))

COUNTIFS requires both columns to match within the same row. The formula skips pairs with a blank component; change that policy only if blank values are meaningful in your data. Add criteria for other columns when the definition of a duplicate requires them.

Review the original values, group counts and row numbers together. A row number identifies a location at the time of the check, but sorting, inserting or deleting rows can change it. Include a stable record ID in your evidence when one exists.

Compare sheets for repeated values

To check whether an email in the current sheet also appears on Sheet2, enter this in a helper column and fill down:

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

This checks each current-sheet value against the selected range on the other sheet; it does not identify duplicates within either sheet on its own. Apply the same normalization rules on both sheets if normalized comparison is required, and point the formula at the helper keys. Extend the ranges to cover the records you intend to compare. how-to-find-duplicate-words-in-google-sheets

Export evidence

For a shareable report, retain the duplicate key, count, source sheet, row number and relevant record ID. Copy the results to a separate sheet and use Paste special > Values only if you need a snapshot that will not recalculate when source data changes. Check the pasted rows against the original before sharing or making cleanup decisions.

Use File > Download to export the report in a suitable format. Review which sheet and fields the chosen format includes, and exclude sensitive columns that the recipient does not need. A downloaded snapshot can become outdated as the source spreadsheet changes.

The embedded duplicate checker offers a read-only check of pasted data and downloadable evidence. Its report can support review, but the key definition and the decision about any later cleanup remain yours.

Avoid common mistakes

  • Checking the wrong scope: Include all intended rows and exclude headers; fixed ranges do not automatically cover records outside them.
  • Confusing display with value: Numeric values and text that look alike may not represent the same stored value. Inspect cell types and formatting before interpreting a match.
  • Counting blanks as duplicates: Explicitly skip empty keys unless blank entries are part of the question.
  • Treating every match as an error: Group counts identify repeated keys, not which record to keep. Review context and preserve a copy before any destructive cleanup.

FAQ

Does this page delete how to find a duplicate 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

Run read-only duplicate check