Duplicate detection, grouping, and report export
How To Find Duplicates In Google Sheets Across Multiple Sheets
Use a read-only duplicate check for how to find duplicates in google sheets across multiple 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.
Report reading guide
Read duplicate results in three passes
- Scope: confirm selected key columns.
- Groups: review repeated values and counts.
- Rows: compare source row numbers before acting.
To find duplicates in Google Sheets across multiple sheets, compare the same key column on each tab with COUNTIF, or combine the values into a report and group them with QUERY. Both methods leave source data unchanged. Choose whether a duplicate means any repeated value in the combined data set or a value that appears on more than one tab; those definitions produce different results.
Compare values across sheet tabs
Suppose January and February contain customer IDs in column A, with headers in row 1. To flag IDs on January that also appear on February, enter this formula in an empty cell on January, such as B2, and fill it down:
=IF(A2="","",IF(COUNTIF('February'!$A$2:$A$1000,A2)>0,"Match on February",""))
COUNTIF searches the specified range on February for the value in A2. A positive count returns a match label; an empty source cell returns a blank. This formula finds cross-tab matches, not duplicates confined to January.
To check a third tab as well, add its count to the test:
=IF(A2="","",IF(COUNTIF('February'!$A$2:$A$1000,A2)+COUNTIF('March'!$A$2:$A$1000,A2)>0,"Match on another tab",""))
Adjust tab names and range endpoints to fit the data. Fill the formula on each tab, changing the references so that each tab is compared with the others. A label indicates at least one match, but does not identify every matching row or show which other tab contains it.
Normalize the selected values
Small differences in source values can prevent a useful comparison. For text keys with extra ordinary spaces, create a helper column on each tab and enter this formula in row 2:
=IF(A2="","",LOWER(TRIM(A2)))
Fill it down, then compare the helper columns instead of the original column A. TRIM removes leading and trailing ordinary spaces and reduces repeated spaces between words; LOWER standardizes letter case. Keep the original values for review, because normalization can combine entries that were intentionally distinct. check for duplicates google sheets across multiple sheets
Check key types before comparing ranges. An identifier stored as a number may differ from one stored as text, and converting it carelessly can lose leading zeros. TRIM alone also does not remove every nonprinting character. Inspect examples of unexpected matches and missing data before changing the normalization rule.
Group and count matches
For a combined count across three tabs, create a separate report tab and place this formula in an empty area:
=QUERY({'January'!A2:A1000;'February'!A2:A1000;'March'!A2:A1000},"select Col1, count(Col1) where Col1 is not null group by Col1 having count(Col1) > 1 label Col1 'Key', count(Col1) 'Count'",0)
The array stacks the three ranges, and QUERY groups nonblank values and returns only counts greater than one. For example, an ID appearing twice on January and once on February has a count of three. A repeated ID found only on January also appears in this report, so the count alone does not establish that an ID occurs on multiple tabs. how to find duplicates in multiple google sheets
Use the same normalized helper column from each tab if spaces or case need standardizing. Keep the combined ranges to one consistent data type; mixed types can affect how QUERY interprets a column. Expand each range when records extend beyond row 1000, and leave enough empty cells for the returned values to expand.
Find duplicates with multiple criteria
A single ID may be valid on several dates. To flag a duplicate only when both the ID in column A and the date in column B match a row on February, use:
=IF(OR(A2="",B2=""),"",IF(COUNTIFS('February'!$A$2:$A$1000,A2,'February'!$B$2:$B$1000,B2)>0,"Match on February",""))
COUNTIFS requires both criteria to match in the same row. Fill the formula down on January and check that both criteria ranges cover the same rows. The blank test excludes records missing either field; remove or change that test only if incomplete keys should count as matches. find duplicates in two google sheets
Dates must represent comparable values. A cell displaying a date can contain a timestamp or text instead, so visually identical entries may not match. Inspect the underlying values when a known pair is missing from the results.
Inspect the duplicate report
Use the grouped report to prioritize keys, then locate the original records before deciding what to change. Filter each source tab by a reported key, or use the cross-tab labels to narrow the rows. Compare the source tab, row number, key and relevant fields for each occurrence; a repeated customer ID, for example, may represent legitimate separate transactions.
For a repeatable row-level report, stack the data with source labels and row indexes on a separate tab. With keys in column A, this example records the original row number for two tabs: find duplicate entries in google sheets
={"Source","Row","Key";ARRAYFORMULA(IF('January'!A2:A1000<>"",{"January"&IF(ROW('January'!A2:A1000)>0,"",""),ROW('January'!A2:A1000),'January'!A2:A1000},{"","",""}));ARRAYFORMULA(IF('February'!A2:A1000<>"",{"February"&IF(ROW('February'!A2:A1000)>0,"",""),ROW('February'!A2:A1000),'February'!A2:A1000},{"","",""}))}
Filter the resulting Key column for values in the grouped report. Row indexes refer to the source positions when the formula calculates; sorting or inserting source rows can change those positions. Recheck the source before acting on an older export.
The embedded duplicate checker can also check pasted data using selected columns and provide grouped counts and row-level evidence for export. Its check is read-only; review the selected scope and results before using the evidence for cleanup.
Export evidence
- Copy the report and paste values into a separate tab if you need a fixed snapshot rather than formulas that recalculate.
- Include the key, source tab, source row and any fields needed to distinguish legitimate repeats from errors. Record the criteria and range used for the check alongside the report.
- Select the report tab and use File → Download → Comma-separated values (.csv) to export that tab. Review the downloaded file before sharing it.
Do not delete rows based on group counts alone. A count shows repetition within the selected ranges, not which record is correct. Check permissions and handle sensitive exported data according to your organization's rules.
FAQ
Does this page delete data when finding duplicates in google sheets across multiple 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