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  

Count number of instances



 
 
Thread Tools Display Modes
  #1  
Old June 4th, 2010, 03:41 PM posted to microsoft.public.excel.worksheet.functions
Curtis[_6_]
external usenet poster
 
Posts: 18
Default Count number of instances

Need a formaula to look at an entire column and count the number of
different times (say date of product)

Thanks
--
ce
  #2  
Old June 4th, 2010, 03:47 PM posted to microsoft.public.excel.worksheet.functions
Jackpot
external usenet poster
 
Posts: 28
Default Count number of instances

Do you mean a unique count..=COUNT() will give you a total count of numeric
values (including date, time, numbers etc; ).

Why dont you post few samples...

"Curtis" wrote:

Need a formaula to look at an entire column and count the number of
different times (say date of product)

Thanks
--
ce

  #3  
Old June 4th, 2010, 04:04 PM posted to microsoft.public.excel.worksheet.functions
Curtis[_6_]
external usenet poster
 
Posts: 18
Default Count number of instances

Yes sorry unique count.

If I have Products in column b

apples
apples
peach
grape
lemon

I want to count the number of unique products as in this case the result
would be 4
--
ce


"Jackpot" wrote:

Do you mean a unique count..=COUNT() will give you a total count of numeric
values (including date, time, numbers etc; ).

Why dont you post few samples...

"Curtis" wrote:

Need a formaula to look at an entire column and count the number of
different times (say date of product)

Thanks
--
ce

  #4  
Old June 4th, 2010, 04:12 PM posted to microsoft.public.excel.worksheet.functions
Jackpot
external usenet poster
 
Posts: 28
Default Count number of instances

Try the below.

=SUMPRODUCT((B1:B20"")/COUNTIF(B1:B20,B1:B20&""))


"Curtis" wrote:

Yes sorry unique count.

If I have Products in column b

apples
apples
peach
grape
lemon

I want to count the number of unique products as in this case the result
would be 4
--
ce


"Jackpot" wrote:

Do you mean a unique count..=COUNT() will give you a total count of numeric
values (including date, time, numbers etc; ).

Why dont you post few samples...

"Curtis" wrote:

Need a formaula to look at an entire column and count the number of
different times (say date of product)

Thanks
--
ce

  #5  
Old June 4th, 2010, 04:15 PM posted to microsoft.public.excel.worksheet.functions
Dave Peterson
external usenet poster
 
Posts: 19,791
Default Count number of instances

If you wanted to count the number of unique entries in that range, you could use
a formula like:

=sumproduct((a1:a10"")/countif(a1:a10,a1:a10&""))
(you can only use the entire column in xl2007)

Curtis wrote:

Need a formaula to look at an entire column and count the number of
different times (say date of product)

Thanks
--
ce


--

Dave Peterson
 




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 06:34 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.