Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Rob Kaiser
 
Posts: n/a
Default How do I count the # of unique occurences of a text in a column?

I am looking for a command/formulat to count (return a single number) the
number of unique text entries in a column.
  #2   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

One way

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


Regards,

Peo Sjoblom

"Rob Kaiser" <Rob wrote in message
...
I am looking for a command/formulat to count (return a single number) the
number of unique text entries in a column.



  #3   Report Post  
Duke Carey
 
Posts: n/a
Default

This is VERY resource intensive, so be careful using it on a list of several
thousand entries

It's an array formula - enter it with the key combination Ctrl+Shift+Enter

=SUM(1/COUNTIF(A1:A10,A1:A10))



"Rob Kaiser" wrote:

I am looking for a command/formulat to count (return a single number) the
number of unique text entries in a column.

  #4   Report Post  
Duke Carey
 
Posts: n/a
Default

I like yours MUCH better, Peo

"Peo Sjoblom" wrote:

One way

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


Regards,

Peo Sjoblom

"Rob Kaiser" <Rob wrote in message
...
I am looking for a command/formulat to count (return a single number) the
number of unique text entries in a column.




  #5   Report Post  
Aladin Akyurek
 
Posts: n/a
Default

It's the SumProduct version of Hager's formula extended to take care of
formula-blanks and empty cells,

{=SUM(IF(A1:A10<"",1/COUNTIF(A1:A10,A1:A10)))}

Duke Carey wrote:
I like yours MUCH better, Peo

"Peo Sjoblom" wrote:


One way

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


Regards,

Peo Sjoblom

"Rob Kaiser" <Rob wrote in message
...

I am looking for a command/formulat to count (return a single number) the
number of unique text entries in a column.






  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 12
Default How do I count the # of unique occurences of a text in a colum

Experts
How do you adjust this to account for columns that may be different in
length? One time you need A375 and the next time you use it is A584.


JayMan

"Aladin Akyurek" wrote:

It's the SumProduct version of Hager's formula extended to take care of
formula-blanks and empty cells,

{=SUM(IF(A1:A10<"",1/COUNTIF(A1:A10,A1:A10)))}

Duke Carey wrote:
I like yours MUCH better, Peo

"Peo Sjoblom" wrote:


One way

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


Regards,

Peo Sjoblom

"Rob Kaiser" <Rob wrote in message
...

I am looking for a command/formulat to count (return a single number) the
number of unique text entries in a column.




  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default How do I count the # of unique occurences of a text in a colum

Sounds like you want to use a dynamic range. See this:

http://contextures.com/xlNames01.html#Dynamic

--
Biff
Microsoft Excel MVP


"JayMan" wrote in message
...
Experts
How do you adjust this to account for columns that may be different in
length? One time you need A375 and the next time you use it is A584.


JayMan

"Aladin Akyurek" wrote:

It's the SumProduct version of Hager's formula extended to take care of
formula-blanks and empty cells,

{=SUM(IF(A1:A10<"",1/COUNTIF(A1:A10,A1:A10)))}

Duke Carey wrote:
I like yours MUCH better, Peo

"Peo Sjoblom" wrote:


One way

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


Regards,

Peo Sjoblom

"Rob Kaiser" <Rob wrote in message
...

I am looking for a command/formulat to count (return a single number)
the
number of unique text entries in a column.






  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 12
Default How do I count the # of unique occurences of a text in a colum

T
Do I now plug that in like this, Range is the name of the range
{=SUM(IF(Range<"",1/COUNTIF(Range,Range)))}

not really sure here

JayMan

"T. Valko" wrote:

Sounds like you want to use a dynamic range. See this:

http://contextures.com/xlNames01.html#Dynamic

--
Biff
Microsoft Excel MVP


"JayMan" wrote in message
...
Experts
How do you adjust this to account for columns that may be different in
length? One time you need A375 and the next time you use it is A584.


JayMan

"Aladin Akyurek" wrote:

It's the SumProduct version of Hager's formula extended to take care of
formula-blanks and empty cells,

{=SUM(IF(A1:A10<"",1/COUNTIF(A1:A10,A1:A10)))}

Duke Carey wrote:
I like yours MUCH better, Peo

"Peo Sjoblom" wrote:


One way

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


Regards,

Peo Sjoblom

"Rob Kaiser" <Rob wrote in message
...

I am looking for a command/formulat to count (return a single number)
the
number of unique text entries in a column.







  #9   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default How do I count the # of unique occurences of a text in a colum

Yes. However, I would use the SUMPRODUCT formula that was posted in your
thread:

=SUMPRODUCT((Range<"")/COUNTIF(Range,Range&""))

