
📎 This article includes 1 downloadable practice file ↓
In this article
NOT flips TRUE to FALSE and back — useful for “everything except” conditions.
Syntax
=NOT(logical)
| Argument | What it means |
|---|---|
logical |
A TRUE/FALSE value or test. |
Examples
Example 1
=NOT(ISBLANK(C2))
TRUE when C2 has something.
Example 2
=IF(NOT(OR(B2="Delhi",B2="Mumbai")), "Non-metro", "Metro")
Everything except the listed cities.
NOT in practice
Where you will use it
- Reverse a condition: not yet paid
- Exclude items in conditional formatting
- Make ISBLANK into 'is filled'
Worked example
| Paid? | Formula | Result |
|---|---|---|
| TRUE | =NOT(A2) | FALSE |
| FALSE | =NOT(A3) | TRUE |
| (blank) | =NOT(A4) | TRUE |
Results calculated in Excel.
Mistakes people make
| Mistake | What to do instead |
|---|---|
| Using NOT on text | NOT needs TRUE/FALSE or numbers |
| Double negatives in IFs | Rewrite the condition positively when possible |
Related functions
📚 Part of the free Excel course: Beginner → Expert · Try it in the Formula Lab or ask the AI Helper.
Test formulas dynamically in our web formula laboratory or download the companion Excel workbook.
📎 Practice files for this article
- 📗Practice workbook: Logic, LET & LAMBDA17 tasks on realistic sales data — type your formula, the Check column turns green when it is right. Answers sheet included.⬇ XLSX · 35 KB
Free to use for learning. Files with macros (.bas) are plain text — import them with Alt+F11 → File → Import File, and always test on a copy.
Atul (AJ) builds office-automation and local-first AI tools as Atulya AI, and works with Excel, SAP and Oracle EPM every day. He writes about the shortcuts, macros and automations that actually save time — plus the occasional wacky fact. Videos on YouTube: Lazy Automator AI (@LazyAutomatorAI).
More posts by Atul →Build this skill next
This page is a quick function reference. Use it for syntax, then practise the function in a broader workflow.
Stuck on a step? Ask a question and the AI answers using this article.