In this article, we will discuss how we can identify unique numbers in Microsoft Excel using formulas.
There can be various scenarios. However, we will cover the common problems that users usually face in their daily work.
The problems can be of following types:
Answer should be count of unique values in Excel.
Answer should be count of unique identification number by ignoring / skipping any error type.
Answer should be count of unique positive numbers, ignoring any error type.
Example 1
Count of unique numbers from negative & positive numbers.
Following is the snapshot of data we have wherein number 2 is repeated twice & we want formula to count number 2 as one:
Example 2
Count of unique numbers from negative, positive numbers & errors i.e. #REF!, #VALUE!, #DIV/0!, #NAME? in the range.
Note: This is an array formula. CTRL + SHIFT + ENTER keys need to be pressed together.
The same result can be achieved by applying a combination of SUM, IF, ISNUMBER, FREQUENCY.
Note: This is an array formula. Use CTRL+ SHIFT + ENTER keys together to get result.
Example3
Count of unique positive numbers after ignoring any error type in the range.
Note: This is an array formula. Use CTRL+ SHIFT + ENTER keys together to get result.
In this way, we can get the Excel count of unique numbers after meeting various conditions.
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.