Duplicate detection, grouping, and report export
Google Sheets Check For Duplicates 3 Cells
Use a read-only duplicate check for google sheets check for duplicates 3 cells 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 check three cells for duplicates in Google Sheets, compare the values in a helper cell with COUNTIF or exact equality. For three cells in the same row, the formulas below distinguish a repeated value within the row from a duplicate three-column combination elsewhere in the sheet. Neither method changes the source data.
Check three cells in one row
Suppose A2:C2 contains three values and you want to know whether any two match. Enter this formula in D2:
=IF(SUMPRODUCT((A2<>"")*(B2<>"")*(A2=B2)+(A2<>"")*(C2<>"")*(A2=C2)+(B2<>"")*(C2<>"")*(B2=C2))>0,"Duplicate","Unique")
The formula compares each pair: A with B, A with C, and B with C. It ignores pairs containing a blank or an empty-string formula result. If A2 and C2 both contain apple, the result is Duplicate; if all three nonblank values differ, it is Unique. A row with fewer than two nonblank values also returns Unique, meaning no repeated nonblank pair was found.
Copy the formula down if each row needs its own check. Each result applies only to that row; it does not compare A2:C2 with values in another row. Text comparisons here are not case-sensitive, so Apple and apple match.
Identify which cells match
To inspect a result, compare the pairs individually. For example, this formula checks A2 against B2 and excludes blanks:
=AND(A2<>"",B2<>"",A2=B2)
A TRUE result identifies a match in that pair. Repeat the comparison for A2 and C2, then B2 and C2, if you need to locate every matching pair. Three identical values produce three matching pairs, not three separate duplicate groups.
Check three cells in a column
For three consecutive cells such as A2:A4, put this formula in B2 and copy it through B4:
=IF(A2="","",IF(COUNTIF($A$2:$A$4,A2)>1,"Duplicate","Unique"))
COUNTIF counts occurrences of the current value in the fixed data range. Each nonblank value that appears more than once receives Duplicate, including its first occurrence. Dollar signs keep the three-cell range fixed as the formula is copied.
This shortcut treats * and ? in the criterion as wildcards. For literal text containing those characters, use an equality-based count instead:
=IF(A2="","",IF(SUMPRODUCT(--($A$2:$A$4=A2))>1,"Duplicate","Unique"))
For three nonadjacent cells, place their references in a helper range first or compare each pair directly. Do not extend a range across intervening cells unless those cells also belong in the check.
Check duplicate combinations across three columns
A different question is whether all three cells in one row match the corresponding cells in another row. For example, apple, red, large is a different combination from apple, green, large. Checking only the first column would flag both rows even though their complete keys differ.
Assume headers are in row 1 and records occupy A2:C100. Enter this formula in D2, then copy it down to D100:
=IF(COUNTA(A2:C2)=0,"",IF(SUMPRODUCT(--($A$2:$A$100=A2),--($B$2:$B$100=B2),--($C$2:$C$100=C2))>1,"Duplicate","Unique"))
SUMPRODUCT counts rows where all three comparisons are true. A count above one marks every occurrence of that combination as Duplicate; a count of one marks a unique row. The formula uses literal equality rather than COUNTIFS criteria, so wildcard characters in values do not expand the match.
A row with an empty key component can still match another row with the same empty component. If all three fields must be present, use this version instead:
=IF(OR(A2="",B2="",C2=""),"Incomplete",IF(SUMPRODUCT(--($A$2:$A$100=A2),--($B$2:$B$100=B2),--($C$2:$C$100=C2))>1,"Duplicate","Unique"))
Adjust the ending row to cover the full data set. Missing records outside the fixed range cannot contribute to a count, and helper formulas should remain outside the source columns. On large sheets, limit ranges to populated rows to avoid unnecessary recalculation.
Normalize the selected values
Decide what should count as a match before checking. Extra spaces, inconsistent capitalization, and values stored as text rather than numbers can make visually similar entries behave differently. Preserve the original columns and use helper columns if your comparison rules require normalization.
For text in A2, this helper removes leading and trailing spaces, reduces repeated internal spaces, and converts letters to lowercase:
=LOWER(TRIM(A2))
Copy it down and apply equivalent helpers to the other key columns when needed. TRIM changes internal spacing as well as edge spacing, so use the normalized value only if that matches your definition of a duplicate. Review special whitespace and number or date formats separately; formatting a cell does not necessarily change its underlying value.
Group and count matches
For a list in A2:A100, a grouped report shows each repeated value and its count:
=QUERY(A2:A100,"select A, count(A) where A is not null group by A having count(A) > 1 label count(A) 'Count'",0)
Place the formula in an empty area with room for the results. The report includes only groups with more than one occurrence. QUERY can treat minority data types in a mixed-type column as null, so review and standardize mixed text and numeric values before relying on its counts.
To find the source rows for a reported value in E2, use:
=FILTER(ROW($A$2:$A$100),$A$2:$A$100=E2)
This returns sheet row numbers for exact matches to E2. It does not return row contents or preserve identifiers after the source rows are sorted or moved. If no row matches, FILTER returns an error; check the selected range and value before treating that as evidence of a missing record.
Inspect the duplicate report
Review the scope before acting on any duplicate checker result. A three-cell check within one row answers a different question from a three-column key check across rows. A value that repeats in one column may belong to several valid, distinct records.
- Confirm that the range includes every intended record and excludes headers.
- Check whether blanks, case differences, spaces, and partial keys follow your intended rules.
- Compare group counts with the matching source rows and inspect other fields for meaningful differences.
- Record stable identifiers alongside row numbers when available; row numbers can change after sorting or insertion.
The embedded checker can inspect pasted sheet data using selected columns and return grouped counts and row indexes. Its check is read-only, so inspecting a report does not delete source values.
Export evidence
Keep the duplicate value or key, group count, source row numbers, and relevant identifiers together in a report. For a manual report, copy the results and paste values into a separate sheet before exporting that sheet through File → Download in a suitable format. Review the exported file to confirm it contains the intended evidence rather than only formulas or unrelated records.
The embedded checker also supports downloading evidence. Neither a count nor an export establishes which record should be retained: inspect the original rows and agree on a cleanup rule before making any changes.
FAQ
Does this page delete google sheets check for duplicates 3 cells? No, it returns a read-only duplicate report.
Paste data for google sheets check for duplicates 3 cells; 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