#1   Report Post  
Alan
 
Posts: n/a
Default Counting Values

Hello All

Yet another problem ... have spreadsheed with multiple rows of data, however
I am looking to find a way of counting unique entries ...

ie data in colums such as ... 123 234 345 456 123 345 789

I am looking for a count function to tell me that there are 5 different
indivdual values within this set ... not lookking for number of entries just
identifying the different unique individual entries

Many Thanks

Alan


  #2   Report Post  
Frank Kabel
 
Posts: n/a
Default

Hi
try:
=SUMPRODUCT((A1:A20<"")/(COUNTIF(A1:A20,A1:A20)+(A1:A20= "")))

--
Regards
Frank Kabel
Frankfurt, Germany


Alan wrote:
Hello All

Yet another problem ... have spreadsheed with multiple rows of data,
however I am looking to find a way of counting unique entries ...

ie data in colums such as ... 123 234 345 456 123 345 789

I am looking for a count function to tell me that there are 5
different indivdual values within this set ... not lookking for
number of entries just identifying the different unique individual
entries

Many Thanks

Alan

  #3   Report Post  
Alan
 
Posts: n/a
Default

Thanks Frank ... however that didnt work for me here ... some of my sheets
also contain more than 20 rows :(



"Frank Kabel" wrote:

Hi
try:
=SUMPRODUCT((A1:A20<"")/(COUNTIF(A1:A20,A1:A20)+(A1:A20= "")))

--
Regards
Frank Kabel
Frankfurt, Germany


Alan wrote:
Hello All

Yet another problem ... have spreadsheed with multiple rows of data,
however I am looking to find a way of counting unique entries ...

ie data in colums such as ... 123 234 345 456 123 345 789

I am looking for a count function to tell me that there are 5
different indivdual values within this set ... not lookking for
number of entries just identifying the different unique individual
entries

Many Thanks

Alan


  #4   Report Post  
Frank Kabel
 
Posts: n/a
Default

Hi
then just change the range reference. e.g. change
A1:A20 (all occurences) to
A1:A100 (or whatever is required)

--
Regards
Frank Kabel
Frankfurt, Germany


Alan wrote:
Thanks Frank ... however that didnt work for me here ... some of my
sheets also contain more than 20 rows :(



"Frank Kabel" wrote:

Hi
try:
=SUMPRODUCT((A1:A20<"")/(COUNTIF(A1:A20,A1:A20)+(A1:A20= "")))

--
Regards
Frank Kabel
Frankfurt, Germany


Alan wrote:
Hello All

Yet another problem ... have spreadsheed with multiple rows of

data,
however I am looking to find a way of counting unique entries ...

ie data in colums such as ... 123 234 345 456 123 345 789

I am looking for a count function to tell me that there are 5
different indivdual values within this set ... not lookking for
number of entries just identifying the different unique individual
entries

Many Thanks

Alan


  #5   Report Post  
Gord Dibben
 
Posts: n/a
Default

Alan

Assuming the data are in A1 to G1 and always numbers.

=SUM(N(FREQUENCY(A1:G1,A1:G1)0)) returns 5

If a mix of numbers and includes blank cells see Chip Pearson's site for
counting uniques in a range with more complex parameters.

http://www.cpearson.com/excel/duplic...gingDuplicates


Gord Dibben Excel MVP

On Thu, 25 Nov 2004 10:17:03 -0800, "Alan"
wrote:

Hello All

Yet another problem ... have spreadsheed with multiple rows of data, however
I am looking to find a way of counting unique entries ...

ie data in colums such as ... 123 234 345 456 123 345 789

I am looking for a count function to tell me that there are 5 different
indivdual values within this set ... not lookking for number of entries just
identifying the different unique individual entries

Many Thanks

Alan




  #6   Report Post  
Harlan Grove
 
Posts: n/a
Default

"Gord Dibben" <gorddibbATshawDOTca wrote...
Assuming the data are in A1 to G1 and always numbers.

=SUM(N(FREQUENCY(A1:G1,A1:G1)0)) returns 5

....

Fewer nested function calls is usually better.

=COUNT(1/FREQUENCY(A1:G1,A1:G1))


  #7   Report Post  
annie
 
Posts: n/a
Default

Thanks Harlan!
I also get help from your answer!
thank you very much!

"Harlan Grove" wrote:

"Gord Dibben" <gorddibbATshawDOTca wrote...
Assuming the data are in A1 to G1 and always numbers.

=SUM(N(FREQUENCY(A1:G1,A1:G1)0)) returns 5

....

Fewer nested function calls is usually better.

=COUNT(1/FREQUENCY(A1:G1,A1:G1))



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
Second serie doesn't use X-as values JackRnl Charts and Charting in Excel 1 January 20th 05 01:04 AM
Counting Values Adam1 Chicago Excel Discussion (Misc queries) 4 January 7th 05 07:39 PM
Counting values within a Date Range Jana Excel Discussion (Misc queries) 7 December 9th 04 10:18 PM
Counting unique values + frequency Mike Ferguson Excel Worksheet Functions 3 November 24th 04 07:31 AM
Counting values Jouni Excel Worksheet Functions 2 November 18th 04 12:24 PM


All times are GMT +1. The time now is 01:55 AM.

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

About Us

"It's about Microsoft Excel"