Logical All versions ◉ 16 views

=NOT()

Use the NOT function, one of the logical functions, when you want to make sure one value is not equal to another. One common use for the NOT function is to expand the usefulness of other functions that perform logical tests. For example, the IF function performs a logical test and then returns one value if the test evaluates to TRUE and another value if the test evaluates to FALSE. By using the NOT function as the logical_test argument of the IF function, you can test many different conditions instead of just one.

Applies To: Excel for Microsoft 365Excel for Microsoft 365 for MacExcel 2024Excel 2024 for MacExcel 2021Excel 2021 for MacExcel 2019Excel 2016
=NOT(logical)
Hover argument names in the table for details.
Output typeLogical
Popularity30 / 100
VolatileNo
Dynamic ArrayNo
📥 Download sample .xlsx — Coming soon ▦ Try in Playground Dedicated file for this function — safe & lightweight · sample data + live formulas
Share:

⬇ Download Sample Workbook

A dedicated .xlsx for =NOT() with Persian sample data & live formulas — open in Excel and practice.

  • Sheet “Sample” — data table + formula in place
  • Sheet “Guide” — syntax, arguments & tips from this page
  • Instant & secure (token + rate limit)
📥 Download NOT.xlsx — Coming soon ~ 8–12 KB · No macros

⇪ Share

Send this function to friends

🧠 🧠 Quiz this function

%d questions — syntax, example & errors — test yourself!

◧ Arguments

ArgumentTypeRequiredDescription
logical Any type Required A value or expression that can be evaluated to TRUE or FALSE.

▣ Examples

بررسی اینکه آیا A2 بزرگ‌تر از 100 نیست =NOT(A2>100)
مقدار 50 بزرگ‌تر از 1 است (TRUE) و کوچک‌تر از 100 است (TRUE)، بنابراین NOT هر دو آرگومان را به FALSE برمی‌گرداند. تابع AND برای برگرداندن TRUE به هر دو آرگومان TRUE نیاز دارد، پس نتیجه FALSE برمی‌گردد. =IF(AND(NOT(A2>1),NOT(A2<100)),A2,"The value is out of range")
مقدار 100 کوچک‌تر از 0 نیست (FALSE) و بزرگ‌تر از 50 است (TRUE)، بنابراین NOT آرگومان‌ها را به TRUE/FALSE برمی‌گرداند. تابع OR فقط به یک آرگومان TRUE نیاز دارد، پس نتیجه TRUE برمی‌گردد. =IF(OR(NOT(A3<0),NOT(A3>50)),A3,"The value is out of range")
اگر مجموع فروش NOT کوچک‌تر از هدف فروش باشد و حساب‌ها NOT کوچک‌تر از هدف حساب باشند، آنگاه مجموع فروش در درصد کمیسیون ضرب می‌شود، در غیر این صورت 0 برگردانده می‌شود. =IF(AND(NOT(B14<$B$7),NOT(C14<$B$5)),B14*$B$8,0)- IF Total Sales is NOT less than Sales Goal, AND Accounts are NOT less than the Account Goal, then multiply Total Sales by the Commission %, otherwise return 0.

✦ Tips

  • If logical is FALSE, NOT returns TRUE; if logical is TRUE, NOT returns FALSE.

💬 Comments & Q&A 0 approved

🔒 Your comment will be published after review.

Share your thoughts — visible after admin approval

No comments yet — be the first!

✍️ Add comment / question

captcha
🔒 Your comment will be published after review.