Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/google-sheets/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/google-apps-script/6.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Google sheets Google电子表格条件格式-如果值大于,则突出显示单元格_Google Sheets_Google Sheets Api_Conditional Formatting - Fatal编程技术网

Google sheets Google电子表格条件格式-如果值大于,则突出显示单元格

Google sheets Google电子表格条件格式-如果值大于,则突出显示单元格,google-sheets,google-sheets-api,conditional-formatting,Google Sheets,Google Sheets Api,Conditional Formatting,我有以下数据: Avg. Cost Current Price $0.44 $0.45 $2.67 $2.35 $0.37 $0.35 $0.39 $0.40 $4.20 $4.30 $0.57 $0.64 如果“当前价格”列中的值高于“平均成本”列中的相应值,我将尝试突出显示“当前价格”列中的单元格。在上述示例中,“当前价格”列中的$0.45、$0.40、$4.30和$0.64将突出显示 我正试图在谷歌表单上执行此操作 谢谢 您希望使用Google电子表格的条件格

我有以下数据:

Avg. Cost   Current Price
$0.44   $0.45
$2.67   $2.35
$0.37   $0.35
$0.39   $0.40
$4.20   $4.30
$0.57   $0.64
如果“当前价格”列中的值高于“平均成本”列中的相应值,我将尝试突出显示“当前价格”列中的单元格。在上述示例中,“当前价格”列中的$0.45、$0.40、$4.30和$0.64将突出显示

我正试图在谷歌表单上执行此操作

谢谢

  • 您希望使用Google电子表格的条件格式来突出显示
  • 在您的情况下,当列“B”的值大于列“A”的值时,您希望为列“B”加亮显示
示例条件格式规则: 在这种情况下,如何使用
=B2>A2
作为自定义函数,如下所示

  • 在这种情况下,我认为范围也可以使用
    B2:B

尽管我不确定自己是否能正确理解您的目标,但我还是很难想到一个示例条件格式规则作为答案。你能确认一下吗?如果这不是你期望的方向,我道歉。