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

Duplicate detection, grouping, and report export

How To Find The Duplicate Values In Google Sheets

Use a read-only duplicate check for how to find the duplicate values 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 how to find the duplicate values 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, use COUNTIF to count each value in a selected range, then filter for counts greater than one. For a grouped report, use QUERY to list each repeated value and its count. Both methods leave the source values unchanged.

Use the embedded duplicate checker to paste TSV or CSV data and review grouped counts and row indexes.

Choose the duplicate scope

Decide what makes two entries duplicates before writing a formula. A repeated email address may be significant, while a repeated first name may be expected. Check one column for repeated values or use multiple columns when a duplicate means the same combination of fields.

For the examples below, assume row 1 contains headers and rows 2–1000 contain data. Column A holds the values to check. Adjust the range to cover your data set; entries outside that range will not be counted.

Normalize the selected values

Extra spaces and inconsistent capitalization can make a report harder to interpret. If those differences should not distinguish entries, create a helper column rather than changing the source. In B2, enter:

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

Copy the formula down through B1000. TRIM removes leading and trailing ordinary spaces and reduces repeated spaces between words; LOWER converts text to lowercase. For example, Apple and apple produce the same helper value. This changes the comparison key, not the original cells.

Normalization is a choice, not a universal rule. Do not collapse spaces or case when those differences identify separate records. Also inspect nonbreaking spaces and other invisible characters: TRIM alone does not remove every possible character. Test representative entries before relying on the helper column.

Group and count matches

To find duplicate values in Google Sheets using a formula, place this in an empty column, such as C2, and copy it down:

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

The fixed range $B$2:$B$1000 keeps the comparison scope stable as the formula is copied. The relative reference B2 changes for each row. A result of 2 means the normalized value occurs twice in the range; both matching rows show 2. Blank helper values produce a blank result.

For a compact summary, enter this in a clear area with two empty output columns:

=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 result contains one row per duplicate group. If apple appears three times and pear twice, the report shows counts of 3 and 2. It does not show source row numbers; use the row-level method below to inspect individual records. If there are no matching groups, the query can return an empty output.

Inspect the duplicate report

A group count tells you how often a key appears, not which record is correct. Check the original values and related columns before making any decision. For example, two identical customer names can belong to different people, while two matching order IDs may need investigation.

To display row-level evidence for the counts in column C, put this formula in an empty area:

This check complements the COUNTIF and QUERY formulas shown above for grouped duplicate reports.
=FILTER({ROW(A2:A1000),A2:A1000,B2:B1000,C2:C1000},C2:C1000>1)

The output contains the original sheet row number, source value, normalized key, and group count. ROW preserves the source row number even when the result is displayed elsewhere. When no rows meet the condition, FILTER returns a no-matches error; that is not evidence of a formula failure by itself.

Alternatively, create a filter on the source table and show only rows where the count column is greater than 1. Select the table, choose Data > Create a filter, and use the count column's filter menu. A filter view can be useful when you want to inspect a subset without changing another person's view.

The embedded duplicate checker can also check pasted TSV or CSV data using selected columns and produce a downloadable report. Review its grouped counts and row indexes against the selected scope before treating them as evidence; the check is read-only.

Check a combination of columns

For a duplicate defined by both email in A and date in B, count matching pairs in C2:

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

Copy the formula down. A count above 1 identifies rows where both fields match another row. This example skips rows with a blank email or date; change that rule only if incomplete records should be included. Use normalized helper columns as criteria if the key needs cleanup.

Compare values across two sheets

To check whether each value in Sheet1 column A also appears in Sheet2 column A, enter this on Sheet1 in B2 and copy it down:

=IF(A2="","",IF(COUNTIF(Sheet2!$A$2:$A$1000,A2)>0,"Match","No match"))

This identifies cross-sheet matches, not duplicate counts within either sheet. A single matching entry in Sheet2 is enough to return Match. If sheet names contain spaces, enclose the name in single quotes in the range reference.

Export evidence

Keep the report separate from the source when sharing findings. Include the sheet name, checked range, key fields, normalization rule, group count and source row number so another reviewer can reproduce the check. Row numbers describe locations at the time of the check and can change after sorting, inserting or deleting rows.

To export a manual report, place the row-level output on a dedicated sheet, verify its headings and values, then select that sheet and choose File > Download > Comma-separated values (.csv). CSV exports the current sheet, not the entire workbook. Avoid sharing sensitive fields that the reviewer does not need.

Common mistakes and limits

  • Checking the wrong range: A fixed range ending at row 1000 misses later entries. Extend all related range references together.
  • Treating every repeated value as an error: Review context and record ownership before changing or removing anything.
  • Mixing data types: A number stored as text may not behave like the same displayed number stored as a numeric value. Inspect cell contents and formatting when results look inconsistent.
  • Counting blanks unintentionally: Use the blank guards shown above if empty keys should not be duplicates.
  • Overwriting evidence: Keep original values and record the comparison rule. A duplicate report supports review; it does not decide which row to keep.

FAQ

Does this page delete the duplicate values in google sheets?

No, it returns a read-only duplicate report.

How do I use the duplicate checker?

Paste data, 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