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

Duplicate detection, grouping, and report export

Search For Duplicates In Google Sheets

Use a read-only duplicate check for search for 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 search for 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 search for duplicates in Google Sheets without changing source values, count repeated keys with COUNTIF, then filter or group the results. Define the cell range and the columns that identify a match first: repeated email addresses, for example, may matter even when the rest of each row differs.

See how to normalize values and group matches with COUNTIF before running the check on your own data.

Choose the duplicate scope

A duplicate can mean a repeated value in one column or a repeated combination across several columns. Decide whether every occurrence should appear in the report or only occurrences after the first. Also decide whether blank cells and differences in capitalization or spacing should count.

For a customer list in rows 2–1000, column A might contain email addresses, while columns B and C contain names. Checking A finds repeated emails; checking B and C together finds repeated name combinations. Neither method proves that two rows represent the same person.

Keep the header outside the data range and use a bounded range that covers the full data set. Extend the range when records are added. If the spreadsheet contains sensitive information, limit any exported evidence to the fields needed for review.

Normalize the selected values

Extra spaces and inconsistent capitalization can hide matches. To compare cleaned email addresses while retaining the original values, put this formula in an empty helper column, such as D2, and fill it down: google sheets search sheet for duplicates multple columns

=LOWER(TRIM(A2))

TRIM removes leading and trailing spaces and reduces repeated ordinary spaces; LOWER standardizes letter case. Review the cleaned values before relying on them. Nonbreaking spaces, punctuation, spelling differences, and other variations may need separate handling, and normalization can merge values that should remain distinct.

If identifiers contain leading zeros, preserve them as text before importing or entering them. Once a numeric value has lost its leading zeros, a duplicate check cannot infer the original identifier reliably. Apply the same normalization rules to every range being compared.

Group and count matches

To count occurrences of each normalized value, enter this in E2 and fill down through E1000:

=IF(D2="","",COUNTIF($D$2:$D$1000,D2))

A count greater than 1 marks every row in a duplicate group. A blank normalized key returns a blank result rather than treating missing data as a duplicate. If alex@example.com appears on rows 2 and 7, both rows receive a count of 2. can i search for duplicates in google sheets

For a compact group report, enter this in an empty area with room for the results:

=QUERY(D2:D1000,"select D, count(D) where D is not null group by D having count(D) > 1 label count(D) 'Count'",0)

The report lists each repeated normalized value once with its group count. It does not list source row numbers, so use the row-level helper column as well when reviewers need to locate records. QUERY can treat mixed data types inconsistently within a column; check its output against the source when keys combine numbers and text.

Inspect the report for duplicates in Google Sheets

Filter the original rows to inspect complete records rather than counts alone. Select the table, choose Data > Create a filter, and filter the count helper column for values greater than 1. Check related fields before deciding whether repeated keys are errors, legitimate repeat transactions, or separate records sharing a value.

To return source row numbers alongside matching keys and counts in a separate area, use: how do i search for duplicates in google sheets

=FILTER({ROW(D2:D1000),D2:D1000,E2:E1000},E2:E1000>1)
The embedded checker runs read-only on pasted CSV or TSV so your source sheet stays untouched.

The first output column contains sheet row numbers, followed by the normalized key and group count. If no rows qualify, FILTER returns #N/A. Row numbers identify locations at the time of the check; sorting, inserting, or deleting rows can change them.

The embedded duplicate checker also supports a read-only check of pasted CSV or TSV data using selected columns. Its report provides grouped counts and row indexes for inspection, with exportable evidence; confirm how those indexes map to your source before using them to locate rows.

Find only later occurrences

Sometimes the review should exclude the first occurrence and flag only subsequent matches. Put this formula in a separate helper column at row 2 and fill down:

=IF(D2="","",IF(COUNTIF($D$2:D2,D2)>1,"Repeated","First"))

The expanding range counts from row 2 through the current row. The first instance is labeled First; later instances are labeled Repeated. This depends on row order, so sort by a meaningful timestamp first if the earliest record should be treated as the first. Preserve a copy or record the original order before sorting if that order matters. how to search for duplicates google sheets

Check a combination of columns

Use COUNTIFS when a duplicate requires both a matching name and a matching date, rather than either value alone. For names in B and dates in C, enter the following in an empty helper column at row 2 and fill down:

=IF(OR(B2="",C2=""),"",COUNTIFS($B$2:$B$1000,B2,$C$2:$C$1000,C2))

A result above 1 means the B and C values occur together more than once. This formula excludes rows missing either key field; change that policy only after deciding how incomplete records should be classified. Normalize each component in its own helper column if spacing or case differences matter. Dates stored as text may not match actual date values even when they look alike.

Compare sheets without merging them

To check whether a key in the current sheet also appears on a sheet named Archive, use:

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

Fill the formula down next to the current sheet's records. Match means the value occurs at least once in the specified Archive range; it does not show how many times it occurs or whether other columns agree. Apply equivalent normalization on both sheets if the comparison requires it, and verify that both ranges include all relevant rows.

Not found describes absence from the selected range, not necessarily absence from the whole workbook. A comparison against an incomplete range can produce misleading missing-data results.

Export evidence

Create a review copy containing the key, group count, source row number, and any fields needed to distinguish records. Copy the filtered results into a separate sheet and use Edit > Paste special > Values only to preserve a snapshot rather than formulas that may change later. Record the source sheet, checked range, and time of the review alongside the snapshot.

Download the snapshot through File > Download in a suitable format. Check the downloaded file for headers, leading zeros, dates, and the intended rows before sharing it. CSV exports represent a single sheet and do not preserve formatting or formulas as spreadsheet features.

Review the exportable evidence before deleting anything, since the check only reports duplicates.

A duplicate report is evidence, not authorization to delete rows. Verify uncertain groups against the source and agree on retention rules before making any cleanup changes.

FAQ

Does this page delete search for duplicates in google sheets?

No, it returns a read-only duplicate report.

How do I use this duplicate check?

Paste data for search for 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