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

Duplicate detection, grouping, and report export

Google Sheets Does Not Equal Formula

Use a read-only duplicate check for google sheets does not equal formula 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
Check duplicates now
Review grouped matches for google sheets does not equal formula 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

Use <> in a Google Sheets does not equal formula: =A2<>B2 returns TRUE when the two cell values differ and FALSE when they match. Enter it in an empty cell, then fill down to compare corresponding rows. To compare against a fixed value instead, use a formula such as =A2<>"Closed".

This tool runs a read-only check on pasted sheet data and groups duplicate rows by the selected column.

Compare cells and values

Suppose column A contains an expected status and column B contains the actual status. In C2, enter:

=A2<>B2

Copy the formula down alongside your data. A row with Open in A and Closed in B returns TRUE; matching values return FALSE. This is a row-by-row comparison, not a search for a value anywhere else in the data set.

Use IF when a label is easier to read than a Boolean result:

=IF(A2<>B2,"Different","Match")

Text constants need quotation marks; cell references do not. For example, =A2<>"100" compares A2 with text, while =A2<>100 compares it with a number. Check whether imported numbers are stored as text before interpreting unexpected results. google-sheets-not-equal-formula

Exclude blank cells

A blank cell and a populated cell can produce a difference even when a record is incomplete. To compare only rows where both cells are nonblank, use:

=IF(OR(A2="",B2=""),"",IF(A2<>B2,"Different","Match"))

This treats cells containing a formula that returns an empty string as blank for the test. If missing values matter, keep the original comparison or label incomplete rows separately instead of hiding them.

Compare with a fixed reference

To compare each value in column A with a threshold or category stored in E1, enter this in B2 and fill down:

=A2<>$E$1

A2 is a relative reference, so it changes to A3, A4, and so on. $E$1 is an absolute reference and stays fixed. Without the dollar signs, filling down would move the comparison cell too.

Compare sheets and find missing values

To compare the same position on two tabs, enter this on a report sheet: google-sheets-not-equal-int

=Sheet1!A2<>Sheet2!A2

Fill across or down for the corresponding cells. Enclose a sheet name containing spaces in single quotes, as in 'First Sheet'!A2. This method assumes both sheets use the same row and column order; a sorted or inserted row can make unrelated records appear different.

For an exact key lookup instead, check whether A2 appears anywhere in column A of Sheet2:

=IF(A2="","",IF(COUNTIF(Sheet2!$A$2:$A$1000,A2)=0,"Missing","Found"))

Here, zero means no matching key was counted in the specified range. Extend the range when data goes beyond row 1000. A found key does not prove that other fields in the row match, and repeated keys require further review before choosing which record to compare.

COUNTIF interprets * and ? as wildcards in criteria. If keys can contain those characters, use an equality-based count for a literal comparison:

=IF(A2="","",IF(SUMPRODUCT(--(Sheet2!$A$2:$A$1000=A2))=0,"Missing","Found"))
Paste your data above to see grouped counts and row indexes without altering your source file.

Find duplicate values before comparing differences

The <> operator tests inequality; it does not by itself group duplicate values. To identify repeated keys in A2:A1000, put this formula in B2 and fill down: group-and-count-matches

=IF(A2="","",IF(COUNTIF($A$2:$A$1000,A2)>1,"Duplicate","Unique"))

Every occurrence of a repeated key receives Duplicate, including the first. This formula is suitable for keys without wildcard characters; use an equality-based count if literal * or ? characters can appear. Restrict the range to the records you intend to inspect, and avoid including the header.

To label only later occurrences, use an expanding range:

=IF(A2="","",IF(COUNTIF($A$2:A2,A2)>1,"Repeated occurrence","First occurrence"))

The first A2 stays fixed while the second reference expands as you fill down. Sorting the data can change which occurrence is labeled first, so retain a stable record ID if the original order matters.

Normalize the selected values

Hidden spaces and inconsistent capitalization can split values that represent the same key. In a helper column, normalize text before counting: find-duplicate-values

=IF(A2="","",LOWER(TRIM(A2)))

Fill down, then apply the duplicate formula to the helper column instead of column A. TRIM removes leading and trailing ordinary spaces and reduces repeated ordinary spaces; LOWER standardizes case. Nonbreaking spaces and other characters may need separate treatment. Review the original values because normalization can also combine entries you meant to keep distinct.

Group and count matches

To produce a compact count report from normalized keys in D2:D1000, use:

=QUERY(D2:D1000,"select D, count(D) where D is not null group by D having count(D) > 1 label count(D) 'Count'",0)

Each returned row shows a repeated key and its count. For example, three occurrences of alpha produce one alpha group with a count of 3. Check the helper range and confirm that its values are consistently text; mixed data types can affect QUERY results.

Inspect the report

Compare grouped counts with the original rows before treating any occurrence as an error. A repeated customer ID, for example, may represent separate transactions rather than duplicate records. If identity depends on several fields, check the full combination rather than a single column.

To count rows where both the key in A and date in B match the current row, use: export-evidence

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

A result greater than 1 identifies a repeated key-and-date combination within that range. This example assumes keys do not contain wildcard characters. Blank keys or dates are excluded by the guard; adjust that rule if incomplete records must be counted.

The embedded read-only duplicate check can also inspect pasted data using selected columns and report grouped counts and row indexes. Its check does not change the source sheet; compare its selected scope and blank-value treatment with your formula before reconciling results.

Export evidence

Keep the original values, helper values, status labels, and a stable record ID or source row number together in a report. Row numbers can change after sorting or inserting rows, so capture them before rearranging the source. Review error values and unexpected blanks before sharing the report; they can affect comparisons and counts.

Export the report to keep source values, status labels, and row references together.

In Google Sheets, copy the reviewed report to a separate sheet if needed, then use File > Download and choose an available format. If you need formula results rather than live references, paste values into the report first. The embedded check also supports downloading evidence; inspect the exported file before using it for a later cleanup.

FAQ

Does this page delete google sheets does not equal formula?

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