简体   繁体   English

如何在 Google 表格中导入范围 + CountIf

[英]How to Importrange + CountIf on Google Sheets

I need to import information from another google sheet, COUNTIF that information under the criteria of one column saying "VIL" and another column saying "Pass"我需要从另一个谷歌表格中导入信息,COUNTIF 该信息在一栏说“VIL”和另一栏说“通过”的标准下

I am using variations of the below: =countifs((IMPORTRANGE(E65, "Sheet1:A2,H200")):$E$2,$E$30," Passed ")我正在使用以下变体:=countifs((IMPORTRANGE(E65, "Sheet1:A2,H200")):$E$2,$E$30," Passed ")

Where I am trying to have it display the count of boxes that have "Passed" from the other google sheet in E65.我试图让它显示从 E65 中的其他谷歌工作表“通过”的框数。 I am only getting error messages.我只收到错误消息。

Any help on this would be appreciated!对此有任何帮助将不胜感激!

run this first to connect your sheets:首先运行它以连接您的工作表:

=IMPORTRANGE(E65; "Sheet1!A2")

then try:然后尝试:

=ROWS(QUERY({IMPORTRANGE(E65; "Sheet1!A2:H200")}; 
 "where Col5 = 'Pass' and Col1 = 'VIL'"; ))

change Col1 to where the VIL isCol1更改为VIL所在的位置

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

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