简体   繁体   English

Google表格数组总和不起作用? 我哪里错了?

[英]Google Sheets Array sum not working? where am I going wrong?

截屏

I know this is a super beginner thing, but this is my first time using google sheets and I cannot understand their built-in assistance for what I need.我知道这是一个超级初学者的事情,但这是我第一次使用谷歌表格,我无法理解他们对我需要什么的内置帮助。

I have 2 columns.我有 2 列。 I am needing to find the totals for each category.我需要找到每个类别的总数。

Ex: Dogs = 6, Cats = 2例如:狗 = 6,猫 = 2

Please let me know where I went wrong in my formula.请让我知道我的公式哪里出错了。

try this:尝试这个:

={UNIQUE(A2:A9), ARRAYFORMULA(COUNTIF(A2:A9, UNIQUE(A2:A9)))}

在此处输入图片说明

尝试:

=QUERY(A2:A9, "select A,count(A) group by A label count(A)''")

暂无
暂无

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

相关问题 Java程序:哪里出问题了? - Java Program: Where am I going wrong? 在有效计算数组中第二个元素较少的对时,我在哪里出错? - Where am I going wrong in counting pairs where second element is less in array efficiently? 我在转换此代码时哪里出错了,因此它不会将变量放入数组中? - Where am I going wrong with converting this code so it does not put the variable in an array? 从数组中删除重复项并返回唯一元素时我哪里出错了? - Where am I going wrong while removing the duplicates from an array and returning the unique element? 通过连接到按钮的标识符打乱一系列项目......我哪里出错了? - Shuffling an array of items by the identifier connected to the buttons...Where am I going wrong? 我们需要找到两条对角线之和之间的绝对差。 请你能告诉我哪里出错了吗 - we need to find the aboslute difference between sum of 2 diagonals. Please can u tell me where i am going wrong 分支逻辑测验——我哪里出错了? [JavaScript] - Branching logic quiz — where am I going wrong? [JavaScript] 我的递归函数在哪里出错? - Where am I going wrong in my recursive function? 卷积滤波器返回部分黑色图像,我在哪里出错了? 需要从 numpy 阵列构建模糊过滤器 - Convolution filter returns partly black image, where am I going wrong here? Need to build a blurring filter from a numpy array 我在以下代码(指针)上收到 SIGSEGV 错误并且不知道我哪里出错了 - I am receiving a SIGSEGV error on the following code (pointers) and don't know where I am going wrong
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM