Count unique values in Excel

前端 未结 12 2257
别那么骄傲
别那么骄傲 2020-11-28 12:28

I need to count unique values in range (C2:C2080) in excel. Googled formula:

=SUM(IF(FREQUENCY(MATCH(C2:C2080;C2:C2080;0);MATCH(C2:C280;C2:C2080;0))>0;1))         


        
12条回答
  •  悲哀的现实
    2020-11-28 12:48

    Look at https://excelchamps.com/blog/count-unique-values-excel/. There is your answer.

    The formula you need to enter is:

    =SUMPRODUCT(1/COUNTIF(C2:C2080,C2:C2080))
    

    When you enter this formula as an array it will look something like this:

    {=SUMPRODUCT(1/COUNTIF(C2:C2080,C2:C2080))}
    

提交回复
热议问题