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 谷歌工作表查询与导入和日期今天 =查询(导入(“xxxxxxx-Sheet-ID”;“Tabelle1!A:D”), “其中C>date'”&文本(今天(),“yyyy-mm-dd”)&“ 和D_Google Sheets - Fatal编程技术网

Google sheets 谷歌工作表查询与导入和日期今天 =查询(导入(“xxxxxxx-Sheet-ID”;“Tabelle1!A:D”), “其中C>date'”&文本(今天(),“yyyy-mm-dd”)&“ 和D

Google sheets 谷歌工作表查询与导入和日期今天 =查询(导入(“xxxxxxx-Sheet-ID”;“Tabelle1!A:D”), “其中C>date'”&文本(今天(),“yyyy-mm-dd”)&“ 和D,google-sheets,Google Sheets,有人能告诉我,为什么这不起作用 我将获得行信息,其中C日期较小,D日期大于今天日期 我查看的表格是该日期的构成2021-03-29 我试过上面的代码,但不起作用。。。它说的是错误!但是我看不到任何日志如果您获得了从其他电子表格中提取数据的权限,请尝试: =QUERY(IMPORTRANGE("xxxxxxx-Sheet-ID"; "Tabelle1!A:D"), "where C > date'" & text(toda

有人能告诉我,为什么这不起作用

我将获得行信息,其中C日期较小,D日期大于今天日期

我查看的表格是该日期的构成
2021-03-29


我试过上面的代码,但不起作用。。。它说的是错误!但是我看不到任何日志

如果您获得了从其他电子表格中提取数据的权限,请尝试:

=QUERY(IMPORTRANGE("xxxxxxx-Sheet-ID"; "Tabelle1!A:D"), 
"where C > date'" & text(today(), "yyyy-mm-dd") & "' 
and D < date'" & text(today(), "yyyy-mm-dd") & "'", 0)
=QUERY(导入(“xxxxxxx-Sheet-ID”;“Tabelle1!A:D”);“其中C>日期”和文本(今天();“yyyy-mm-dd”)&“和D
看看这是否有效?如果没有,请共享您的电子表格副本(敏感数据已擦除),以便我们了解您的数据结构


请注意,仅当您从另一个电子表格导入数据时,才需要导入。从相同的电子表格中导入数据可以不用它。

您必须用Col3替换C,用Col4替换D(在这种情况下,您不能使用A、B、C和D)

=查询(导入(“\uuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu
根据需要切换Col3和Col4

=QUERY(IMPORTRANGE("xxxxxxx-Sheet-ID"; "Tabelle1!A:D"); "where C > date '"& text(today(); "yyyy-mm-dd")&"' and D < date '"& text(today(); "yyyy-mm-dd") &"'"; 0)
=query(IMPORTRANGE("___________","Tabelle1!A:D"), "where Col4 > date '"& text(today(), "yyyy-mm-dd")&"' and Col3 < date '"& text(today(), "yyyy-mm-dd") &"'", 0)