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
Date 在Google Sheets中使用报表的查询公式时遇到问题_Date_Google Sheets_Google Query Language_Google Sheets Formula_Importrange - Fatal编程技术网

Date 在Google Sheets中使用报表的查询公式时遇到问题

Date 在Google Sheets中使用报表的查询公式时遇到问题,date,google-sheets,google-query-language,google-sheets-formula,importrange,Date,Google Sheets,Google Query Language,Google Sheets Formula,Importrange,这是我的公式。如果您发现任何问题,请评估并让我知道 =(查询(importrange(“sheetLink”、“FormResponses”),“选择Col1、Col4、Col5,其中Col3包含“&&EmployeeName&”和Col4>”,“&ReportStartDate&”和Col4您必须这样做以确保日期正常工作: =query({A:H},"Select Col1, Col4, Col5 Where Col3 Contains '"&EmployeeName&"' A

这是我的公式。如果您发现任何问题,请评估并让我知道


=(查询(importrange(“sheetLink”、“FormResponses”),“选择Col1、Col4、Col5,其中Col3包含“&&EmployeeName&”和Col4>”,“&ReportStartDate&”和Col4您必须这样做以确保日期正常工作:

=query({A:H},"Select Col1, Col4, Col5 Where Col3 Contains '"&EmployeeName&"' And Col4 >= date '"&text(ReportStartDate,"yyyy-mm-dd")&"' And Col4 <= date '"&text(ReportEndDate,"yyyy-mm-dd")&"' And Col8 = '"&JobName&"'",1)

=query({A:H}),选择Col1、Col4、Col5,其中Col3包含“&EmployeeName&”和Col4>=date”&text(ReportStartDate,“yyyy-mm-dd”)&”和Col4与IMPORTRANGE函数一起正常工作的实际函数如下所示:


(查询(IMPORTRANGE(“1qdkirffnx5orvletiaoecxd0wdjgopva5uqcwvofns”,“FormResponses”),“选择Col1、Col4、Col5、Col6、Col7、Col8、Col10,其中Col3=”,“&EmployeeName&”“and Col4>=Date'”&文本(DateValue(ReportStartDate),“YYYY-MM-DD”)&“,”和Col4Try删除符号,并在表格“FormResponses”中提供一个范围“。如果EmployeeName等被命名,我认为查询本身看起来是可以的ranges@JPV删除&’会产生一个#错误!@Tom Sharpe它们是命名范围。我得到了一个#N/a错误,但即使使用通配符也会产生相同的结果。您能否共享一份电子表格副本,以便我们查看实际数据?