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

Duplicate detection, grouping, and report export

Find Duplicate In Google Sheets

Use a read-only duplicate check for find 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
Run read-only duplicate check
Review grouped matches for find 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 duplicate values in Google Sheets without changing your source data, count each value with COUNTIF or highlight repeated values with conditional formatting. Choose the column or combination of columns that defines a match, then inspect every matching row before deciding what to do with it.

The embedded checker scans your pasted data and groups repeats by the columns you choose.

Find repeated values in one column

Suppose column A contains customer IDs, with a header in A1 and data in A2:A1000. Enter this formula in B2 and fill it down to B1000:

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

The absolute reference $A$2:$A$1000 keeps the search range fixed as the formula is copied. Each nonblank value receives a status based on its count in that range. Both the first occurrence and later occurrences are labeled Duplicate; blanks receive no label.

To count occurrences rather than label them, use: how-to-find-duplicate-in-google-sheets

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

For example, if C104 appears in rows 2, 7 and 12, each of those rows shows a count of 3. Extend the range when records grow, or use an open-ended range such as $A$2:$A if appropriate for the spreadsheet. Keep the formula outside the range it examines.

COUNTIF is not case-sensitive and treats * and ? as wildcards in text criteria. If IDs can contain those characters, escape them in the criterion or use an exact-comparison approach; otherwise, a literal ID may match unintended values. Numeric values and numbers stored as text can also produce unexpected comparisons, so check the underlying data types.

Highlight duplicates in the source sheet

Conditional formatting makes repeated values visible while leaving cell values unchanged:

  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 relative reference A2 changes for each cell in the selected range; the absolute reference fixes the range being counted. The rule highlights every occurrence of a repeated nonblank value. Adjust both references if your selection starts in a different row or column. find-duplicate-emails-in-google-sheets

To highlight entire records instead, apply the rule to A2:D1000 and use $A2 as the value being tested. This locks the key column while allowing the row number to change:

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

Define the duplicate key

A duplicate value is not always a duplicate record. Repeated customer names may belong to different people, while repeated email addresses may identify records that need review. Decide whether one column or a combination of fields defines a match before interpreting the report.

For a two-column key, use COUNTIFS. With customer ID in A and order date in B, place this formula in C2 and fill it down:

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

A repeated ID is flagged only when its date also matches. This example skips rows with either key field blank; change that policy only if incomplete records should count as matches. Wildcards in text criteria and inconsistent data types can affect COUNTIFS too. find-duplicate-names-in-google-sheets

Normalize the selected values

Extra spaces or inconsistent capitalization can hide text matches. For text in A2, use a separate helper column to create a comparison key:

Review grouped counts and row indexes before any cleanup action.
=IF(A2="","",LOWER(TRIM(A2)))

Fill the formula down, then count or group the helper values. TRIM removes leading and trailing spaces and reduces repeated ordinary spaces; LOWER standardizes letter case. These operations do not resolve every Unicode space, spelling variation or non-text type, so inspect the formula result against the original value.

Normalization can also merge values that should remain distinct. Keep original columns available and apply the same rules to all records being compared. For case-sensitive matching, do not use LOWER; use EXACT in an appropriate comparison formula instead of relying on COUNTIF. how-to-find-a-duplicate-in-google-sheets

Group and count matches

A group summary shows which values repeat and how often. For a text key in A2:A1000, enter this formula in an empty area with room for the result:

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

The output contains one row per repeated key and its group count. Run the query against a normalized helper column if that column defines your matching rule. QUERY can treat minority data types in a mixed-type column as null, so standardize the key type and verify the result when numbers and text are mixed.

For row-level evidence, keep the status or count beside each original record and filter for counts greater than 1. A grouped summary identifies duplicate values, but it does not by itself show every source row or explain which record is correct.

Compare duplicates across sheets

To check whether a key on the current sheet also appears on a sheet named Archive, enter this in B2 and fill down:

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

This reports cross-sheet presence, not the total number of duplicates across both sheets. A value appearing once on each sheet will be found even though neither sheet has an internal duplicate. Quote a sheet name containing spaces, for example 'Old Archive'!$A$2:$A$1000, and use equivalent normalization on both sheets if needed.

Inspect the report for duplicate values

Review group counts alongside original records before treating a match as an error. Include a source identifier and row number when records from multiple sheets are involved; row 12 on one sheet is not the same location as row 12 on another. If you sort a range, sort the whole record together so keys, counts and identifiers stay aligned.

Check these details in each group:

  • Scope: The selected range includes all intended records and excludes headers.
  • Key: The compared columns reflect the business rule, not merely a convenient field.
  • Count: A group count includes the first occurrence; a count of 3 means three matching rows, not three extra rows.
  • Context: Dates, IDs and other fields distinguish legitimate repeated values from records that need correction.
  • Location: Capture row indexes before rearranging data, and retain a stable ID where available.

The embedded duplicate checker can check pasted data using selected columns and provide grouped counts and row indexes. Its check is read-only; a duplicate finding is evidence for review, not a deletion decision. how-to-find-duplicate-information-in-google-sheets

Export evidence

Keep a copy of the grouped summary and the row-level records used to verify it. In Google Sheets, filter the helper count column for values greater than 1, copy the visible records and relevant identifiers to a separate report sheet, and verify the copied rows before exporting. Record the key columns, normalization rule and source sheet names in the report so another reviewer can reproduce the check.

Use File > Download to choose an available format for the spreadsheet, or export a report sheet as CSV when a plain-text file is sufficient. Check the downloaded file: CSV does not preserve formulas, formatting or multiple sheets. The embedded checker also supports downloading its result.

Export row-level evidence to keep a reviewable record of what matched.

Do not delete rows solely because their key repeats. Confirm which record, if any, should be retained, and make any cleanup as a separate action after reviewing the evidence.

FAQ

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