语法

与、或、非
image.png
IF =IF(D4=TRUE,"1","0")
AND =AND(FALSE,TRUE)
OR =OR(TRUE,FALSE)
NOT =NOT(1=2)

实战

=IF(INT(LEFT(O6,2))<10,"早上",IF(INT(LEFT(O6,2))<12,"上午","下午"))
image.png