Duplicate detection, grouping, and report export
How To Find Duplicate Values In Google Sheets Column
Use a read-only duplicate check for how to find duplicate values in google sheets 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 duplicate values in a Google Sheets column, use COUNTIF to count each value in the column range, then filter or highlight rows where the count exceeds one. This identifies every occurrence of a repeated value without deleting or changing the source data.
Find duplicates with a helper column
Assume column A contains a header in A1 and values in A2:A100. Enter this formula in B2 and fill it down through B100:
=IF(A2="","",IF(COUNTIF($A$2:$A$100,A2)>1,"Duplicate","Unique"))
The formula leaves blank cells unlabeled. COUNTIF counts matches for the current value; the inner IF labels values appearing more than once as Duplicate. A value appearing once receives the Unique label.
The dollar signs lock the search range, while A2 remains a relative reference and changes to A3, A4, and so on as you fill down. Adjust the range and fill length to cover your data set. Values beyond row 100 are not included in these counts.
For example, if A2 contains Apple, A3 contains Pear, and A4 contains Apple, both Apple rows receive Duplicate and the Pear row receives Unique. To inspect only repeated entries, select the table, choose Data > Create a filter, and filter column B to Duplicate.
Mark only later occurrences
Use a running count when you want to distinguish the first occurrence from later ones: find-duplicate-values-in-a-column-google-sheets
=IF(A2="","",IF(COUNTIF($A$2:A2,A2)>1,"Repeat","First"))
Fill this formula down from B2. The range starts at A2 and expands to the current row, so the first Apple is First and the second is Repeat. Sorting the sheet can change which occurrence is first; use this label only when row order has meaning.
Show counts beside values
A numeric count helps prioritize groups with several occurrences. Enter this in B2 and fill down:
=IF(A2="","",COUNTIF($A$2:$A$100,A2))
Filter for counts greater than 1 to see all duplicate rows. A count of 3 means the value appears three times in the selected range, not that there are three extra copies. The number of occurrences after the first is the count minus one.
Highlight duplicate values in the column
Conditional formatting shows repeated values in place without adding a status column. It changes appearance, not cell contents.
- Select A2:A100, excluding the header.
- Choose Format > Conditional formatting.
- Under Format cells if, choose Custom formula is.
- Enter the formula below, choose a formatting style, and select Done.
=AND(A2<>"",COUNTIF($A$2:$A$100,A2)>1)
The reference A2 must be relative to the first cell of the applied range. The fixed range supplies the comparison scope, and A2<>"" prevents blank cells from being highlighted. If the applied range starts elsewhere or extends beyond row 100, update both references to match it. finding-duplicate-values-in-google-sheets
Use the helper column instead when you need to filter, sort, or export status labels. Formatting is useful for visual inspection but does not itself provide a separate list of groups or row numbers.
Normalize the selected values
Extra spaces and inconsistent capitalization can make text harder to review. If those differences should not define separate records, create a helper key in an empty column, such as C2:
=IF(A2="","",LOWER(TRIM(SUBSTITUTE(TO_TEXT(A2),CHAR(160)," "))))
Fill the formula down, then run the duplicate count against C2:C100 instead of column A. SUBSTITUTE replaces nonbreaking spaces, TRIM removes leading and trailing spaces and reduces repeated ordinary spaces, and LOWER standardizes case. TO_TEXT converts numeric values to text, so review the resulting keys before using them to make decisions.
Normalization changes the comparison, not the original column. For example, North and north receive the same normalized key. That may be appropriate for names, but it may be wrong for identifiers where spacing or case has meaning. A whitespace-only cell can also produce an empty key, which the blank check in the counting formula excludes.
COUNTIF is case-insensitive for text. Use a case-sensitive comparison method if ABC and abc must remain distinct; do not assume changing the display format changes how values are matched. Also check numeric values stored as text, leading zeros, and hidden characters when an apparent match is not reported as expected. how-to-find-duplicate-values-google-sheets
Group and count matches
A grouped report gives one row per repeated value. Place this formula in an empty area with room for two output columns:
=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 result lists each repeated value and its count within A2:A100. The final 0 tells QUERY that the supplied range has no header. If you normalize in column C, use C2:C100 and replace the column references inside the query with C.
QUERY can treat minority data types in a mixed-type column as null. Check mixed numbers and text before relying on this report, or prepare a consistently typed helper column and confirm that its conversion preserves the distinctions you need.
Inspect the report for duplicate values
Compare group counts with the underlying rows before deciding what a duplicate means. Two identical email addresses may represent a repeated contact, while two identical product names may be valid entries for different locations.
To retrieve the source row numbers for a specific value in E2, use: how-to-find-the-duplicate-values-in-google-sheets
=IF(E2="","",IFNA(TEXTJOIN(", ",TRUE,FILTER(ROW($A$2:$A$100),$A$2:$A$100=E2)),"No matches"))
This returns sheet row numbers separated by commas. Put a value from the grouped report in E2; if no exact match exists, the result says No matches. For normalized groups, compare against the normalized helper column and use the same row bounds for both ROW and FILTER.
The embedded duplicate checker can check pasted data using selected columns and provide grouped counts and row indexes. Its check is read-only; confirm the selected scope and what the indexes refer to before using the report for follow-up work.
Export evidence
Keep a reviewable record of the values, counts, and source rows before any cleanup. A grouped count identifies the affected keys; row-level evidence lets a reviewer inspect the corresponding records and decide whether they are genuine duplicates.
For a manual report, place the grouped results and row numbers on a separate sheet. If you need a fixed snapshot, copy the results and use Edit > Paste special > Values only in a separate report area, then download the spreadsheet or a suitable sheet format through File > Download. Check the downloaded file to confirm it contains the intended report and columns.
The embedded check also supports downloading evidence. Neither a report nor a highlight removes duplicates, and neither establishes which record should be retained. Review related columns and keep a backup before making any later changes.
FAQ
Does this page delete how to find duplicate values in google sheets column?
No, it returns a read-only duplicate report.
What do I do with the tool?
Paste data for how to find duplicate values in google sheets column; 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