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/2/jquery/71.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/0/vba/15.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 Sheets_Google Sheets Formula - Fatal编程技术网

Google sheets 谷歌表单过滤器中的附加自定义列

Google sheets 谷歌表单过滤器中的附加自定义列,google-sheets,google-sheets-formula,Google Sheets,Google Sheets Formula,我想在filter formula中添加一个附加列。这一个正在工作,但不完全是我需要的: =FILTER({detroit!A2:N,"detroit"&row(detroit!A2:A)},detroit!A2:A<>"") =过滤器({底特律!A2:N,“底特律”和世界其他地区(底特律!A2:A)},底特律!A2:A“”) 我只需要不带行号的文本“detroit”,如下所示: =FILTER({detroit!A2:N,&quo

我想在filter formula中添加一个附加列。这一个正在工作,但不完全是我需要的:

=FILTER({detroit!A2:N,"detroit"&row(detroit!A2:A)},detroit!A2:A<>"")
=过滤器({底特律!A2:N,“底特律”和世界其他地区(底特律!A2:A)},底特律!A2:A“”)
我只需要不带行号的文本“detroit”,如下所示:

=FILTER({detroit!A2:N,"detroit"},detroit!A2:A<>"")
=过滤器({detroit!A2:N,“detroit”},detroit!A2:A“”)
我想我需要对每个单元格使用一个函数,比如行,什么不返回

由于数据的大小,计算速度也必须很快


有什么办法可以解决这个问题吗?

在Z列为空的情况下尝试以下方法:

=FILTER({detroit!A2:N, detroit!Z2:Z&"detroit"}, detroit!A2:A<>"")
非常感谢:)所有解决方案都很方便,具体取决于图纸结构。特别感谢您提供的查询解决方案。你太棒了。
=FILTER({detroit!A2:N, 
 IFERROR(SEQUENCE(ROWS(detroit!A2:A))/0)&"detroit"}, detroit!A2:A<>"")
=QUERY(detroit!A2:N, 
 "select A,B,C,D,E,F,G,H,I,J,K,L,M,N,'detroit' 
  where A is not null 
  label 'detroit'''", 0)