Duplicate detection, grouping, and report export
How To Find Duplicates In A Column In Google Sheets
Use a read-only duplicate check for how to find duplicates in a column 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.
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.
You do not need formulas or an add-on to find duplicates in a column in Google Sheets when you only need to inspect them. Paste your data, choose the key column, and review grouped duplicate values, their row indexes, and counts without altering the source sheet.
Try the read-only duplicate check above to scan your data without altering the original sheet.Prepare the data for an accurate result
A duplicate check returns exact matches only. Cleaning the input first removes most false results.
- Trim spaces: duplicates like
AppleandApplecompare as different strings. - Remove leading or trailing whitespace with a helper column:
=TRIM(A2). - Normalize text case so
APPLE,apple, andApplecompare together:=LOWER(TRIM(A2)). - Strip currency symbols and thousands separators before comparing, then reapply formatting to the cleaned values.
- Convert dates to a single standard date serial with
=DATEVALUE(A2)or a fixed display format before checking.
Use only one normalized copy as the key column. Do not compare the original mixed values against cleaned results, or every row will appear unique.
Find duplicates with COUNTIF
The most portable method uses COUNTIF. It works on a single column range and updates as the sheet changes.
=COUNTIF($A$2:$A$100, A2)
Place that formula in a parallel column. A result of 1 means the value is unique. A result greater than 1 means the row contains a duplicate. Filter or sort on that helper column to isolate all matching rows.
To list only values that repeat, wrap the count in IF and filter out blanks:
=IF(COUNTIF($A$2:$A$100, A2)>1, A2, "")
Find duplicates with UNIQUE and array formulas
When you need a compact list instead of per-row flags, combine UNIQUE with COUNTIF inside FILTER:
=FILTER(UNIQUE(A2:A), COUNTIF(A2:A, UNIQUE(A2:A))>1)
This returns each duplicate value once, in the order UNIQUE decides. It works on unsorted data and expands automatically as you add rows. For a multi-row record, duplicate the same expression across several columns and join the results into a single line.
Find duplicates with conditional formatting
Highlighting duplicates in place requires no helper column. Select the key column or range, open Format > Conditional formatting, set the rule to "Custom formula is", and enter:
=COUNTIF($A$2:$A$100, A2)>1
Choose a fill color. Every repeated cell in that column lights up, which helps during manual inspection. This method is visual only and does not produce a list you can export.
Inspect grouped matches, row indexes, and counts
A read-only duplicate check groups repeated values and shows each group's count plus the row indexes where it occurs. Inspect those indexes before deciding how to fix the data: one bad group may need one deletion, while another may need merging several copies.
Typical report output looks like this, where the group, count, and matching row numbers appear side by side:
| Value | Count | Row indexes | |---|---|---| | ACME Ltd | 3 | 7, 19, 44 | | 2024-01-15 | 2 | 12, 38 | | blue | 4 | 3, 8, 21, 55 |
Check that identical-looking rows really share the same underlying value. Spaces, zero-width characters, and mixed date formats can hide duplicates from the eye while the count already counts them.
Export evidence for the next step
Once you have the report, export a controlled copy as CSV so the grouped values, counts, and row indexes survive into another sheet or a ticket. Do not delete rows during inspection. Work on the export or a copy, compare, then remove only the duplicates you confirmed. Recheck afterward; a deletion can shift row indexes and invalidate any remaining reference list.
Limitations
Exact-match tools treat text, numbers, and dates separately. A 10 and "10" usually do not count as the same duplicate. Formula results can also differ visually from their true type, so normalize before relying on a single result. Sheets limits some large range operations on very big columns; if a formula is slow, narrow the range first or sample with a sorted group instead of scanning the whole sheet.
Common mistakes
- Sorting the range breaks the link between a reported row index and the actual row. Keep the original order until export is complete.
- Including blank cells in the key range inflates the count and makes the empty row look like a frequent duplicate.
- Applying
COUNTIFwith a relative range likeA2:Achanges meaning when you copy it down. Lock the range with$. - Checking the wrong scope. A column-level check will not find a matching value elsewhere in a different column.
- Deleting duplicates by eye instead of by index. One missed cell leaves an unnoticed copy behind.
FAQ
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