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

Duplicate detection, grouping, and report export

How To Find Duplicates Across In Google Sheets

Use a read-only duplicate check for how to find duplicates across 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 duplicates now
Review grouped matches for how to find duplicates across 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 duplicates across Google Sheets columns or tabs without removing data, compare a defined key range with COUNTIF or SUMPRODUCT, then review the matching rows. Use a helper column to label records, or build a separate report to group repeated values and count their occurrences.

Paste CSV or TSV data into the read-only duplicate checker below and select which columns to compare.

Choose what counts as a duplicate

A duplicate can mean a repeated value in one column, a value present in both of two columns, or a complete row with the same combination of fields. Choose the rule before writing a formula: checking email addresses alone can produce a different result from checking email and order ID together.

Set a consistent scope for each comparison. For example, compare A2:A1000 with B2:B1000 for two lists on one sheet, or compare column A on two named tabs. Exclude headers and adjust the last row to cover your data set; values outside the selected ranges will not be checked.

Normalize the selected values

Extra spaces and inconsistent capitalization can obscure matches. To create a comparison key for the value in A2, enter this in an empty helper column and fill it down:

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

This keeps the original value unchanged, converts text to lowercase, and removes leading, trailing, and repeated ordinary spaces. Apply the same normalization to both sides of a comparison. TRIM does not remove every kind of whitespace, such as non-breaking spaces, so inspect suspicious values separately.

Normalization is a business decision, not a universal fix. An identifier with leading zeros may differ from a number that displays without them, and changing punctuation or internal spaces can merge records that should remain distinct. Preserve the original fields alongside any helper keys.

Find duplicates in two columns

To flag each nonblank value in column A that also appears anywhere in column B, enter this formula in C2 and fill it down:

=IF(A2="","",IF(SUMPRODUCT(--($B$2:$B$1000=A2))>0,"Match","Not found"))

The comparison checks A2 against the entire B range, not only B2. Dollar signs keep that lookup range fixed as the formula is copied. A value repeated within A but absent from B is labeled Not found: this formula tests membership in the other column, not repetition within the first column.

For example, if A2 contains apple and B7 contains apple, C2 returns Match. To identify values in B that appear in A, reverse the ranges and place the equivalent formula beside column B. The comparison is not case-sensitive; use normalized helper columns if you also need to handle spacing consistently.

For two fields that must match on the same row, such as customer ID in A and order ID in B, use 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"))

COUNTIFS counts rows meeting both conditions. Every occurrence of a repeated pair is labeled, including the first. This example skips rows with a missing key field; change that policy only if incomplete pairs should participate in the check. COUNTIFS treats * and ? in criteria as wildcards, so use a literal comparison method if those characters occur in your keys.

Compare values across sheets

Suppose the current tab contains keys in A2:A1000 and a second tab named Sheet2 contains keys in A2:A1000. Enter the following beside the first key on the current tab, then fill down:

=IF(A2="","",IF(SUMPRODUCT(--('Sheet2'!$A$2:$A$1000=A2))>0,"Found on Sheet2","Not found"))
Instead of formulas, use the embedded tool to paste data and instantly see grouped duplicate counts with row references.

Replace Sheet2 and the range with the actual tab name and key column. A match means at least one equal value exists on the other tab; it does not show how many times that value occurs or identify its row. A Not found result means only that no match was found within the specified range.

For a count instead of a label, use the same comparison inside SUMPRODUCT. A result above zero indicates how many cells on the other tab equal A2:

=IF(A2="","",SUMPRODUCT(--('Sheet2'!$A$2:$A$1000=A2)))

Check for error values in either range before interpreting results. An error in the compared data can propagate into the formula; correct the source or investigate it separately rather than treating it as a missing match.

Group and count matches

To summarize repeated values in a single key column, place this formula on a report sheet with enough empty space for its output:

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

Replace Sheet1 and the range with your source. The report returns one row per repeated value and its count; unique values and blank cells are excluded. For example, three occurrences of apple produce one report row with a count of 3. Use a normalized helper column as the input if spacing or capitalization needs standardization.

To group values from two tabs together, stack their compatible key ranges first:

=QUERY({Sheet1!A2:A1000;Sheet2!A2:A1000},"select Col1, count(Col1) where Col1 is not null group by Col1 having count(Col1) > 1 label Col1 'Value', count(Col1) 'Count'",0)

This counts repeats across the combined data set, including repeats confined to one tab. It does not prove that a value occurs on both tabs; use the cross-sheet lookup when that distinction matters. Keep key types consistent because mixed data types can affect QUERY results.

Inspect the report

Review both the group count and the underlying records before deciding what a match means. A repeated customer name may represent different people, while a repeated transaction ID may require investigation. A count alone does not identify which row is correct.

  1. Filter the source or report by a flagged value and inspect its associated fields.
  2. Confirm that the key, tab names, and range boundaries match the intended scope.
  3. Check blanks, inconsistent formatting, and error values separately from confirmed duplicates.
  4. Record the source tab and row number for each relevant occurrence.

The embedded duplicate checker can also check pasted CSV or TSV data using selected columns and return grouped counts and row-level evidence. Its check is read-only, so review the results before making any separate changes to the spreadsheet.

Export evidence

Create a report with the key, count, source tab, row number, and relevant original fields. If the report uses formulas, copy its results and use Edit > Paste special > Values only in a separate sheet before sharing a fixed snapshot. Verify row references after sorting or inserting rows, because sheet row numbers can change.

Download the checker’s CSV evidence directly and keep a fixed snapshot of the grouped results for review or sharing.

For a CSV copy, open the report tab and choose File > Download > Comma-separated values (.csv). CSV exports the current sheet as plain text, not the whole workbook or its formatting. Check the downloaded file and remove sensitive fields that recipients do not need. The embedded check also supports downloading its evidence.

FAQ

Does this page delete how to find duplicates across in google sheets?

No, it returns a read-only duplicate report.

What do I do with the result?

Paste data for how to find duplicates across 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