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:-
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 info@exceltip.com
The applications/code on this site are distributed as is and without warranties or liability. In no event shall the owner of the copyrights, or the authors of the applications/code be liable for any loss of profit, any problems or any damage resulting from the use or evaluation of the applications/code.
Can you share with me how to write an Excel formula to count from both cells which have combination of text and numeric in the same cell. Example;
B2 is 3N
C2 is M4
So how to count or add these 2 cells to become 7
Your kind assist is greatly appreciate and grateful.
tqvm
You first need to extract numeric values from these cell and then add them. Here I have explained how you can do this.
https://www.exceltip.com/excel-text-formulas/split-numbers-and-text-from-string-in-excel.html
Take the file from above link and then use this formula =SplitNumText(A20,1)+SplitNumText(A11,1)
Worked great. I used the second function.