Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
条件格式的新手。希望获取一列日期(这些日期是项目结束日期)将它们与今天的日期进行比较并格式化它们以更改颜色,无论它们是在结束日期之前 60 天,在等于结束日期之前 30 天(日期),以及过去的结束日期。
不确定这是否正是您想要的(例如今天没有格式>今天+30、60 天或更多),但也许有四个规则,全部适用于范围 A:A,其中自定义公式为:
红色:=A1=today() 深红色:=and(A1<today(),A1<>"") 橙色:=and(A1>today()+30,A1<today()+60) 绿色:=A1>today()+30
=A1=today()
=and(A1<today(),A1<>"")
=and(A1>today()+30,A1<today()+60)
=A1>today()+30
请注意,顺序可能会有所不同。