檢查特定值是否不屬於文字。
使用範本
ISNONTEXT(A2)
ISNONTEXT("cat")
語法
ISNONTEXT(值)
值要檢查的文字。*
ISNONTEXTreturnsFALSEif this is a text value or a reference to a cell containing a text value andTRUE如果您不想這麼做...When
值is a reference to an empty cell,ISNONTEXTwill returnTRUE.When
值is an empty string,ISNONTEXTwill returnFALSE, as the empty string is considered text.
附註
Nonprinting characters and whitespace count as text, so when
ISNONTEXTis called on a cell containing such characters, the function will returnFALSEeven though the cell appears empty.Numbers input as text, e.g.
"1234"count as text, and will causeISNONTEXTto returnTRUE.ISNONTEXT(值)is the logical equivalent ofNOT(ISTEXT(value))This function is most often used in conjunction with
IF特別要注意conditional statements.
另請參閱
ISTEXT: 檢查特定值是否屬於文字。
ISREF: 檢查特定值是否為有效的儲存格參照。
ISODD: 檢查指定值是否為奇數。
ISNUMBER: 檢查特定值是否屬於數字。
ISNA: 檢查特定值是否為「#N/A」錯誤。
ISLOGICAL: 檢查特定值是「TRUE」還是「FALSE」。
ISEVEN: 檢查指定值是否為偶數。
ISERROR: 檢查特定值是否為錯誤。
ISERR: 檢查特定值是否為「#N/A」以外的錯誤。
ISBLANK: 檢查參照的儲存格是否空白。
IF: 邏輯運算式是「TRUE」時傳回一個值,是「FALSE」時傳回另一個值。