View Single Post
  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
HARSHAWARDHAN. S .SHASTRI[_2_] HARSHAWARDHAN. S .SHASTRI[_2_] is offline
external usenet poster
 
Posts: 69
Default Count No of Types.

Sir i am getting the results but unable to understand the logic behind
formula . Will you pl elaborate the formula.

Thanks in advance.

H S Shastri


================================================== ========

"Mike H" wrote:

Try

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

Mike

"HARSHAWARDHAN. S .SHASTRI" wrote:


Hello,

Column A consisting data , what i need is count no of types in this data.

A

B
B
C
D
D
E
Y
Z


In above example answer should be "6" as B,C,DE,Y and Z are only variety
of types.

H S Shastri

================================================== ===