Check for Duplicates in Google Sheets
en
Run read-only duplicate check

Duplicate detection, grouping, and report export

Google Sheets Search Sheet For Duplicates Multiple Columns

Use a read-only duplicate check for google sheets search sheet for duplicates multiple columns 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.

Inspect duplicate groups in the selected sheet dataKeep source values unchanged during the checkExport row-level evidence for the next step
Run read-only duplicate check
Review grouped matches for google sheets search sheet for duplicates multiple columns before exporting duplicate evidence.

Report reading guide

Read duplicate results in three passes

  1. Scope: confirm selected key columns.
  2. Groups: review repeated values and counts.
  3. Rows: compare source row numbers before acting.
Key customer@example.comCount 3 matchesRows 12, 27, 41

To search for duplicates across multiple columns in Google Sheets, first decide whether a duplicate means a repeated combination of values in one row or a value that appears anywhere in several columns. Use COUNTIFS for matching row combinations and a combined range with COUNTIF for repeated individual values. Both approaches leave the source data unchanged.

This article explains how to find duplicates across multiple columns in Google Sheets, and the embedded checker lets you verify a pasted range for grouped matches in your browser.

Define the duplicate key

A duplicate key is the set of columns that identifies a record for your purpose. For example, if column A contains customer IDs and column B contains order dates, two rows are duplicates only when both the ID and date match. The same customer on a different date remains a separate record.

Choose the data range before writing a formula. The examples below use headers in row 1 and data in rows 2–1000. Adjust every range to cover the same rows in your spreadsheet, and include additional key columns only when their values are part of the definition of a duplicate.

Normalize the selected values

Extra spaces and inconsistent letter case can hide matches. To compare cleaned text without changing the original values, put this formula in an empty helper column, such as C2, and fill it down:

=LOWER(TRIM(A2))

Create a corresponding helper column for B, then use those helper columns as the criteria ranges in the duplicate formulas. TRIM removes leading and trailing ordinary spaces and reduces repeated ordinary spaces; LOWER makes text lowercase. Nonbreaking spaces and other hidden characters may need separate cleaning.

Normalization changes what counts as a match. For example, ABC and abc become the same key after LOWER; keep original values when capitalization distinguishes identifiers. Dates and numbers should be stored consistently as dates and numbers rather than mixed with text that only looks similar.

Group and count matches

Enter this formula in an empty column on row 2 and fill it down to row 1000:

=IF(OR(A2="",B2=""),"",COUNTIFS($A$2:$A$1000,A2,$B$2:$B$1000,B2))

Each populated key receives its group count. A result of 1 means the combination occurs once; 2 or more means it appears in multiple rows. For example, if C17 and 2026-01-10 occur together in rows 2 and 8, both rows receive 2.

This formula skips rows when either key cell is blank. Remove the IF wrapper if blank fields should participate in the comparison, but check whether incomplete records should really be grouped together. For a three-column key, add $C$2:$C$1000,C2 as another criteria pair and extend the blank check if needed. find duplicates between 2 columns in google sheets

To label every matching row instead of displaying its count, use:

=IF(OR(A2="",B2=""),"",IF(COUNTIFS($A$2:$A$1000,A2,$B$2:$B$1000,B2)>1,"Duplicate","Unique"))

COUNTIFS comparisons are case-insensitive. It also treats * and ? in text criteria as wildcards, so these formulas are not suitable for literal identifiers containing those characters without additional escaping. Use a case-sensitive method when capitalization or literal special characters matter.

Inspect the report for multiple-column duplicates

Keep row numbers alongside the results so you can find each source record. In another empty column, enter =ROW() in row 2 and fill down. Filter the count column for values greater than 1 to inspect all members of each duplicate group, including the first occurrence.

Sort or filter the report by the key columns and count to place related records together. Compare the remaining fields before deciding whether two matching keys represent redundant records, legitimate transactions, or entries that need correction. A repeated key alone does not establish which row is authoritative. search for duplicates in google sheets

If you prefer a point-and-click verification instead of writing formulas, the browser-based checker scans the selected columns and lists grouped counts with row indexes.

To produce one summary row per repeated combination, put this formula in an empty area with room for its results:

=QUERY(A1:B1000,"select A, B, count(A) where A is not null and B is not null group by A, B having count(A) > 1 label count(A) 'Count'",1)

The summary lists each qualifying A/B combination and its group count, not the individual source row numbers. QUERY interprets each column according to its data type; mixed text and numeric values can be treated as null, so standardize the key columns and check the results against the row-level counts.

The embedded duplicate checker can also check pasted data for duplicates using selected columns and return grouped counts and row indexes. Its check is read-only; compare its reported row indexes with your source range before using them as evidence.

Find duplicates in two columns as individual values

A row-combination check answers a different question from finding the same value anywhere in columns A and B. To compare the two columns as one list, place this formula in an empty column: can i search for duplicates in google sheets

=FILTER({A2:A1000;B2:B1000},{A2:A1000;B2:B1000}<>"")

This stacks nonblank A values above nonblank B values. Assuming the result starts in E2, enter the next formula in F2 and fill it down alongside the stacked values:

=IF(E2="","",COUNTIF($E$2:$E$2000,E2))

Counts above 1 identify values repeated anywhere in the combined list, including repeats within a single column. This example allows for up to 1,998 nonblank source cells; adjust the E range when the source range changes. An empty source produces no FILTER matches, so handle that case before treating an error as a duplicate.

To check only whether each A value also occurs in B, use =IF(A2="","",IF(COUNTIF($B$2:$B$1000,A2)>0,"Match in B","No match in B")) and fill down. That identifies cross-column matches but does not flag duplicates that occur only within A. COUNTIF is case-insensitive and interprets wildcard characters in criteria.

Use case-sensitive comparison when needed

For a case-sensitive two-column key, compare each row with the current key using EXACT. Enter this in an empty column and fill down: how do i search for duplicates in google sheets

=IF(OR(A2="",B2=""),"",SUMPRODUCT(--EXACT($A$2:$A$1000,A2),--EXACT($B$2:$B$1000,B2)))

A count above 1 flags an exact-case match in both columns. Unlike the COUNTIFS examples, EXACT compares text literally, so * and ? are not wildcard criteria. Test representative identifiers first, especially if the key includes dates or numbers that need consistent representation.

Export evidence

Copy the filtered key columns, counts, and source row numbers into a separate report sheet. Include enough context to verify each match, but omit unrelated sensitive fields. If you copy formula results into a static report, use Paste special → Values only so the evidence does not change when the source changes.

Download the report sheet through File → Download in an appropriate format, such as CSV for a single-sheet report. The embedded checker also supports downloading its results. Preserve the original data and verify row references before any later cleanup; neither a duplicate count nor an exported report deletes records.

FAQ

Does this page delete google sheets search sheet for duplicates multiple columns?

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

Run read-only duplicate check