Excel Formula || How to count occurrences of a value in column

我怕爱的太早我们不能终老 提交于 2020-01-11 10:43:16

问题


Need some help in figuring out an formula to count the number of times a value is listed in a column. I will try and explain the requirement below.

The below image show sample of data set.

The requirement is to list out issues and actions per customer.
As you can see, even from values clustered in cell, we need to find out individual unique values and then map it against the adjacent column or columns.


回答1:


It just need an extra sheet/table to execute..

try :

A1 = a,b,c
A2 = b,c
A3 = c,b,a
A4 = c,a
A5 = b
B1 = ss
B2 = ss
B3 = dd
B4 = dd
B5 = ss
D1 = a
E1 = b
F1 = c
C7 = ss
C8 = dd

D2 =IF(FIND(D$1,$A2,1)>0,1,"") drag until F6

D7 =COUNTIFS($B$2:$B$6,$C7,D$2:D$6,1) drag until F8

D7:F8 will be your desired results. Happy trying.



来源:https://stackoverflow.com/questions/51447769/excel-formula-how-to-count-occurrences-of-a-value-in-column

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!