列 BY 未拉入谷歌表格查询


=query('Network Trade Data_2'!$AA$1:$CP,"Select AA, AC, BY where AC is not null",1)

我只是想拉入BY列,但由于同时也是一个命令,所以出现了一个错误。如有任何帮助,我们将不胜感激!

这是一个已知的问题"BY";是查询字符串中的保留字,因为";通过";是您可能使用的实际语法单词。最简单的解决方法是将范围更改为数组,并通过列编号而不是范围引用来引用事物。

=query({'Network Trade Data_2'!$AA$1:$CP},"Select Col1, Col3, Col53 where Col3 is not null",1)

另一个修复方法是使用`:

=QUERY('Network Trade Data_2'!AA1:CP, "select AA,AC,`BY` where AC is not null", 1)

最新更新