【发布时间】:2015-03-31 17:55:55
【问题描述】:
一个简单的例子如下:
Column A is the list containing all data
Column B is the list of all unique data in Column A without duplicates
Column C will be the number of duplicates for each item in Column B from Column A
如何为 C 列中的单元格编写一个简单的公式来对 A 列中 B 列中的每个项目求和?
我将=sum(lookup($a$1:$a$10=$B$1)) 用于 C1,但收到:此函数的参数太少。
【问题讨论】:
-
所以B列已经派生了?我们不需要构建它?
-
也许你正在寻找这个,COUNTIF 函数,support.office.com/en-us/article/…
-
我手动制作了B列:(.......如果有更好的方法也制作B列,那就更好了。
标签: excel excel-formula pivot-table worksheet-function countif