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

Duplicate detection, grouping, and report export

How Do You Find Duplicates In Google Sheets

Use a read-only duplicate check for how do you find 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
Check duplicates now
Review grouped matches for how do you find 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

Find duplicates in Google Sheets by counting how often each value appears in a selected range. Use conditional formatting to highlight repeated cells, or use formulas to label rows and build a grouped report. These methods leave the source values unchanged.

Paste your TSV or CSV data below and choose which columns to compare against.

Choose what counts as a duplicate

Start by defining the key: the value or combination of values that identifies a repeated record. A repeated email address may indicate a duplicate contact, while a repeated surname alone may describe different people.

For a single-column check, select the data cells without the header. For a whole-row check, decide which columns must match; an order ID and product code, for example, may form a more useful key than either column alone. Decide whether blank cells should be ignored and whether differences in capitalization or spacing matter.

Normalize the selected values

Extra spaces can make values that look alike count as different. To create a comparison key from the text in A2, enter this in an empty helper column and fill it down:

=LOWER(TRIM(A2))

TRIM removes leading, trailing, and repeated ordinary spaces, and LOWER makes the key lowercase. Check the helper values before counting them: normalization can combine entries that should remain distinct, and some unusual whitespace may need separate cleanup. Keep the original column so you can inspect the source text.

For example, Alice and alice produce the same helper key. An identifier where capitalization has meaning requires a different comparison method; COUNTIF itself is not case-sensitive.

Highlight duplicate values in a column

Conditional formatting shows where duplicates occur without adding a report column. The following setup highlights every occurrence, including the first one, and ignores blank cells.

  1. Select A2:A1000, adjusting the last row to fit your data set.
  2. Open Format > Conditional formatting.
  3. Under the format rules, choose Custom formula is.
  4. Enter the formula below, choose a highlight style, and select Done.
=AND(A2<>"",COUNTIF($A$2:$A$1000,A2)>1)

The fixed range tells COUNTIF where to look. The relative reference A2 changes for each formatted cell. Keep the formula's first cell aligned with the first row of the applied range; otherwise, the highlight may be shifted. can you find duplicates in google sheets

To highlight only occurrences after the first, use this custom formula on the same range:

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

The expanding range counts values from row 2 through the current row. The first occurrence remains unhighlighted, while later occurrences are marked. Sorting the sheet can change which occurrence is first.

Label and group repeated records

A helper column makes duplicate status available for filtering. Enter this formula in B2 beside values in A2:A1000, then fill it down:

The embedded checker gives grouped counts and row indexes for the records you paste.
=IF(A2="","",IF(COUNTIF($A$2:$A$1000,A2)>1,"Duplicate","Unique"))

Filter column B for Duplicate to inspect all rows belonging to repeated values. The label does not decide which record to keep: review other fields, such as dates or order details, before making any change. can google sheets find duplicates

Group and count matches

A pivot table gives one row per distinct value and a count for each group. It is useful when you need group counts rather than colored cells.

  1. Select the data range, including its header, and choose Insert > Pivot table.
  2. Choose where to place the pivot table.
  3. In the pivot table editor, add the key column under Rows.
  4. Add the same column under Values and summarize it by COUNTA.
  5. Inspect groups with counts greater than one; exclude blanks if they are not meaningful keys.

If pear appears three times and apple once, the pivot table shows counts of three and one. The group count identifies repeated keys but does not by itself show which source rows contain them. Use the helper-column filter or a separate row-level report for that evidence.

Check a combination of columns

To find rows where both an email in column A and an order ID in column B repeat together, put this in C2 and fill it down: find duplicates in excel google sheets

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

COUNTIFS counts rows meeting both conditions. The blank check excludes records missing either key; remove or change that rule only if incomplete records should be compared. Matching pairs do not prove entire rows are identical, so inspect any remaining columns before treating them as duplicate records.

Inspect the duplicate report

Check the scope before acting on a result. A formula ending at row 1000 will not count a matching value in row 1001. Likewise, a filtered view can hide source rows even though a formula still counts cells in its specified range.

Review at least one repeated group against the original sheet. Confirm that the key, count and source rows agree, and look for variants caused by spaces, inconsistent formats or missing values. COUNTIF and COUNTIFS interpret * and ? in criteria as wildcards; literal values containing those characters need escaped criteria, using ~ before the wildcard.

For a read-only duplicate check outside the sheet, the embedded checker accepts pasted TSV or CSV data and a choice of columns. Its grouped counts and row indexes can help inspect the selected records; verify the indexes against the pasted input before using them to locate rows in the original spreadsheet. google sheets check for duplicates 3 cells

Export evidence

For a manual report, keep the key and duplicate label together with a source-row reference. In an empty column, enter =ROW() in row 2 and fill it down before filtering; copy the results as values if you need row references to remain fixed after sorting or moving the report.

Copy the filtered duplicate rows or pivot results to a separate sheet, preserving the relevant headers. Use File > Download to export the appropriate sheet or workbook format, and check the downloaded file for the expected rows, columns and counts. A grouped summary and row-level evidence serve different purposes, so retain both when reviewers need to trace a count back to records.

Download the check evidence, then validate matches and keep a backup before any cleanup.

The embedded checker also supports downloading its evidence. Neither a highlight nor a duplicate report is a deletion decision: validate the matches and keep a backup before any later cleanup.

FAQ

Does this page delete how do you find duplicates in google sheets?

No, it returns a read-only duplicate report.

How do you use the checker?

Paste data for how do you find duplicates in 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