我需要根据AG列中的日期突出显示单元格。我正在使用条件格式,但似乎无法正确理解公式。
逻辑:
我像这样启动公式,但无法正常工作:
=OR(TODAY()=WEEKDAY(3),WEEKDAY(4),WEEKDAY(5),WEEKDAY(6),AG10=TODAY()-1,OR(IF(TODAY()=WEEKDAY(2),AG10<TODAY()-4)))
答案 0 :(得分:0)
使用
=OR(AND(WEEKDAY(TODAY())>= 3,WEEKDAY(TODAY())<=6,INT(AG10)=INT(TODAY()-1)),AND(WEEKDAY(TODAY())=2,INT(AG10)>=INT(TODAY()-3),INT(AG10)<=INT(TODAY()-1)))