In this article, we will learn how to count the unique numeric values or unique data in a list. We can use two types of combinations of formulas in Microsoft Excel to get the distinct count.
Let’s take an example to understand how we can count the distinct numeric values or unique list.
We have a number list in range A2:A11.
To count the unique values in a range, follow below given steps:-
- Write the formula in cell B2.
- = SUM(IF(FREQUENCY(A2:A11,A2:A11)>0,1))
- Press Enter on your keyboard.
- The function will return 7. It means 7 numbers are unique out of 10 numbers.
Another formula we can use for the same result.
Use this mentioned formula =SUMPRODUCT((A2:A11<>””)/COUNTIF(A2:A11,A2:A11&””))in the cell C2. You will get the same result.
This is the way we can count the unique numeric values in a list or range in Microsoft Excel.
If you liked our blogs, share it with your friends on Facebook. And also you can follow us on Twitter and Facebook.
We would love to hear from you, do let us know how we can improve, complement or innovate our work and make it better for you. Write us at firstname.lastname@example.org