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
Google drive api 如果列';s该行中的A单元格与B';s头_Google Drive Api_Google Sheets_Google Docs_Gs Conditional Formatting - Fatal编程技术网

Google drive api 如果列';s该行中的A单元格与B';s头

Google drive api 如果列';s该行中的A单元格与B';s头,google-drive-api,google-sheets,google-docs,gs-conditional-formatting,Google Drive Api,Google Sheets,Google Docs,Gs Conditional Formatting,我在谷歌电子表格中有这样一组列: A1 B1 A2 B2 A3 B3 A4 B4 AX BX 我想改变任何一个BN单元格的颜色,以防AN和B1相同 我尝试了=IF(A2=B1)然后是一个范围B2:B100,但它不起作用 提前谢谢 我想改变任何BN单元的颜色,以防AN相同 如B1所示 使用: =A2=B$1 适用于B2:B100

我在谷歌电子表格中有这样一组列:

A1 B1
A2 B2
A3 B3
A4 B4
AX BX
我想改变任何一个BN单元格的颜色,以防AN和B1相同

我尝试了
=IF(A2=B1)
然后是一个范围
B2:B100
,但它不起作用

提前谢谢

我想改变任何BN单元的颜色,以防AN相同 如B1所示

使用:

=A2=B$1

适用于B2:B100