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 sheets 如何在Google工作表中查询、选择和更改请求的值?_Google Sheets_Google Sheets Query - Fatal编程技术网

Google sheets 如何在Google工作表中查询、选择和更改请求的值?

Google sheets 如何在Google工作表中查询、选择和更改请求的值?,google-sheets,google-sheets-query,Google Sheets,Google Sheets Query,我在使用以下语法更改Google工作表中的值时遇到问题: =query(sheet!cell; "select column order by column " & if(sheet!column:column="value";"value1";"value2")) 如果我尝试仅更改该值,它将起作用: =query(sheet!column; "if column="value";"value1";"value2"") =query(sheet!cell; "select colu

我在使用以下语法更改Google工作表中的值时遇到问题:

=query(sheet!cell; "select column order by column " & if(sheet!column:column="value";"value1";"value2"))
如果我尝试仅更改该值,它将起作用:

=query(sheet!column; "if column="value";"value1";"value2"") 
=query(sheet!cell; "select column order by column")
如果我尝试获取第一张图纸的值,它会起作用:

=query(sheet!column; "if column="value";"value1";"value2"") 
=query(sheet!cell; "select column order by column")

如何使请求查询选择并更改请求的值?

如果要使用数据集中的a和R列进行排序,则需要在数据集中的a和R列后面加一个逗号。尝试:


=query(题词!A2:R109;“按A选择N个顺序,”&if(题词!N:N=“oui”;“R”;“C”)

。发布您的实际公式。=查询(题词!A2:O109;“通过A选择N顺序”&if(题词!N:N=“oui”;“R”;“C”))谢谢Chris,但它不起作用。这会生成请求和结果,但值更改不起作用。