A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

How to count the number of unique entries in a filtered column



 
 
Thread Tools Display Modes
  #1  
Old May 13th, 2009, 02:04 AM posted to microsoft.public.excel.misc
learnlearn52
external usenet poster
 
Posts: 14
Default How to count the number of unique entries in a filtered column

Perhaps this may have been answered before. I used formulas from the
Discussion Groups but did not get the right answer. I have the following
filtered data (alphanumeric) exactly:

A100
A102
A104
A103
A108
A104
A102
A102
A103
A109

The total number of entries is 10 and the unique number of entries is 6.What
formula should be used to calculate the unique number of entries? Thanks in
advance
  #2  
Old May 13th, 2009, 02:21 AM posted to microsoft.public.excel.misc
Jacob Skaria
external usenet poster
 
Posts: 5,952
Default How to count the number of unique entries in a filtered column

Try this

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

If this post helps click Yes
---------------
Jacob Skaria


"learnlearn52" wrote:

Perhaps this may have been answered before. I used formulas from the
Discussion Groups but did not get the right answer. I have the following
filtered data (alphanumeric) exactly:

A100
A102
A104
A103
A108
A104
A102
A102
A103
A109

The total number of entries is 10 and the unique number of entries is 6.What
formula should be used to calculate the unique number of entries? Thanks in
advance

  #3  
Old May 13th, 2009, 03:37 AM posted to microsoft.public.excel.misc
Lori
external usenet poster
 
Posts: 673
Default How to count the number of unique entries in a filtered column

If your filtered list is in A2:A200 try with CTRL+SHIFT+ENTER:

=COUNT(1/FREQUENCY(IF(SUBTOTAL(3,OFFSET(A2,ROW(A2:A200)
-ROW(A2),)),MATCH(A2:A200,A2:A200,0)),ROW(A2:A200)-ROW(A2)))

"learnlearn52" wrote:

Perhaps this may have been answered before. I used formulas from the
Discussion Groups but did not get the right answer. I have the following
filtered data (alphanumeric) exactly:

A100
A102
A104
A103
A108
A104
A102
A102
A103
A109

The total number of entries is 10 and the unique number of entries is 6.What
formula should be used to calculate the unique number of entries? Thanks in
advance

  #4  
Old May 13th, 2009, 05:48 PM posted to microsoft.public.excel.misc
learnlearn52
external usenet poster
 
Posts: 14
Default How to count the number of unique entries in a filtered column

Thanks Lori. You are awesome!!! Keep up the good work.

"Lori" wrote:

If your filtered list is in A2:A200 try with CTRL+SHIFT+ENTER:

=COUNT(1/FREQUENCY(IF(SUBTOTAL(3,OFFSET(A2,ROW(A2:A200)
-ROW(A2),)),MATCH(A2:A200,A2:A200,0)),ROW(A2:A200)-ROW(A2)))

"learnlearn52" wrote:

Perhaps this may have been answered before. I used formulas from the
Discussion Groups but did not get the right answer. I have the following
filtered data (alphanumeric) exactly:

A100
A102
A104
A103
A108
A104
A102
A102
A103
A109

The total number of entries is 10 and the unique number of entries is 6.What
formula should be used to calculate the unique number of entries? Thanks in
advance

  #5  
Old May 13th, 2009, 05:56 PM posted to microsoft.public.excel.misc
learnlearn52
external usenet poster
 
Posts: 14
Default How to count the number of unique entries in a filtered column

Jacob, thanks for your help. Kepp up the good work.

"Jacob Skaria" wrote:

Try this

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

If this post helps click Yes
---------------
Jacob Skaria


"learnlearn52" wrote:

Perhaps this may have been answered before. I used formulas from the
Discussion Groups but did not get the right answer. I have the following
filtered data (alphanumeric) exactly:

A100
A102
A104
A103
A108
A104
A102
A102
A103
A109

The total number of entries is 10 and the unique number of entries is 6.What
formula should be used to calculate the unique number of entries? Thanks in
advance

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 07:20 PM.


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