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

Duplicate detection, grouping, and report export

Can Google Sheets Find Duplicates

Use a read-only duplicate check for can google sheets find duplicates 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 can google sheets find duplicates 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

Yes. Google Sheets can find duplicates with conditional formatting, formulas, and grouped reports. You can check one column, compare sheets, or define a duplicate by several columns without deleting source data.

The embedded duplicate checker checks your pasted data against selected columns and returns grouped counts and row indexes without changing your source.

Choose what counts as a duplicate

A duplicate depends on the key you select. An email address repeated in a contact list may indicate the same person, while a repeated product name may be valid if the order dates differ. Decide whether to compare:

  • One column, such as customer ID or email.
  • A combination of columns, such as customer ID and order date.
  • Values on separate sheets, using one sheet as the comparison list.

The examples below assume headers in row 1 and data in rows 2–1000. Adjust each range to fit your data set. Keep headers outside the comparison range, and reserve empty columns for helper formulas.

Highlight duplicate values in one column

Conditional formatting shows repeated values in place, so you can inspect their surrounding rows. For values in A2:A1000:

  1. Select A2:A1000.
  2. Open Format → Conditional formatting.
  3. Under formatting rules, choose Custom formula is.
  4. Enter the formula below, select a format, and click Done.
=AND(A2<>"",COUNTIF($A$2:$A$1000,A2)>1)

COUNTIF counts occurrences of the current value in the fixed range. The absolute references keep the range fixed, while A2 changes for each formatted row. The blank check prevents empty cells from being highlighted. Every occurrence of a repeated value is highlighted, including the first.

To highlight only occurrences after the first, use an expanding range instead:

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

The result depends on row order: the first occurrence stays unmarked, and later occurrences are highlighted. Neither rule identifies which record should be kept.

Create a row-level duplicate report

A helper column makes results easier to filter and export. In an empty column, enter this formula in row 2 and fill it down:

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

Filter the helper column for Duplicate to inspect every matching row. For example, if C101 appears in rows 2 and 8, both rows receive the duplicate label. The original values remain unchanged, but the formula writes results into the helper column. how to find duplicates in a row in google sheets

For a key made from customer ID in column A and order date in column B, use COUNTIFS:

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

Both fields must match for a row to be labeled duplicate. The formula skips rows with a blank key field; change that rule only if blank fields should participate in your definition.

Normalize the selected values

Extra spaces can make visually similar text appear different. To compare cleaned text without overwriting the source, put this formula in a helper column and fill it down:

=TRIM(CLEAN(A2))
Use the read-only duplicate checker to verify your formula-based results before exporting evidence.

Run the duplicate formula against that helper column instead of A. TRIM removes leading and trailing spaces and reduces repeated ordinary spaces; CLEAN removes non-printable ASCII characters. Neither resolves every nonstandard whitespace character, spelling difference, or inconsistent date representation.

Check normalization against real examples before using it for decisions. If leading zeros distinguish IDs, preserve them as text; converting them to numbers can merge distinct-looking identifiers. A normalized key is useful evidence, not proof that two records represent the same entity. can you find duplicates in google sheets

Group and count matches

A grouped report shows each repeated value once, with its count. Place this formula in an empty area on a report sheet, replacing Data with the source sheet name:

=QUERY(Data!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)

If C101 occurs three times, the report returns C101 and 3. The count includes all occurrences, not just the two beyond the first. Use the normalized helper column as the source when cleaned values define your key.

For a two-column key, group both fields rather than combining them with a separator that might also occur in the data:

=QUERY(Data!A2:B1000,"select A, B, count(A) where A is not null and B is not null group by A, B having count(A) > 1 label count(A) 'Count'",0)

These reports exclude blank key fields and summarize values rather than showing source row numbers. Use the row-level labels alongside them to investigate individual records. find duplicates in excel google sheets

Compare sheets for repeated values

To check whether each value in the current sheet's column A appears on a sheet named Other, enter this in an empty column and fill down:

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

This finds cross-sheet matches, even if a value appears only once on each sheet. It does not count duplicates within the current sheet or distinguish multiple matches on Other. If a sheet name contains spaces, enclose it in single quotes in the reference.

Inspect the report

Review the scope before acting on a duplicate label. Confirm that the selected ranges include all relevant rows, use the intended key columns, and apply the same normalization to both sides of a comparison. A range ending at row 1000 misses later records.

Check matching rows for differences in fields outside the key. Two orders with the same customer ID may be separate transactions; two contacts with the same email may need a human review. Formula error values also need investigation before you rely on counts: inspect the source cells and helper formulas rather than treating an error as a verified match. google sheets find duplicates across sheets

The embedded duplicate checker can check pasted data against selected columns and return grouped counts and row indexes. Its check is read-only; reviewing its results does not delete source records.

Export evidence

Keep a row-level copy when another person needs to verify matches. Add a source row number in an empty helper column with =ROW(), fill it down, and filter the duplicate label. Copy the visible records, key fields, labels, and row numbers to a separate report sheet; include the grouped counts if they help reviewers assess frequency.

Download the report sheet through File → Download in a suitable format, such as CSV. CSV contains values from the current sheet rather than formulas or formatting, so verify the downloaded file and retain the original spreadsheet when those details matter. The embedded checker also supports downloading its evidence.

Record which sheet, columns, and row range were checked alongside the report. Row numbers can change after sorting or inserting rows, so preserve a stable record ID where available. Exported duplicate evidence supports review; it does not decide which row to keep or authorize deletion.

FAQ

Does this page delete can google sheets find duplicates?

No, it returns a read-only duplicate report.

What do I do with this page for can google sheets find duplicates?

Paste data for can google sheets find duplicates; 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