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

Duplicate detection, grouping, and report export

Find Duplicates In Excel Google Sheets

Use a read-only duplicate check for find duplicates in excel 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 find duplicates in excel 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 Excel or Google Sheets without changing source data, count occurrences of each key with COUNTIF or COUNTIFS, then filter the results. Choose whether a duplicate means a repeated value or a repeated combination of columns before reviewing the matching rows.

Use the embedded duplicate checker for a read-only result on pasted data

Define the duplicate scope

A duplicate depends on the columns used as the key. Repeated email addresses may identify duplicate contacts, while repeated product names can be legitimate when orders have different dates or customers.

  • Single-column key: Check one value, such as an email address or order ID.
  • Multi-column key: Check a combination, such as customer ID and order date.
  • Across sheets: Compare corresponding keys from two tabs and retain their sheet names and row numbers.

Include a header row and keep the original data intact. If you need to sort a report, sort the entire table rather than a single column so values remain attached to the correct records. Add a stable record ID when available; row numbers can change after sorting or inserting rows.

Normalize the selected values

Values that look alike may differ because of spaces or capitalization. In a Google Sheets helper column, normalize text from A2 with:

=LOWER(TRIM(A2))

Fill the formula down, then check the helper column instead of the original. TRIM removes leading and trailing spaces and reduces repeated ordinary spaces; LOWER standardizes case. Neither function corrects spelling, converts every unusual whitespace character, or establishes whether two similar records represent the same entity.

Use normalization only when it fits the data. For example, removing spaces from a product code could combine distinct codes, and an email address may need additional checks beyond lowercasing. Review normalized matches against source values before treating them as duplicates. compare-duplicates-in-google-sheets

Group and count matches

For values in A2:A1000, place this formula in B2 and fill it down:

=IF(A2="","",COUNTIF($A$2:$A$1000,A2))

A result of 2 means the value appears twice in the selected range, including the current row. Filter column B for counts greater than 1 to show every occurrence. Blank cells return blank results; adjust the range if data extends beyond row 1000.

For a customer ID in column A and an order date in column B, count repeated pairs in C2:

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

This counts a row only when both key fields are present. If missing data is meaningful in your data set, review incomplete keys separately rather than assuming they are unique. Both formulas also work in Excel; use the same bounded ranges and fill them down.

For a compact Google Sheets group report, place this formula in an empty area or on a separate report sheet:

=QUERY(A1:A1000,"select A, count(A) where A is not null group by A having count(A) > 1 label count(A) 'Count'",1)

The result lists each repeated value and its group count, not the source rows. If your keys are normalized in a helper column, point QUERY to that column instead. Check that the output has room to expand and that the range includes all intended records. find-duplicates-across-sheets

Inspect the report for duplicate values

Group counts and row indexes help you confirm which records repeat

A count identifies repeated keys, not necessarily records to delete. Compare other fields in each group to distinguish exact copies from different transactions sharing the same key.

  1. Filter the count column for values greater than 1.
  2. Sort the full table by the selected key to bring each group together.
  3. Compare dates, amounts, IDs and other fields relevant to the record.
  4. Record the source sheet and row number, or a stable ID, for each occurrence.
  5. Decide separately whether a group needs correction, retention or further investigation.

For example, three rows with the same email may be three contact records, or one contact associated with three orders. A single-column count flags all three; adding an order ID to the key may show that each order is distinct. Avoid removing rows until the business rule and the record to retain are clear.

The embedded duplicate checker can inspect pasted data using selected columns and return grouped counts and row indexes. Its check is read-only, and the source spreadsheet remains unchanged.

Compare duplicates across sheets

To check whether keys in Sheet1 also appear in Sheet2, enter this formula beside the first key on Sheet1 and fill it down:

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

Match means the key in Sheet1!A2 occurs at least once in the specified range on Sheet2. It does not show how many times the key occurs or whether other columns match. Use the count formula without the >0 comparison if you need the number of occurrences on the second sheet.

Run the comparison in the opposite direction to find keys present only on Sheet2. Apply the same normalization rules to both sheets first, and check that both ranges cover the full data set. A missing key is not automatically an error: it may reflect a different reporting period or an incomplete import. how-can-i-find-duplicates-in-google-sheets

Highlight repeated values in Google Sheets

Conditional formatting makes duplicate values visible without creating a count column:

  1. Select A2:A1000, excluding the header.
  2. Choose Format > Conditional formatting.
  3. Under Format rules, select Custom formula is and enter:
=AND(A2<>"",COUNTIF($A$2:$A$1000,A2)>1)
  1. Choose a formatting style and select Done.

The rule highlights every nonblank occurrence in the range, including the first. For a different starting cell, change the relative reference A2 to match the top-left cell of the selected range. Highlighting is useful for inspection but does not provide a durable group report or identify which row to keep.

Export evidence

Build a separate report with the key, group count, source sheet, row number or stable ID, and relevant fields needed for review. Include the scope and normalization rule alongside the report so another reviewer can reproduce the check. Avoid exporting unnecessary personal or sensitive columns.

In Google Sheets, copy filtered results to a separate sheet, then use File > Download to choose an appropriate format. Verify the downloaded file contains the intended rows and columns; CSV represents one sheet and does not preserve spreadsheet formatting or formulas as formulas. The embedded checker also supports downloading its duplicate evidence.

Download the evidence so the next reviewer can reproduce the check

Recheck the report after source data changes. Counts, row positions and matches reflect the ranges and values used when the check ran, so an old export should not be treated as current evidence.

FAQ

Does this page delete find duplicates in excel google 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

Run read-only duplicate check