Excel列中相同日期范围的不同颜色

时间:2015-12-20 14:37:26

标签: excel excel-formula

如果两个或更多日期相同,我要离开经理我想要颜色不同 我正在使用这个公式

=OR(SUMPRODUCT((B6<>"")* (B6>=INDIRECT("Table1[Start]"))*(B6<=INDIRECT("Table1[End]"))) ,SUMPRODUCT((B6<>"")* (B6>=INDIRECT("Table1[S1]"))*(B6<=INDIRECT("Table1[E1]"))) ,SUMPRODUCT((B6<>"")* (B6>=INDIRECT("Table1[S2]"))*(B6<=INDIRECT("Table1[E2]"))) ,SUMPRODUCT((B6<>"")* (B6>=INDIRECT("Table1[S3]"))*(B6<=INDIRECT("Table1[E3]"))) ,SUMPRODUCT((B6<>"")* (B6>=INDIRECT("Table1[S4]"))*(B6<=INDIRECT("Table1[E4]"))) ,SUMPRODUCT((B6<>"")* (B6>=INDIRECT("Table1[S5]"))*(B6<=INDIRECT("Table1[E5]"))))

enter image description here

0 个答案:

没有答案