简体   繁体   English

Google表格-从许多文件中查询和导入范围

[英]Google Sheets - Query and Importrange from many files

I´m using Google Drive Sheets for colection data from many users - there is about fifty files with same structure. 我正在使用Google Drive Sheets来收集来自许多用户的收集数据-大约有五十个文件具有相同的结构。 That files are "alive" but I need analyse them by filters all together etc. 该文件是“有效的”,但我需要通过过滤器等对其进行分析。

=QUERY(
{
IMPORTRANGE("xxxx";"JedenKlient!A3:N");
IMPORTRANGE("yyyy";"JedenKlient!A3:N");
...
IMPORTRANGE("zzz";"JedenKlient!A3:N")
};"where Col1 is not null")

When I use this QUERY and IMPORTRANGE with 2 files - its working well. 当我将这个QUERY和IMPORTRANGE与2个文件一起使用时-它运作良好。 After I put there more files - Google Sheets send me back error "in ARRAY_LITERAL - missing values". 在我放置更多文件后-Google表格将“ ARRAY_LITERAL中-缺少值”发回错误给我。 I found somethings "about different numbers of columns" but my files have the same structure - of course - different numbers of rows... 我发现有些东西“关于不同数量的列”,但是我的文件具有相同的结构-当然-不同的行数...

Can you please help me fix this issue? 您能帮我解决这个问题吗?

Thank you, 谢谢,

Solved - I must put every IMPORTRANGE to cell and click on popup button. 解决-我必须将每个IMPORTRANGE放入单元格,然后单击弹出按钮。 This need to be done file by file. 这需要逐个文件完成。 Unfortunately. 不幸。

After that whole query start working. 之后,整个查询开始工作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM