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 » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Is there a function that counts distinct number od records in a ra



 
 
Thread Tools Display Modes
  #1  
Old March 19th, 2010, 08:02 PM posted to microsoft.public.excel.worksheet.functions
Ayo
external usenet poster
 
Posts: 525
Default Is there a function that counts distinct number od records in a ra


I am looking for a way to tell how many distinct values are in a range. For
example, say I have values in Range A5:A2000 and I want to know of those 1995
cells how many distinct values are in the range.
  #2  
Old March 19th, 2010, 08:36 PM posted to microsoft.public.excel.worksheet.functions
Gary''s Student
external usenet poster
 
Posts: 7,584
Default Is there a function that counts distinct number od records in a ra

See:
Counting Distinct Entries In A Range
in:
http://www.cpearson.com/EXCEL/Duplicates.aspx
--
Gary''s Student - gsnu201001


"Ayo" wrote:


I am looking for a way to tell how many distinct values are in a range. For
example, say I have values in Range A5:A2000 and I want to know of those 1995
cells how many distinct values are in the range.

  #3  
Old March 19th, 2010, 09:03 PM posted to microsoft.public.excel.worksheet.functions
Billy Liddel
external usenet poster
 
Posts: 489
Default Is there a function that counts distinct number od records in a ra

John Walkenbach has a few solutions with the best you can count the unique
items then once the count is found they can be listed. Try,

http://www.spreadsheetpage.com/index...rray_or_range/


HTH
Peter

"Ayo" wrote:


I am looking for a way to tell how many distinct values are in a range. For
example, say I have values in Range A5:A2000 and I want to know of those 1995
cells how many distinct values are in the range.

  #4  
Old March 19th, 2010, 10:01 PM posted to microsoft.public.excel.worksheet.functions
Mike H
external usenet poster
 
Posts: 8,419
Default Is there a function that counts distinct number od records in a ra

Hi,

Try this but have a look at this page which discusses the merits of various
ways of doing this. And BTW doesn't like this method

=SUMPRODUCT((A5:A2000"")/COUNTIF(A5:A2000,A5:A2000&""))

http://www.sulprobil.com/html/count_unique.html
--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"Ayo" wrote:


I am looking for a way to tell how many distinct values are in a range. For
example, say I have values in Range A5:A2000 and I want to know of those 1995
cells how many distinct values are in the range.

 




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 11:54 AM.


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