具有多個變數的條件格式

具有多個變數的條件格式
If ( cell A10 =2 ) AND ( cells C10:c15 through d10:d15 are blank)

Then color cells c10:15 through d10:15 red

我可以選擇其中之一,但在將其染成紅色之前不知道如何使其滿足這兩個標準

答案1

嘗試use formula to determine which cells to format使用以下公式建立這個新的條件格式規則,該規則僅在 A10=2 且 C10:C15 和 D10:D15 為空時才成立:

=AND(A10=2,COUNTBLANK(C10:C15)=6,COUNTBLANK(D10:D15)=6)

在此輸入影像描述

相關內容