Excel:根据两个单元格对行进行颜色格式化的条件

问题描述 投票:0回答:1

假设我有一张4 x 5的桌子(如下)。有什么办法可以说是Date1还是Date2 > 30天(=today()-30)天,然后将这4个单元格涂成深蓝色。

Fruit   Date 1      Date 2      Price
A       08/01/2020  05/01/2020  50
B       29/11/2019  24/12/2019  60
C       19/11/2019  09/11/2019  55
D       31/12/2019  29/12/2019  65

excel conditional-formatting
1个回答
0
投票

您可以在条件格式中使用以下公式:

=($B2+30<TODAY())+($C2+30<TODAY())

enter image description here

© www.soinside.com 2019 - 2024. All rights reserved.