Excel列M =开始时间,列N =结束时间
我已经尝试过不能给出预期结果的IF公式
=IF(M 2="","not yet started",IF(M 2="M 2>0","in progress","Completed"))
AM不确定If或其他公式哪个更好
非常感谢您的答复
答案 0 :(得分:3)
使用嵌套的IF,但要稍微改变一下逻辑:
=IF(AND(M2="",N2=""),"Not Started",IF(N2<>"","Completed","In Progress"))
或者:
=IF(N2="",IF(M2="","Not Started","In Progress"),"Completed")