Duplicate detection, grouping, and report export
Google Sheets Find Duplicates In One Column
Use a read-only duplicate check for google sheets find duplicates in one column 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 one Google Sheets column, use COUNTIF to count each value in the selected range. A count greater than 1 identifies every occurrence of a duplicate; filter the results to inspect those rows without changing the source values.
Find duplicate values with a helper column
Assume column A contains a header in A1 and values in A2:A100. Place this formula in B2, then fill it down through B100:
=IF(A2="","",IF(COUNTIF($A$2:$A$100,A2)>1,"Duplicate","Unique"))
The fixed range $A$2:$A$100 searches the same data set for each row, while A2 changes as you fill the formula down. Blank cells return an empty result. If apple appears in A2 and A7, both rows receive the Duplicate label.
To inspect the matches:
- Add a header such as
Duplicate statusin B1. - Select the data range, including its headers, and choose Data > Create a filter.
- Open the filter in column B and select only
Duplicate. - Review the visible sheet row numbers and associated records before making any changes.
Adjust the column range if your data extends beyond row 100. Keep the header outside the COUNTIF range so a header matching a data value does not inflate the count. The helper column changes the sheet, but it does not modify the values being checked.
Mark only later occurrences
To keep the first occurrence unmarked and flag subsequent occurrences, use an expanding range in B2 and fill down: Duplicate detection and grouping for sheets
=IF(A2="","",IF(COUNTIF($A$2:A2,A2)>1,"Repeated occurrence","First occurrence"))
Here, COUNTIF searches from A2 through the current row. If apple appears in A2 and A7, A2 is the first occurrence and A7 is a repeated occurrence. Row order determines which occurrence is first; sorting the source data can change the labels.
Normalize the selected values
Visual differences can hide matches. For text values with accidental leading, trailing, or repeated ordinary spaces, create a separate key in C2 and fill down:
=IF(A2="","",LOWER(TRIM(A2)))
Then apply the duplicate formula to C2:C100 instead of A2:A100. For example, Apple and apple produce the same normalized key. Keep the original column for review: normalizing changes the comparison rule and may group values that should remain distinct. Find duplicates in one column Google Sheets
TRIM does not remove non-breaking spaces. Also review numbers stored as text, dates, formulas returning empty strings, and values that look alike because of formatting. Decide whether each represents the same identifier before treating it as a duplicate.
Group and count matches
Use the exported row-level evidence to decide which repeated rows need a follow-up fix.A grouped report shows which values repeat and how often, rather than labeling every source row. Place this formula in an empty area with room for the results: How to find duplicates in a column Google Sheets
=QUERY(A2:A100,"select A, count(A) where A is not null group by A having count(A) > 1 label A 'Value', count(A) 'Count'",0)
The output contains one row per repeated value and its group count. If apple appears three times and pear once, the report lists apple with a count of 3 and omits pear. The count includes the first occurrence; there are two occurrences beyond the first.
For normalized grouping, run the same pattern against the helper key column, changing the range and query column references from A to C. QUERY can treat minority data types in a mixed-type column as null, so use a consistent key type and check the result against the source. Formula separators may also differ by spreadsheet locale.
Highlight duplicates in the column
Conditional formatting makes repeated values visible in place without adding a status column. It highlights every occurrence, including the first. How to find duplicates in Google Sheets column
- Select A2:A100 and choose Format > Conditional formatting.
- Under Format cells if, choose Custom formula is.
- Enter the formula below, choose a format, and select Done.
=AND(A2<>"",COUNTIF($A$2:$A$100,A2)>1)
The relative reference A2 must match the top-left cell of the applied range. The absolute search range keeps the comparison fixed. If you expand the applied range, expand the search range too; otherwise, values outside the search range can receive misleading results.
Inspect the report for one-column duplicates
Check the scope before interpreting a match. A duplicate in column A means the selected key repeats; it does not mean the entire row is identical. Two orders may share a customer ID while describing different transactions.
- Confirm the column header and first data row are excluded or included as intended.
- Check whether blanks should be ignored; the helper and highlight formulas above ignore them.
- Compare grouped counts with filtered row-level records, especially where normalization was used.
- Review the first and later occurrences in context before choosing which records need attention.
For a read-only duplicate check, the embedded checker accepts pasted CSV or TSV data and lets you choose the comparison columns. Its result provides grouped counts and row indexes for inspection; checking does not delete source records. How to find duplicates in Google Sheets in one column
Export evidence
A grouped count is useful for a summary, while row-level evidence shows where each occurrence appeared. Preserve both when handing findings to someone who will investigate or clean the data.
- Record the sheet name, checked column, data range, and whether you used normalized keys.
- Copy the filtered rows and their sheet row numbers into a separate report, including the original key and any fields needed to distinguish records.
- Add the grouped count for each repeated key, then download the report in a suitable format using File > Download.
- Verify a few exported row numbers and values against the source sheet. Row numbers can change after sorting, inserting, or deleting rows, so capture a stable record ID when one exists.
The checker also supports downloading evidence from its result. Neither a duplicate label nor an exported count establishes which record should be removed; review the underlying records and keep cleanup separate from detection.
FAQ
Does this page delete or modify my data when checking duplicates?
No, it returns a read-only duplicate report. Nothing is deleted or changed.
Run read-only duplicate check
Run read-only duplicate check
Paste data, choose the key scope, inspect grouped matches, and export the evidence.