--
Biff
Microsoft Excel MVP


"JayMan" wrote in message
...
T
Do I now plug that in like this, Range is the name of the range
{=SUM(IF(Range<"",1/COUNTIF(Range,Range)))}

not really sure here

JayMan

"T. Valko" wrote:

Sounds like you want to use a dynamic range. See this:

http://contextures.com/xlNames01.html#Dynamic

--
Biff
Microsoft Excel MVP


"JayMan" wrote in message
...
Experts
How do you adjust this to account for columns that may be different in
length? One time you need A375 and the next time you use it is A584.


JayMan

"Aladin Akyurek" wrote:

It's the SumProduct version of Hager's formula extended to take care
of
formula-blanks and empty cells,

{=SUM(IF(A1:A10<"",1/COUNTIF(A1:A10,A1:A10)))}

Duke Carey wrote:
I like yours MUCH better, Peo

"Peo Sjoblom" wrote:


One way

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


Regards,

Peo Sjoblom

"Rob Kaiser" <Rob wrote in message
...

I am looking for a command/formulat to count (return a single
number)
the
number of unique text entries in a column.









  #10   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 12
Default How do I count the # of unique occurences of a text in a colum

THANK YOU

"T. Valko" wrote:

Yes. However, I would use the SUMPRODUCT formula that was posted in your
thread:

=SUMPRODUCT((Range<"")/COUNTIF(Range,Range&""))

--
Biff
Microsoft Excel MVP


"JayMan" wrote in message
...
T
Do I now plug that in like this, Range is the name of the range
{=SUM(IF(Range<"",1/COUNTIF(Range,Range)))}

not really sure here

JayMan

"T. Valko" wrote:

Sounds like you want to use a dynamic range. See this:

http://contextures.com/xlNames01.html#Dynamic

--
Biff
Microsoft Excel MVP


"JayMan" wrote in message
...
Experts
How do you adjust this to account for columns that may be different in
length? One time you need A375 and the next time you use it is A584.


JayMan

"Aladin Akyurek" wrote:

It's the SumProduct version of Hager's formula extended to take care
of
formula-blanks and empty cells,

{=SUM(IF(A1:A10<"",1/COUNTIF(A1:A10,A1:A10)))}

Duke Carey wrote:
I like yours MUCH better, Peo

"Peo Sjoblom" wrote:


One way

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


Regards,

Peo Sjoblom

"Rob Kaiser" <Rob wrote in message
...

I am looking for a command/formulat to count (return a single
number)
the
number of unique text entries in a column.












  #11   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default How do I count the # of unique occurences of a text in a colum

You're welcome!

--
Biff
Microsoft Excel MVP


"JayMan" wrote in message
...
THANK YOU

"T. Valko" wrote:

Yes. However, I would use the SUMPRODUCT formula that was posted in your
thread:

=SUMPRODUCT((Range<"")/COUNTIF(Range,Range&""))

--
Biff
Microsoft Excel MVP


"JayMan" wrote in message
...
T
Do I now plug that in like this, Range is the name of the range
{=SUM(IF(Range<"",1/COUNTIF(Range,Range)))}

not really sure here

JayMan

"T. Valko" wrote:

Sounds like you want to use a dynamic range. See this:

http://contextures.com/xlNames01.html#Dynamic

--
Biff
Microsoft Excel MVP


"JayMan" wrote in message
...
Experts
How do you adjust this to account for columns that may be different
in
length? One time you need A375 and the next time you use it is A584.


JayMan

"Aladin Akyurek" wrote:

It's the SumProduct version of Hager's formula extended to take
care
of
formula-blanks and empty cells,

{=SUM(IF(A1:A10<"",1/COUNTIF(A1:A10,A1:A10)))}

Duke Carey wrote:
I like yours MUCH better, Peo

"Peo Sjoblom" wrote:


One way

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


Regards,

Peo Sjoblom

"Rob Kaiser" <Rob wrote in
message
...

I am looking for a command/formulat to count (return a single
number)
the
number of unique text entries in a column.












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
Advanced unique cell count with multiple conditions ... help! Flystar Excel Worksheet Functions 3 September 25th 05 03:50 AM
count unique with conditions \ditzman via OfficeKB.com\ Excel Worksheet Functions 8 July 8th 05 12:41 PM
List Unique Occurences and Count PGiessler Excel Worksheet Functions 6 June 24th 05 03:49 PM
Count Unique Values annie Excel Worksheet Functions 1 June 9th 05 07:19 AM
Pivot Table Unique Count bsantona Excel Worksheet Functions 1 February 11th 05 09:27 PM


All times are GMT +1. The time now is 11:18 AM.

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"