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

Duplicate detection, grouping, and report export

Find Duplicate Cells In Google Sheets

Use a read-only duplicate check for find duplicate cells 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 read-only duplicate check
Review grouped matches for find duplicate cells 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 duplicate cells in Google Sheets, compare each value with its selected range using COUNTIF, then filter or highlight values with a count greater than one. Define the range and matching rules first: repeated values can be valid records, and a duplicate check does not mean they should be deleted.

Paste your data and choose which columns to compare before reviewing grouped duplicate counts and row indexes.

Define the cells to check

Choose whether a duplicate means a repeated value in one column, a repeated combination of columns, or a value appearing on another sheet. These checks answer different questions. For example, two customers can share a surname without sharing a customer ID.

Assume column A contains IDs, row 1 contains a header, and the data occupies A2:A1000. Adjust the range to include all relevant rows without counting the header. Keep a stable ID or another reference column if rows may later be sorted.

Normalize the selected values

Extra spaces and inconsistent capitalization can split values that look like the same ID into separate groups. To compare trimmed, lowercase text, enter this formula in B2 and fill it down through B1000:

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

Use column B as the comparison key while retaining the original values in column A. TRIM removes leading and trailing spaces and collapses repeated regular spaces; LOWER converts text to lowercase. This changes the comparison, not the source cells. Check unusual whitespace and formatting separately, since normalization may not cover every character.

Normalization can also merge values that should remain distinct. For case-sensitive IDs, skip LOWER. For codes where repeated internal spaces matter, skip TRIM. Numbers, dates and text-formatted numbers may look alike while requiring different handling, so inspect the underlying values before choosing a rule.

Group and count matches

To mark every occurrence of a repeated normalized value, enter this formula in C2 and fill it down:

=IF(B2="","",IF(COUNTIF($B$2:$B$1000,B2)>1,"Duplicate","Unique"))

The absolute range stays fixed as the formula moves down. The B2 reference changes for each row. Blank keys receive no label; a value appearing three times receives Duplicate on all three rows.

COUNTIF is case-insensitive and treats * and ? in criteria as wildcards. For literal values containing those characters, escape them in the criterion or use an exact-comparison method instead. For example, this case-sensitive count treats wildcard characters literally:

=IF(A2="","",SUMPRODUCT(--EXACT(A2,$A$2:$A$1000)))

Fill it down and look for counts above 1. EXACT compares text with case sensitivity, so abc and ABC form separate groups. Test the method on representative values when mixed data types or formatting matter.

To show one row per repeated normalized value, place this formula in an empty area:

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

The report lists group counts rather than source row locations. If B2:B1000 contains red, blue, red, the group red has a count of 2. Review the source rows before deciding whether those records represent an error.

Inspect the report for duplicate cells in Google Sheets

Filter the helper labels to see the affected records alongside their original values. Select the data and helper columns, choose Data → Create a filter, then filter column C for Duplicate. Every matching row remains in the sheet; clearing the filter restores the full view.

Add row numbers to the report if reviewers need to locate cells. Enter the following in a free helper column and fill it down:

=IF(C2="Duplicate",ROW(),"")

ROW gives the current sheet row, not a permanent record identifier. Sorting, inserting or deleting rows can change locations, so retain an ID and record the sheet name and checked range with any exported evidence.

The embedded duplicate checker also supports a read-only check of pasted data, with grouped counts and row indexes for inspection. Compare its scope and results with the original sheet before acting on any group.

Highlight matches in place

Conditional formatting makes repeated cells visible without adding a status column:

  1. Select A2:A1000 and open Format → Conditional formatting.
  2. Choose Custom formula is and enter the formula below.
  3. Choose a format and apply the rule.
=AND(A2<>"",COUNTIF($A$2:$A$1000,A2)>1)

The rule highlights all occurrences, including the first. It uses the original values and COUNTIF matching behavior, not the normalized keys in column B. To highlight using those keys instead, apply the rule to A2:A1000 and reference B2 and $B$2:$B$1000 in the formula. Check wildcard-containing keys separately.

Check combinations and other sheets

A duplicate row may depend on more than one field. To flag repeated combinations of customer ID in A and date in D, use a helper formula such as:

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

Fill it down and adjust both ranges to cover the same rows. This example excludes pairs with either field blank. COUNTIFS uses criteria matching, so account for wildcard characters in text criteria; choose normalization separately for each field if needed.

To compare sheets, count each value from the current sheet against the relevant column on a second sheet:

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

Replace Sheet2 and the ranges with the actual names and scope. A Found result means the value appears on the other sheet; it does not count duplicates within the current sheet. Apply consistent normalization on both sheets when comparing normalized keys.

Export evidence

Before exporting, verify the selected range, blank handling, case rules and group counts against several source rows. Check whether each group is a genuine duplicate or a legitimate repeated value. Keep the original data unchanged while reviewers decide what action, if any, is appropriate.

For a manual report, filter the helper columns and copy the visible evidence, including original values, status, row numbers and stable IDs, to a separate sheet. Use File → Download to export the relevant sheet in a suitable format; check the downloaded file to confirm its scope. The embedded check also supports downloading its report.

Common mistakes include counting headers, stopping the range before the last record, treating visual formatting as a matching rule and interpreting row numbers as durable IDs. Recheck formulas and evidence after the data set changes, especially before making any cleanup decisions.

FAQ

Does this page delete find duplicate cells 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