当前日期判断,当当前日期大于星期三返回本周星期三日期当小于星期三日期返回上周三日期应该怎么写
if(WEEKDAY(today())>3,DATEINWEEK(today(),3),DATEDELTA(DATEINWEEK(today(),3),-7))
-----------
你没说等于周三的情况,所以上面的公式你需要自己根据情况再改改
if(WEEKDAY(today())>3,DATEINWEEK(today(),3),DATEINWEEK(DATEDELTA(today(),-7),3))