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

Duplicate detection, grouping, and report export

How To Find Duplicates In Multiple Google Sheets

Use a read-only duplicate check for how to find duplicates in multiple 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 in multiple 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 in multiple Google Sheets, bring the values into one reporting sheet with their source names and row numbers, then count repeated keys. For two tabs in the same spreadsheet, you can also use COUNTIF to compare one list directly against the other. Both approaches leave the source data unchanged.

Try the read-only duplicate checker on the page and download the grouped result as a CSV.

Prepare the scope before comparing sheets

Choose the column or combination of columns that identifies a duplicate. An email address may be enough for a contact list; an order might require both an order ID and a product ID. Decide whether repeated keys within one sheet count, or whether you only want keys present in different sheets.

For a combined report, use the same column layout for each source and keep a header row. Include a source label and original row number alongside each value. These fields let you return to the correct record after sorting or exporting the report.

The examples below use tabs named Sheet1 and Sheet2, with values in column A and headers in row 1. Replace the names and ranges with your own. A tab is a sheet within one spreadsheet; a separate Google Sheets file requires an import before the combined-report method can reference it.

Normalize the selected values

Differences in capitalization and surrounding spaces can hide matches. In Sheet1!B2, create a helper key and fill it down:

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

Repeat in Sheet2!B2. TRIM removes leading and trailing spaces and reduces repeated ordinary spaces; LOWER makes the comparison independent of letter case. The original values remain in column A for review.

Normalization changes the definition of a match. Remove LOWER if capitalization must be preserved in the helper key, and avoid converting identifiers to numbers when leading zeros matter. For a truly case-sensitive comparison, use EXACT as shown below: COUNTIF does not distinguish letter case.

Group and count matches

Create a Report tab and put these headers in A1:C1: Source, Row, and Key. In A2, stack the nonblank helper keys and their origins:

=QUERY({ARRAYFORMULA(IF(Sheet1!B2:B1000<>"","Sheet1",)),ARRAYFORMULA(ROW(Sheet1!B2:B1000)),Sheet1!B2:B1000;ARRAYFORMULA(IF(Sheet2!B2:B1000<>"","Sheet2",)),ARRAYFORMULA(ROW(Sheet2!B2:B1000)),Sheet2!B2:B1000},"select Col1, Col2, Col3 where Col3 is not null",0)

Extend the ranges if data runs past row 1000, and add equivalent source, row, and key blocks for more tabs. Keep each block the same height and width. Leave space below and to the right of A2 for the result to expand; if every key is blank, QUERY has no matching rows.

In E1, list repeated keys and their total occurrences:

=QUERY(C1:C,"select C, count(C) where C is not null group by C having count(C) > 1 label C 'Key', count(C) 'Count'",1)

A key appearing twice in Sheet1 and once in Sheet2 has a count of three. This report includes repeats within a single tab, so a group count alone does not prove that a value appears in multiple sheets. If no key repeats, the query returns no matching rows.

Find duplicates in two Google Sheets

For a direct comparison between two tabs, add a status formula in Sheet1!C2 and fill it down:

=IF(B2="","",IF(COUNTIF(Sheet2!$B$2:$B$1000,B2)>0,"Match in Sheet2","Not found"))

The absolute reference keeps the lookup range fixed as you copy the formula. A match means the normalized key in Sheet1 occurs at least once in Sheet2; it does not tell you which row contains it or whether the match is unique. Apply the equivalent formula in Sheet2, reversing the tab references, to label records on both sides.

COUNTIF treats * and ? as wildcards in criteria, so literal keys containing those characters can produce misleading results. For literal text, escape them before comparison, or use an exact-comparison method. Check blanks separately rather than treating empty cells as duplicate records.

For case-sensitive comparison of the original values, use this in Sheet1!C2 instead:

=IF(A2="","",IF(SUMPRODUCT(--EXACT(A2,Sheet2!$A$2:$A$1000))>0,"Exact match","Not found"))

EXACT compares case and spacing as stored, so ALPHA and alpha do not match. If spaces should be normalized but case should remain significant, apply TRIM in both helper columns without LOWER, then compare those helper keys with EXACT.

Compare separate spreadsheet files

Use IMPORTRANGE to bring the second file's values into a staging tab in the reporting spreadsheet. Put the source spreadsheet URL or key in Settings!A1, then enter this formula in Import!A1:

=IMPORTRANGE(Settings!A1,"Sheet2!A1:A1000")

Grant access when prompted and wait for the import to populate. Create a normalized helper column on Import, then use it in place of Sheet2 in the comparison formulas. Imported row numbers correspond to the source range: this example starts at row 1, so Import row 2 represents source row 2. Access permissions, import errors, or an incomplete range can prevent a reliable comparison.

Inspect the report for cross-sheet duplicates

Review each grouped key against the source and row columns in Report. Confirm that at least two different source labels occur before calling it a cross-sheet duplicate. A repeated email in one tab may represent two legitimate records rather than a duplicate shared across tabs.

Check representative source rows before taking action. Look for these common causes of misleading results:

  • Different ranges: Rows beyond the selected limit are absent from counts and comparisons.
  • Different key rules: Extra spaces, capitalization, hidden characters, or text-versus-number formatting can affect matches.
  • Incomplete keys: A match on one column may not mean the full records are duplicates.
  • Changed source rows: Sorting or inserting rows after the report is generated can change the location of a record. Refresh and recheck row references before editing.

For pasted TSV or CSV data, the embedded duplicate checker can check selected columns and provide a downloadable result. Include source labels and row identifiers in the pasted data if you need to trace matches back to their origins.

Export evidence

Keep the grouped summary and the row-level report together when documenting findings. The summary shows each repeated key and count; the detail identifies the source and row for every included occurrence. Add the comparison date and key rule to your notes so a reviewer can interpret the snapshot.

To export a report from Google Sheets, select the report tab and use File → Download, choosing a format appropriate for the recipient. Verify which sheets and values the chosen format includes; CSV exports the current sheet, so export summary and detail separately if they occupy different tabs. Review the downloaded file before sharing it, especially when records contain personal information.

FAQ

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

No, it returns a read-only duplicate report.

How do I use this tool?

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