Category: FUNCTION | Updated: 2026-11-20
How to Use the NOT Function in Google Sheets | Reverse Boolean Values (TRUE/FALSE)
How to Use the NOT Function
The NOT function reverses the TRUE and FALSE values of a logical expression or boolean value. Use it when you want to create a negative condition such as “if not X.”
Syntax
=NOT(logical_expression)
- logical_expression: A single expression, cell reference, or boolean value that evaluates to
TRUEorFALSE(required).
Table Example
Here is an example using the task tracker below to display "Completed" when the completion date is not blank (entered), and "Incomplete" when it is blank.
| Row | Column A (Task Name) | Column B (Completion Date) | Column C (Status) |
|---|---|---|---|
| 1 | Task Name | Completion Date | Status |
| 2 | Draft Proposal | 2026/11/15 | =IF(NOT(ISBLANK(B2)), "Completed", "Incomplete") |
| 3 | Design Review | (Blank) | =IF(NOT(ISBLANK(B3)), "Completed", "Incomplete") |
| 4 | Publish Settings | 2026/11/20 | =IF(NOT(ISBLANK(B4)), "Completed", "Incomplete") |
- Row 2 formula:
=IF(NOT(ISBLANK(B2)), "Completed", "Incomplete")→ISBLANK(B2)isFALSE, andNOTinverts it toTRUE, returningCompleted - Row 3 formula:
=IF(NOT(ISBLANK(B3)), "Completed", "Incomplete")→ISBLANK(B3)isTRUE, andNOTinverts it toFALSE, returningIncomplete
Common Errors and Notes
- Specifying multiple arguments causes an error (
#N/A):NOTaccepts only one argument. Passing multiple arguments likeNOT(A2=1, B2=2)results in an argument count error; to negate multiple conditions, writeNOT(OR(A2=1, B2=2)). - Specifying text causes an error (
#VALUE!): Passing a text string that cannot be converted to a boolean or number (e.g.,=NOT("abc")) results in a#VALUE!error. Note that the number0is treated asFALSEand any non-zero number is treated asTRUE.
Frequently Asked Questions
Q. When is the NOT function commonly used?
A. It is frequently combined with the IF function when you want to write a clear negative condition, such as "when not blank (=NOT(ISBLANK(A2)))" or "when it does not contain a specific string".
Q. What is the difference between the "<>" operator and the NOT function?
A. The "<>" operator is simpler for inequality comparisons like "A2<>\"Completed\"", whereas NOT is useful for inverting the result of functions that return TRUE/FALSE, such as ISBLANK or REGEXMATCH.