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

Duplicate detection, grouping, and report export

Eliminate Duplicates In Google Sheets

Use a read-only duplicate check for eliminate duplicates 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
Run read-only duplicate check
Review grouped matches for eliminate duplicates 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 eliminate duplicates in Google Sheets safely, first define which columns make a record a duplicate, then inspect matching rows before removing anything. Use formulas to count and locate matches without changing the source data; use Data cleanup only after deciding which records to keep.

Use the embedded duplicate checker below to inspect repeated values in your selected columns and export grouped results.

Define the duplicate scope

A duplicate can be a repeated value in one column or a repeated combination across several columns. Choose the key according to the decision you need to make, not simply the columns that happen to look alike.

  • Use an email column to find repeated email addresses, but check whether different people legitimately share one address.
  • Use an order ID and product ID together when an order can contain several products. Matching order IDs alone do not make those rows duplicates.
  • Compare all relevant columns when you want repeated records rather than repeated identifiers.

Work with a bounded data range and keep the header outside formula ranges. The examples below assume headers in row 1 and data in rows 2–100. Extend every related range to the same last row when your data set is larger.

Make a copy of the spreadsheet before deleting rows. A duplicate report identifies matches under your chosen rule; it does not establish which record is correct or whether other columns contain useful differences.

Normalize the selected values

Spaces and letter case can conceal duplicate values. To create a normalized version of text in column A, enter this formula in an empty helper column, such as B2, and fill it down:

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

For example, Sales and sales both become sales. The original values remain unchanged. TRIM removes leading and trailing spaces and collapses repeated ordinary spaces within text; LOWER standardizes case.

Normalization is a rule, not proof that two records are equivalent. It may be inappropriate for case-sensitive identifiers or meaningful internal spaces. Nonbreaking spaces and other hidden characters may need separate treatment. Review numeric values, dates and identifiers with leading zeros before converting or cleaning them, because their stored values and displayed formats can differ. combine duplicates in google sheets

Group and count matches

Count each nonblank normalized value with a second helper column. In C2, enter the following formula and fill it down:

=IF(B2="","",COUNTIF($B$2:$B$100,B2))

A count of 1 means the value appears once in the selected range. A count greater than 1 marks every row in that duplicate group, including its first occurrence. This formula checks one key column; it does not compare the rest of each row.

For a compact group report, place this formula in a clear area of the sheet:

=QUERY(B2:B100,"select B, count(B) where B is not null group by B having count(B) > 1 label B 'Value', count(B) 'Count'",0)

The result lists each repeated normalized value once with its group count. Blank keys are excluded. If the query reports an error, check the range, column letter and formula separators required by your spreadsheet locale.

For a two-column key, count matching combinations directly. With keys in A and B, enter this in C2 and fill down:

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

This version skips rows with a blank in either key column. If blank keys have meaning in your data, define a separate rule for them rather than assuming they are unique. Use normalized helper columns as the COUNTIFS ranges when your matching rule requires normalization. macro for removing duplicates in google sheets

Inspect the report before removing duplicates

Filter the helper count column to show values greater than 1, then compare the matching source rows. Check dates, status fields, amounts and other columns that were not part of the key. A shared key may represent an update, a legitimate repeat or conflicting information rather than a row to delete.

To list sheet row numbers for a particular normalized value, put that value in E2 and use:

=IF(E2="","",IFNA(FILTER(ROW(B2:B100),B2:B100=E2),"No matches"))

The returned numbers refer to the current sheet positions. Sorting, inserting or deleting rows can change them, so capture row indexes alongside stable identifiers when available. Enter the normalized value in E2; for example, use sales rather than Sales with the earlier helper formula.

The embedded duplicate checker can inspect pasted CSV or TSV data using selected columns and return a read-only report with grouped counts and row indexes. Its check does not delete records from the source sheet.

Remove duplicates after review

For removing duplicates from Google Sheets, the built-in cleanup command can delete extra rows from a selected range. Review the intended survivor and make a backup first, especially if rows share a key but differ in other fields.

  1. Select the complete data range, including all columns that belong to each record. Include the header if it is part of the selection.
  2. Choose Data → Data cleanup → Remove duplicates.
  3. Indicate whether the selection has a header row, then select the columns that define a duplicate.
  4. Confirm removal and inspect the result. Verify that retained records contain the information you need.

The selected comparison columns determine which rows match; selecting only part of a record can leave related data misaligned. Do not use removal to merge conflicting values. If later rows contain useful updates, reconcile them before cleanup instead of assuming the desired version will be retained. removing duplicates on google sheets

For a non-destructive alternative, create a separate list with UNIQUE:

=UNIQUE(A2:D100)

This returns unique rows from the selected four-column range and leaves the original range intact. Rows that differ in any selected column remain separate, so this is not equivalent to deduplicating by a single ID. The result is formula-driven; changing source values can change the output.

Export evidence

Keep a review record containing the selected key columns, normalization rule, checked range and date of review. Include group counts, row indexes and any stable record IDs, along with the reason for keeping or removing disputed rows. Avoid relying on row numbers alone after the sheet is reordered.

To preserve a manual report, copy the group counts and relevant source rows to a separate sheet, then download the spreadsheet or that sheet in a suitable format through the File → Download menu. Check the downloaded file before sharing and restrict it to the data needed for review. The embedded check also supports downloading its duplicate evidence.

Recheck the same scope after any approved cleanup. Confirm that expected duplicate groups are gone and that legitimate repeated transactions or distinct records have not been removed.

FAQ

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