当 D 列小于 C 的 50% 时,我如何让 Google 表格计算出来,并在发生这种情况时将颜色更改为琥珀色

问题描述

当 D 列小于 C 的 50% 时,我如何让谷歌表计算出来,并在发生这种情况时将颜色更改为琥珀色

enter image description here

解决方法

您可以使用带有自定义公式的条件格式来设置范围的条件。

从菜单 Format -> Conditional formatting 中,设置这些选项并输入 =IF($D1<$C1/2,TRUE) 作为自定义公式。此外,从 Formatting Style -> Text Color 选项中选择您想要的颜色。

enter image description here

示例数据:

enter image description here

参考文献:

Conditional Formatting