NOT Function in Excel: Reverse TRUE and FALSE

⏱ 1 min readUpdated 28 September 2026

LogicalLevel: BeginnerAvailable in: Excel 2007+

In this article
  1. Syntax
  2. Examples
  3. Example 1
  4. Example 2
  5. Related functions

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.

AND · OR · IF

📚 Part of the free Excel course: Beginner → Expert · Try it in the Formula Lab or ask the AI Helper.

✨ Ask AI about this article

Stuck on a step? Ask a question and the AI answers using this article.

Free · AI can be wrong