This means only the row number will change as the formula is evaluated.
TheNOT functionreverses this logic so that the formula returns TRUE only when the values don’t match.
Another approach is to count instances that appear in one range but do not appear in another.
For details on this approach, seehighlight missing values.
NOT Function
The Excel NOT function returns the opposite of a given logical or Boolean value.
When given TRUE, NOT returns FALSE.
When given FALSE, NOT returns TRUE.
Use the NOT function to reverse a logical value.