How to use NOT in Excel
NOT reverses a logical value: TRUE becomes FALSE and FALSE becomes TRUE. Use it for "everyone except…" rules.
Syntax
=NOT(logical)
logical | A condition or TRUE/FALSE value. |
Examples
=NOT(C2>=2)TRUE for employees with less than 2 years.=IF(NOT(ISBLANK(A2)), "Done", "")Mark rows that are filled in.Common mistakes
- Often unnecessary
NOT(A2>5)is the same asA2<=5, andNOT(A2="X")isA2<>"X"— the shorter form is easier to read.
Available in: All versions of Excel, Excel for the web, Google Sheets