Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 69
Default Count No of Types.


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

================================================== ===
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default Count No of Types.

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

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

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
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

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

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 211
Default Count No of Types.

One way is to get the unique list and then count them.
To get unique list do as follows:
Data| Filter| Advanced filter
In action select: copy to another location
Select the List range (or it is selected automatically)
Put a reference cell for: copy to range
tick: Unique records only
Then you get the number by a count function
--
R. Khoshravan
Please click "Yes" if it is helpful.


"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

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

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel 2007 error "some chart types cannot be combined with other chart types. Select a different chart types" roadsidetree Charts and Charting in Excel 15 June 2nd 09 10:53 AM
QPW file types lryan79 Excel Discussion (Misc queries) 1 October 16th 08 07:38 AM
chart types chrisk Excel Worksheet Functions 1 February 2nd 06 12:05 AM
Types of Files EbonyMonarch Excel Discussion (Misc queries) 0 January 12th 06 07:59 PM
Encryption Types Werner Rohrmoser Excel Discussion (Misc queries) 0 August 5th 05 07:31 AM


All times are GMT +1. The time now is 11:47 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"