#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 132
Default Count function

HI

I have a list of series like this

serie 165125
serie 165126
serie 165127
serie 165125
serie 165126
serie 165124
serie 165125

I want to count how many series I have. The formula have to consider that
some series are repeiting in many rows. ei in the list above will be 4
series.

Could anyone help me please.

Thanks,
Orquidea

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default Count function

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

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)



"orquidea" wrote in message
...
HI

I have a list of series like this

serie 165125
serie 165126
serie 165127
serie 165125
serie 165126
serie 165124
serie 165125

I want to count how many series I have. The formula have to consider that
some series are repeiting in many rows. ei in the list above will be 4
series.

Could anyone help me please.

Thanks,
Orquidea



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,268
Default Count function

Assume the values are in A1:A10

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

--


Regards,


Peo Sjoblom


"orquidea" wrote in message
...
HI

I have a list of series like this

serie 165125
serie 165126
serie 165127
serie 165125
serie 165126
serie 165124
serie 165125

I want to count how many series I have. The formula have to consider that
some series are repeiting in many rows. ei in the list above will be 4
series.

Could anyone help me please.

Thanks,
Orquidea



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 132
Default Count function

Thanks

"Bob Phillips" wrote:

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

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)



"orquidea" wrote in message
...
HI

I have a list of series like this

serie 165125
serie 165126
serie 165127
serie 165125
serie 165126
serie 165124
serie 165125

I want to count how many series I have. The formula have to consider that
some series are repeiting in many rows. ei in the list above will be 4
series.

Could anyone help me please.

Thanks,
Orquidea




  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 132
Default Count function

thanks,

"Peo Sjoblom" wrote:

Assume the values are in A1:A10

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

--


Regards,


Peo Sjoblom


"orquidea" wrote in message
...
HI

I have a list of series like this

serie 165125
serie 165126
serie 165127
serie 165125
serie 165126
serie 165124
serie 165125

I want to count how many series I have. The formula have to consider that
some series are repeiting in many rows. ei in the list above will be 4
series.

Could anyone help me please.

Thanks,
Orquidea




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
row count function Daniel Charts and Charting in Excel 1 June 14th 07 01:40 PM
COUNT Function Richard New Users to Excel 3 March 12th 07 04:38 PM
Count function L.T. Excel Discussion (Misc queries) 4 January 20th 07 03:40 AM
using the count function barklek Excel Discussion (Misc queries) 3 August 22nd 05 01:00 PM
count function Brian Excel Worksheet Functions 8 December 21st 04 09:25 PM


All times are GMT +1. The time now is 02:25 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"