
Reverses a logical result so TRUE becomes FALSE and FALSE becomes TRUE.
The Excel NOT function reverses a logical result. If the original result is TRUE, NOT returns FALSE. If the original result is FALSE, NOT returns TRUE.
NOT is useful when a workbook needs to focus on exceptions, missing items, or failed checks instead of passed checks. It often appears inside larger formulas where the "negative" version of a test is easier to read than rewriting the entire condition from scratch.
Use NOT when you want the opposite of an existing TRUE/FALSE test.
Returns the opposite of the logical value supplied to the function.
=NOT(logical)
NOT takes one argument: a logical value or a formula that evaluates to TRUE or FALSE.
This argument can be a direct value such as TRUE, a comparison such as A1=100, or the output of another logical function.
| Function | Main Idea | Returns TRUE When | Best Use |
|---|---|---|---|
NOT |
Reverse a logical result | The original test is FALSE | Exclusions and opposite checks |
AND |
All conditions must pass | Every test is TRUE | Strict requirements |
OR |
Any condition may pass | At least one test is TRUE | Flexible rules |
ISBLANK |
Test for an empty cell | The cell has no value | Blank-cell checks |
NOT is not usually used by itself for large decisions. More often, it sits around another logical test to flip the final answer.
NOT is useful when the negative version of a rule is easier to express. For example, instead of asking "is this record valid?", a worksheet might need to ask "is this record not valid?" or "is this item not complete yet?" In those cases, NOT makes the formula easier to read.
A very common pattern is NOT(ISBLANK(A1)). That formula returns TRUE when a cell contains something and FALSE when it is empty. It is often easier to understand than writing a more indirect blank check manually.
One practical tip is to avoid unnecessary double negatives. A formula such as NOT(A1<>10) is valid, but many readers will find it harder to understand than the simpler equivalent A1=10. When possible, choose the clearer version.
The most direct use of NOT is flipping a logical value.
=NOT(TRUE)
This returns FALSE. It is a simple way to see exactly what the function does before using it inside larger formulas.
In cell F1, reverse the logical value TRUE with =NOT(TRUE).
NOT can wrap a comparison when you want to emphasize the opposite outcome.
=NOT(B2=100)
This returns TRUE when B2 is anything other than 100. It works, although the simpler comparison B2<>100 is often easier to read.
In cell F2, check whether B2 is not equal to 100.
NOT is often combined with ISBLANK for data-entry validation.
=NOT(ISBLANK(B2))
This returns TRUE when the cell contains a value and FALSE when it is blank. It is a very common pattern in input checks and required-field rules.
In cell F3, check whether B2 is not blank.
You can also use NOT to flip a target comparison.
=NOT(B2=G2)
This returns TRUE when the actual value does not match the target. Similar patterns can be used to highlight failed benchmarks or missing matches.
In cell F4, return TRUE if B2 is not equal to G2.
NOT returns the opposite of a logical result.NOT(ISBLANK(cell)) checks whether a cell has data.Tell your friends about this post