G Guest Oct 8, 2007 #1 I'm trying to determine how many different numbers (disregarding duplicates) are in an array of numbers (a1.a400). Thanks.
I'm trying to determine how many different numbers (disregarding duplicates) are in an array of numbers (a1.a400). Thanks.
P Peo Sjoblom Oct 8, 2007 #5 It will fail if there are blank cells in the array, you could amend it like =SUM(IF(A1:A400<>"",1/COUNTIF(A1:A400,A1:A400))) but then it is less efficient that the other 2 formulas in this thread -- Regards, Peo Sjoblom
It will fail if there are blank cells in the array, you could amend it like =SUM(IF(A1:A400<>"",1/COUNTIF(A1:A400,A1:A400))) but then it is less efficient that the other 2 formulas in this thread -- Regards, Peo Sjoblom