简体   繁体   English

如何在 Google 表格上导入范围 + 计数?

[英]How to Importrange + Count on Google Sheets?

I'm trying to import data from another worksheet and count it simultaneously.我正在尝试从另一个工作表导入数据并同时进行计数。 It's only producing 1 for me, rather than 11 - which is what it should be.它只为我生产 1,而不是 11 - 这应该是。

I've tried the following:我尝试了以下方法:

=COUNT(IMPORTRANGE("URL","Shirts!F:F"))

first you need to run your importrange formula and allow access to link your sheets:首先,您需要运行 importrange 公式并允许访问链接您的工作表:

=IMPORTRANGE("URL", "Shirts!F")

then try:然后尝试:

=COUNT(IMPORTRANGE("URL", "Shirts!F:F"))

also make sure your set is numeric还要确保您的集合是数字

要计算非空白单元格,请使用:

=COUNTA(IMPORTRANGE("URL","Shirts!F:F"))

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

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