NOT

傳回邏輯值的相反值:如果是「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 or FALSE.

附註

  • Because 0 has a logical value of FALSE and any non-zero numeric value has a logical value of TRUE , NOT(0)returns TRUE NOT(6)returnsFALSE. However, when non-numeric values are input into 不包含的字詞,, the function returns the error #VALUE!.

另請參閱

FALSE: 傳回邏輯值「FALSE」。

TRUE: 傳回邏輯值「TRUE」。

範例

反轉邏輯值。

true
造訪學習中心

您有在公司或學校使用 Google 文件等 Google 產品嗎?快來試試實用的秘訣、教學課程和範本,瞭解如何在不安裝 Office 的情況下處理 Office 檔案、建立動態專案計劃和小組日曆、自動整理收件匣及進行其他作業。

搜尋
清除搜尋內容
關閉搜尋
主選單
10201542516852216637
true
搜尋說明中心
true
true
true
true
true
35
false
false