如星期几 在A1
在B1中输入或复制粘贴此公式
=IF(A1="","",VLOOKUP(A1,{"星期一","回家";"星期二","出差";"星期三","3";"星期四","4";"星期五","5";"星期六","6";"星期日","7"},2,))
下拉填充
如星期一 在A 1, A2=IF(A1="星期一","在家",IF(A1="星期二","出差",""))
=if(a1=“星期一”,“回家”,if(a1=“星期二”,“出差”,""))
=if(a1="星期一","回家",if(a1="星期二","出差","楼主不知道在哪里"))