Exceljet

Quick, clean, and to the point

Excel NOT Function

Excel NOT function
Summary 

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.

Purpose 
Reverse arguments or results
Return value 
A reversed logical value
Syntax 
=NOT (logical)
Arguments 
  • logical - A value or logical expression that can be evaluated as TRUE or FALSE.
Usage notes 

Use the NOT function to reverse a value or logical argument:

  1. When logical is FALSE, NOT returns TRUE.
  2. When logical is TRUE, NOT returns FALSE.

A common use case for NOT is to reverse the behavior of another function. For example, If the cell A1 is blank, then the formula =ISBLANK(A1) will return TRUE. NOT can be used to reverse this result to FALSE like this:

=NOT(ISBLANK(A1))

In essence, by adding NOT, you are able to create a formula that behaves like ISNOTBLANK, which doesn't exist in Excel.

Excel Formula Training

Formulas are the key to getting things done in Excel. In this accelerated training, you'll learn how to use formulas to manipulate text, work with dates and times, lookup values with VLOOKUP and INDEX & MATCH, count and sum with criteria, dynamically rank values, and create dynamic ranges. You'll also learn how to troubleshoot, trace errors, and fix problems. Instant access. See details here.