傳回邏輯值的相反值:如果是「NOT(TRUE)」則傳回「FALSE」;如果是「NOT(FALSE)」則傳回「TRUE」。
使用範本
NOT(A2)
NOT(ISERR(A2))
語法
NOT(邏輯運算式)
邏輯運算式
- An expression or reference to a cell holding an expression that represents some logical value, i.e.TRUE
orFALSE
.
附註
- Because
0
has a logical value ofFALSE
and any non-zero numeric value has a logical value ofTRUE
,NOT(0)
returnsTRUE
和NOT(6)
returnsFALSE
. However, when non-numeric values are input into不包含的字詞,
, the function returns the error#VALUE!
.
另請參閱
FALSE
: 傳回邏輯值「FALSE」。
TRUE
: 傳回邏輯值「TRUE」。
範例
反轉邏輯值。