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

Duplicate detection, grouping, and report export

Not Equal To Google Sheets

Use a read-only duplicate check for not equal to 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.

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 not equal to google sheets 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 <> for not equal to in Google Sheets. For example, =A2<>B2 returns TRUE when the values differ and FALSE when they match. To label the result instead, use =IF(A2<>B2,"Different","Match").

Paste your TSV or CSV data, choose which columns form the key, and run the read-only check to group matching rows and show counts.

Compare values and ranges

Enter a comparison formula in an empty column beside your data. If column A contains original values and column B contains revised values, follow these steps:

  1. Enter =A2<>B2 in C2.
  2. Fill the formula down through the rows you want to check.
  3. Filter column C for TRUE to inspect differences.

The cell references are relative, so the formula in C3 compares A3 with B3. This method compares cells on the same row; it does not search the whole data set for a matching value.

To compare corresponding cells on another sheet, include its name in the reference:

=A2<>'Sheet 2'!A2

This formula compares A2 on the current sheet with A2 on Sheet 2. Use single quotes around sheet names containing spaces, and check that both sheets use the same row order before interpreting differences.

Handle blank cells

A comparison can flag a row where only one cell is blank. To skip any row unless both cells contain a value, use:

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

This returns an empty string if either cell is blank or returns an empty string from a formula. If blank versus populated is a meaningful difference, use the original =A2<>B2 comparison instead. not-equal-sign-in-google-sheets

Count values that are not equal

Use COUNTIF with the <> operator inside the criterion. For example, count cells in A2:A100 that are not equal to the text Closed:

=COUNTIF(A2:A100,"<>Closed")

To exclude blank cells as well, add a condition with COUNTIFS:

=COUNTIFS(A2:A100,"<>Closed",A2:A100,"<>")

For a criterion stored in D1, join the operator and cell reference with &:

=COUNTIFS(A2:A100,"<>"&D1,A2:A100,"<>")

The quotation marks belong around the operator, not the reference. This example assumes D1 contains a nonblank value. If the criterion contains wildcard characters such as * or ?, check the result against sample data because COUNTIF criteria can interpret them as patterns.

To count rows where two columns differ, create a helper column with =A2<>B2, fill it down, and count its TRUE results:

=COUNTIF(C2:C100,TRUE)

Add the blank-handling formula to column C instead if incomplete rows must be excluded. A single COUNTIF criterion against one cell does not perform a row-by-row comparison of two ranges.

Find values missing from another range

When normalization merges keys, export the row-level evidence instead of relying only on the grouped view.

A row-by-row comparison can report differences when the same values appear in a different order. To check whether each nonblank value in A2:A100 appears anywhere in B2:B100, enter this in C2 and fill down: does-not-equal-code-google-sheets

=IF(A2="","",IF(COUNTIF($B$2:$B$100,A2)=0,"Missing","Found"))

The absolute range reference keeps the lookup range fixed as the formula moves. A value marked Found may appear once or many times; this check tests presence, not whether duplicate counts match. Text containing * or ? needs extra care because COUNTIF treats these as wildcard characters in criteria.

Inspect duplicate groups and differences

Duplicate detection answers a different question from <>: it groups equal values rather than finding unequal cells. Use both checks when a report needs to show repeated keys as well as records that differ.

Normalize the selected values

Keep original values intact and use a helper column to remove leading, trailing, and repeated ordinary spaces before grouping:

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

Fill the formula down and review the returned values. Normalization can merge entries that were intentionally different; nonbreaking spaces and other hidden characters may also need separate treatment. Decide which differences matter before using a cleaned column as a key.

Group and count matches

With cleaned keys in column C, count each nonblank key in D2:

=IF(C2="","",COUNTIF($C$2:$C$100,C2))

Fill down and filter for counts greater than 1 to inspect duplicate values. Each row in a group shows the group's count, so do not add those counts to calculate the number of duplicate groups. If keys can contain wildcard characters, validate counts or escape those characters before using COUNTIF. does-not-equal-operator-google-sheets

For sheet data pasted as TSV or CSV, the embedded read-only duplicate check can group selected columns and return counts and row indexes. Its downloadable evidence helps preserve the findings without changing source values.

Troubleshoot amounts showing as not equal in Google Sheets

Amounts that look identical can differ in their underlying precision. Select the cells and increase displayed decimal places to inspect more digits. If both amounts should be compared to the nearest cent, use:

=ROUND(A2,2)<>ROUND(B2,2)

This compares rounded results, not the original precision. Choose the number of decimal places according to your calculation rules; rounding can hide a difference that matters elsewhere.

Numbers stored as text can also produce unexpected comparisons or calculations. Check the underlying values and convert text to numbers only when the text follows a valid number format for the spreadsheet locale. Dates are stored as numeric values too, so a hidden time portion can make two dates differ even when their displayed dates match.

Export evidence

Before exporting, retain the source row numbers alongside keys, comparison results, and duplicate counts. Filter the helper columns to the relevant differences or repeated keys, then copy the visible findings to a separate sheet for review. Record which source sheet and ranges were checked so another reviewer can trace each finding.

Download the review sheet using File → Download and choose an appropriate format. CSV contains only the current sheet and does not preserve formulas or formatting as spreadsheet features; keep a spreadsheet copy when reviewers need those details. Review the exported file before sharing, especially when source rows contain sensitive information.

FAQ

Does this page delete not equal to google sheets?

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