count...how?

  • Thread starter Thread starter Rick
  • Start date Start date
=SUMPRODUCT(1/COUNTIF(A1:A10,A1:A10))

or if there can be empty cells involved

=SUM(IF(LEN(A1:A10)>0,1/COUNTIF(A1:A10,A1:A10)))

entered with ctrl + shift & enter
 
...
...
or if there can be empty cells involved

=SUM(IF(LEN(A1:A10)>0,1/COUNTIF(A1:A10,A1:A10)))

entered with ctrl + shift & enter
...

Picky: array-entry unnecessary.

=SUMPRODUCT((A1:A10<>"")/(COUNTIF(A1:A10,A1:A10)+(A1:A10="")))

Less picky: A1:A10<>"" is likely more efficient than LEN(A1:A10)>0.
 
Back
Top