شنبه یازدهم مرداد ۱۳۹۹ - 14:36 - حسين حسين پور -
And if you just want to count unique numbers from a list of values then you can use below formula.
=SUM(IF(ISNUMBER(A2:A17),1/COUNTIF(A2:A17, A2:A17),””))
Enter this formula as an array.
{=SUM(IF(ISNUMBER(A2:A17),1/COUNTIF(A2:A17, A2:A17),””))}
How it works
In this method, you have used IF function and ISNUMBER.
ISNUMBER first verifies that all the values are numeric or not and return TRUE if a value is a number.
After that, IF applies COUNTIF on all the numeric values where you have TRUE and other values remain blank.
And in the end, SUM returns the sum all the unique values which are numbers and you get the count of unique numbers this way.