条件格式化如果选择范围中全部为空,则不起作用。

huangapple go评论52阅读模式
英文:

Conditional formatting is not working if all in the selected range are blank

问题

我试图在选定的单元格(A2:C2)上应用条件格式,条件是如果所有单元格都未填充,则所有选定的单元格必须为红色,一旦它们都填充了,颜色应该变为白色。

我正在使用Google表格,所使用的公式如下:

条件格式化如果选择范围中全部为空,则不起作用。

英文:

I trying to apply conditional formatting on selected cells (A2:C2) with condition that if all aren't filled all selected cells must be in color red, once they all are filled then the color should be white.

I am using Google sheets, formula used is

条件格式化如果选择范围中全部为空,则不起作用。

答案1

得分: 1

你可以尝试在 CF 中使用这个“自定义公式”:

=COLUMNS($A2:$C2)-COUNTBLANK($A2:$C2)<>COLUMNS($A2:$C2)

英文:

You may try this custom formula within CF

=COLUMNS($A2:$C2)-COUNTBLANK($A2:$C2)&lt;&gt;COLUMNS($A2:$C2)

huangapple
  • 本文由 发表于 2023年2月8日 18:00:31
  • 转载请务必保留本文链接:https://go.coder-hub.com/75384089.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定