Reverses the logical value of its argument.
ฟังก์ชันนี้ทำงานใน Google Sheets เหมือนกับใน Excel — ไวยากรณ์และอาร์กิวเมนต์เดียวกัน
NOT(logical)The NOT function returns TRUE if the argument is FALSE, and FALSE if the argument is TRUE. It is typically used to invert the result of another logical test within a formula.
=NOT(TRUE)ผลลัพธ์: FALSE
Returns FALSE because the input is TRUE.
=NOT(10>20)ผลลัพธ์: TRUE
The expression 10>20 is FALSE, so NOT reverses it to TRUE.
Excel treats 0 as FALSE and any non-zero number as TRUE.