Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/date/2.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

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

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/swift/18.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 导入范围与一个单元格(使用查询)_Date_Google Sheets_Google Sheets Formula_Google Sheets Query_Google Query Language - Fatal编程技术网

Date 导入范围与一个单元格(使用查询)

Date 导入范围与一个单元格(使用查询),date,google-sheets,google-sheets-formula,google-sheets-query,google-query-language,Date,Google Sheets,Google Sheets Formula,Google Sheets Query,Google Query Language,我有下面的代码,它导入了一个单元格,基于它,它位于单独单元格中设置的给定日期范围内 =QUERY({2020!I:I}, "where Col1 >= date '"&TEXT('[H] Target Date'!B7, "yyyy-mm-dd")&"' and Col1 <= date '"&TEXT('[H]Target Date'!B3, "yyyy-mm-dd")&"'", 0) 我现在希望从单个单元格中提取整行数据。试试: =QUER

我有下面的代码,它导入了一个单元格,基于它,它位于单独单元格中设置的给定日期范围内

=QUERY({2020!I:I}, 
 "where Col1 >= date '"&TEXT('[H] Target Date'!B7, "yyyy-mm-dd")&"'
 and Col1 <= date '"&TEXT('[H]Target Date'!B3, "yyyy-mm-dd")&"'", 0)
我现在希望从单个单元格中提取整行数据。

试试:

=QUERY({2020!A:Z}, 
 "where Col9 >= date '"&TEXT('[H] Target Date'!B7, "yyyy-mm-dd")&"'
    and Col9 <= date '"&TEXT('[H] Target Date'!B3, "yyyy-mm-dd")&"'", 0)