Duplicate detection, grouping, and report export
Find Duplicates In Column Google Sheets
Use a read-only duplicate check for find duplicates in column 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.
Report reading guide
Read duplicate results in three passes
- Scope: confirm selected key columns.
- Groups: review repeated values and counts.
- Rows: compare source row numbers before acting.
To find duplicates in a column in Google Sheets, count each value against the column range with COUNTIF, then filter for counts greater than one. This identifies every occurrence without deleting or changing the source values. Use a helper column for row-level results or a grouped summary to see how often each value occurs.
Find repeated values in a column
Assume column A contains values, row 1 contains a header, and rows 2–1000 contain the data set. Enter Duplicate count in B1 and put this formula in B2:
=IF(A2="","",COUNTIF($A$2:$A$1000,A2))
Fill the formula down through B1000. The dollar signs keep the column range fixed while the reference to A2 changes for each row. Blank cells produce blank results; a count of 2 or more marks a repeated value, including its first occurrence.
For example, if A2 and A7 both contain Oak, each receives a count of 2. A value appearing only once receives 1. Extend the fixed range and fill the formula farther down if your data goes beyond row 1000.
To inspect only repeated values, select the data and helper column, choose Data → Create a filter, and filter column B for values greater than 1. Clear the filter to see all rows again. Filtering hides rows; it does not remove them.
COUNTIF is not case-sensitive and treats * and ? in its criterion as wildcards. If those characters can appear in your data, use a literal comparison instead. In B2, enter and fill down:
=IF(A2="","",SUMPRODUCT(--($A$2:$A$1000=A2)))
This comparison still ignores case, but it treats wildcard characters as literal characters. Apply it to a bounded range: calculating a comparison for every row over a very large range can slow the spreadsheet.
Mark only later occurrences
To retain a visible distinction between the first occurrence and later repeats, place this formula in B2 and fill it down:
=IF(A2="","",IF(SUMPRODUCT(--($A$2:A2=A2))>1,"Repeat","First"))
The expanding range starts at A2 and ends at the current row. The first Oak is labeled First; subsequent occurrences are labeled Repeat. Row order determines which occurrence is first, so check the sort order before using these labels for a cleanup decision.
Prepare values before grouping
A duplicate check depends on what counts as the same value. Decide whether differences in case, spaces, punctuation, or formatting are meaningful before interpreting the results. Preserve the original column so you can compare any normalized key with its source.
Normalize the selected values
For text values where capitalization and extra ordinary spaces should not create separate keys, enter this formula in B2 and fill it down:
=IF(A2="","",LOWER(TRIM(A2)))
TRIM removes leading and trailing ordinary spaces and reduces repeated ordinary spaces between words. LOWER converts text to lowercase. For example, BLUE team and blue team both become blue team.
Normalization can merge values that represent different records, so review the rule against your data. TRIM does not remove every kind of whitespace, and converting numeric identifiers to normalized text may not preserve their intended meaning. If leading zeros matter, verify how the source values are stored and displayed before comparing them.
Group and count matches
A summary makes it easier to inspect one duplicate group at a time. With normalized keys in B2:B1000, put Key in D1 and Count in E1. Enter this formula in D2:
=SORT(UNIQUE(FILTER(B2:B1000,B2:B1000<>"")))
Then enter this formula in E2 and fill it down alongside the returned keys:
=SUMPRODUCT(--($B$2:$B$1000=D2))
Each key appears once in column D, and column E shows its group count. Filter the summary for counts greater than 1 to focus on duplicates. Leave enough empty cells below D2 for the results to expand, and update the count formulas if the list grows.
If normalization is unnecessary, use column A in both formulas instead. The summary shows group counts, not the source row numbers; keep the row-level helper column when you need to locate individual records.
Inspect the duplicate report
A useful report connects each repeated value to its count and source rows. Add a Source row header in an unused column and enter this formula in row 2, then fill it down:
=IF(A2="","",ROW())
Filter the row-level count for values greater than 1 to inspect every member of each group. For example, two Oak entries in rows 2 and 7 should appear with count 2 and source row numbers 2 and 7. Sort or filter the report without separating the source row number from its record.
A row number describes the sheet position when it is calculated, not a permanent record ID. Sorting, inserting, or deleting rows can change those positions. For evidence that must survive later changes, copy the filtered results and paste values into a separate report sheet, including any stable record ID available in the source.
The embedded duplicate checker can also check pasted TSV or CSV data using selected columns and provide grouped counts, row indexes, and downloadable evidence. Its check is read-only; review the scope and match details before using the report to make changes elsewhere.
Check case-sensitive matches
For a case-sensitive comparison, use EXACT in a helper column instead of COUNTIF. Enter this in B2 and fill it down:
=IF(A2="","",SUMPRODUCT(--EXACT(A2,$A$2:$A$1000)))
Oak and oak now belong to different groups. This formula counts literal matches within the stated range, including the current row. Use a bounded range and test on a small sample first if the sheet is large.
Export evidence and avoid common mistakes
To preserve a manual report, copy the filtered duplicate rows into a separate sheet and paste values only. Include the original value, comparison key if used, duplicate count, source row, and any stable identifier needed to trace the record. Check that the copied rows contain all members of each duplicate group.
Download the report sheet through File → Download in an appropriate format. CSV exports the current sheet as plain text; it does not retain spreadsheet formulas or formatting. Reopen or inspect the exported file to verify that identifiers and row references remain usable.
Common errors can change the result:
- Including the header: Start the comparison at row 2 if row 1 contains labels.
- Checking only later repeats: An expanding-range label excludes the first occurrence from
Repeat; use the full-range count to find all group members. - Comparing the wrong scope: A single-column match does not prove that entire rows are duplicates. Add relevant key columns when records require a composite identity.
- Ignoring blanks or normalization: Decide explicitly whether empty cells, capitalization, and spaces should count as matches.
- Treating a match as a deletion instruction: Repeated values may be legitimate. Inspect associated records and keep a backup before any separate cleanup.
FAQ
Does this page delete find duplicates in column 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