除了C18是時間格式外
其他都是文字格式
=OR(IF(AND(LEFT(E18,1)="D",RIGHT(E18,1)<>LEFT(F18,1)),"不上班",""),IF(AND(LEFT(E18,1)="N",RIGHT(F18,2)="二班"),"",IF(And(LEFT(E18,1)="N",RIGHT(F18,2)="一班",C18<TIME(7,30,0)),"未下班","不出現"))
收錄日期: 2021-04-15 19:52:57
原文連結 [永久失效]:
https://hk.answers.yahoo.com/question/index?qid=20100619000016KK06998