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

Duplicate detection, grouping, and report export

How To Find Duplicate Items In Google Sheets

Use a read-only duplicate check for how to find duplicate items 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 duplicate check
Review grouped matches for how to find duplicate items 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 find duplicate items in Google Sheets without deleting anything, count each value with COUNTIF in a helper column, then filter for counts greater than 1. For a grouped report, use QUERY to list each repeated value and its count; keep row numbers in a separate report when you need evidence of where matches occur.

Run the embedded duplicate checker to get grouped matches, row indexes, and a downloadable evidence report.

Define the duplicate scope

Choose what makes two records duplicates before checking the data set. A repeated item name may be expected if it appears in several orders, while a repeated order ID may need investigation.

  • One column: Find repeated names, item codes, numbers, or other values in that column.
  • Several columns: Treat records as duplicates only when all selected fields match, such as item name and location.
  • Several sheets: Combine comparable values into one report and include the source sheet and row number.

The examples below assume headers in row 1 and data in rows 2 through 1000. Adjust the ranges to cover your records, and leave enough empty cells for formulas that return multiple rows or columns. The formulas use commas as argument separators; some spreadsheet locales require semicolons.

Normalize the selected values

Inconsistent spaces and capitalization can split values that represent the same item. To create a case-insensitive comparison key, put this formula in B2 and fill it down:

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

TRIM removes leading and trailing ordinary spaces and reduces repeated spaces between words. LOWER makes capitalization consistent. The original values remain in column A, so you can inspect them before deciding whether the normalized values should count as matches.

Normalization is a choice, not proof that records refer to the same item. For example, Blue Pen and blue pen produce the same key, but two people with the same name may still be different people. TRIM does not remove every special whitespace character, so inspect suspicious values that still appear separate.

Group and count matches

To label every occurrence of a repeated normalized value, enter this formula in C2 and fill it down:

=IF(B2="","",IF(COUNTIF($B$2:$B$1000,B2)>1,"Duplicate","Unique"))

COUNTIF counts matches in the fixed key range. A count greater than 1 labels all occurrences as Duplicate, including the first; blank keys receive no label. For example, if blue pen appears in rows 2, 5, and 9, all three rows are labeled as duplicates.

COUNTIF is case-insensitive and treats * and ? in its criterion as wildcards. If item values contain those characters, escape them or use an exact-comparison method rather than assuming the count is literal. A tilde is also an escape character in a COUNTIF criterion.

For a compact list of repeated keys and group counts, enter this formula in an empty area or on a report sheet:

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

The report contains one row per duplicate key, not one row per source record. Compare counts with the source rows when you need to decide which records belong together. The formula groups the normalized keys in column B; use the original values instead only if their differences are meaningful for your check.

Inspect the report for duplicate items

Filter the helper column to show Duplicate and review the original records beside the labels. To find duplicate names in Google Sheets, check another field such as an ID or email address before treating two matching names as the same person. A repeated name alone is evidence of a text match, not necessarily a duplicate person.

To return row numbers, original values, and normalized keys for labeled records, place this formula in an empty area:

=FILTER({ROW(A2:A1000),A2:A1000,B2:B1000},C2:C1000="Duplicate")

The first output column identifies the source row, while the other columns preserve the original value and comparison key. FILTER returns an error when no rows match; check the labels and range rather than interpreting an empty-looking report as proof that every possible row was checked. Row numbers can change when source rows are inserted, deleted, or sorted, so export or record evidence before changing the source.

For a case-sensitive comparison of literal values, count exact matches in D2 and fill down:

=IF(A2="","",SUMPRODUCT(--EXACT(A2,$A$2:$A$1000)))

EXACT distinguishes Pen from pen and compares the value without treating wildcard characters as patterns. Counts greater than 1 identify repeated values under this rule. Limit the range to the relevant records because evaluating a large range for every row can slow a spreadsheet.

Compare items across sheets

To compare sheets, build a combined report that keeps each value's origin. For sheets named Sheet1 and Sheet2, enter this formula in an empty report sheet:

={"Sheet","Row","Item";ARRAYFORMULA({IF(Sheet1!A2:A1000<>"","Sheet1",""),ROW(Sheet1!A2:A1000),Sheet1!A2:A1000});ARRAYFORMULA({IF(Sheet2!A2:A1000<>"","Sheet2",""),ROW(Sheet2!A2:A1000),Sheet2!A2:A1000})}

Replace the sheet names and ranges with your own. The combined list includes blank source rows; filter those out before reviewing results. Add a normalized key and duplicate label beside the combined list using the same methods as above, adjusting column references and range endpoints to match the report.

A combined count finds repeats both within one sheet and across sheets. To establish that an item appears on both sheets, inspect the source-sheet labels for that item; a count of 2 alone could represent two occurrences on only one sheet.

For a multi-column key, compare the fields individually rather than joining them without a separator. For example, with item in A and location in B, this formula counts records matching both fields:

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

Fill it down and inspect counts greater than 1. This example excludes records with a blank item or location; change that rule only if incomplete records should be included. COUNTIFS criteria also interpret wildcard characters, so check those values separately when literal matching matters.

Export evidence

Keep the source records unchanged while you review the findings. A useful report includes the comparison key, group count, source sheet, row number, and original values needed to verify each match. Record the checked range and whether matching was case-sensitive or normalized so another reviewer can reproduce the result.

To export a report from Google Sheets, place the evidence on its own sheet, select that sheet, and use File → Download → Comma-separated values (.csv). CSV exports the current sheet and does not preserve formulas as formulas or spreadsheet formatting. If row positions may change later, include a stable record ID alongside each row number.

The embedded duplicate checker also supports a read-only check of pasted data and downloadable evidence. Its results can help document repeated values without removing records from the source sheet.

FAQ

Does this page delete how to find duplicate items 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