Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
pja pja is offline
external usenet poster
 
Posts: 2
Default count text entries

How do I count unique text entries in a column and populate new cells w/the
count of each?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,836
Default count text entries

Any of these functions will allow you to count uniques:
=SUMPRODUCT((A2:A78<"")/(COUNTIF(A2:A78,A2:A78&"")))
=SUMPRODUCT((A2:A78<"")/(COUNTIF(A2:A78,A2:A78)+(A2:A78="")))
=SUM(IF(FREQUENCY(IF(LEN(A2:A971)0,MATCH(A2:A971, A2:A971,0),""),IF(LEN(A2:A971)0,MATCH(A2:A971,A2: A971,0),""))0,1))
(this last one is a CES function; ctrl + shift + enter...not just enter)

I'm not sure what you mean by 'populate new cells'. Can you elaborate?

Regards,
Ryan---

--
RyGuy


"pja" wrote:

How do I count unique text entries in a column and populate new cells w/the
count of each?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
pja pja is offline
external usenet poster
 
Posts: 2
Default count text entries

Thank you for your quick response...I have a column of data (e.g., n2:n10)
that includes 'a' , 'b' and 'c' in it...I would like to count each instance
of each of a,b and c...and send the answer to three other cells....thanks
again...

"ryguy7272" wrote:

Any of these functions will allow you to count uniques:
=SUMPRODUCT((A2:A78<"")/(COUNTIF(A2:A78,A2:A78&"")))
=SUMPRODUCT((A2:A78<"")/(COUNTIF(A2:A78,A2:A78)+(A2:A78="")))
=SUM(IF(FREQUENCY(IF(LEN(A2:A971)0,MATCH(A2:A971, A2:A971,0),""),IF(LEN(A2:A971)0,MATCH(A2:A971,A2: A971,0),""))0,1))
(this last one is a CES function; ctrl + shift + enter...not just enter)

I'm not sure what you mean by 'populate new cells'. Can you elaborate?

Regards,
Ryan---

--
RyGuy


"pja" wrote:

How do I count unique text entries in a column and populate new cells w/the
count of each?

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,388
Default count text entries

Hi,
Select a cell to show how many a's, and insert:
=COUNTIF(N2:N10,"a")
Use for b and c by changing the "a" for "b" etc
Dave.

"pja" wrote:

Thank you for your quick response...I have a column of data (e.g., n2:n10)
that includes 'a' , 'b' and 'c' in it...I would like to count each instance
of each of a,b and c...and send the answer to three other cells....thanks
again...


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default count text entries

=COUNTIF(N2:N10,"a") in a cell

=COUNTIF(N2:N10,"b") in a cell

=COUNTIF(N2:N10,"C") in a cell


Gord Dibben MS Excel MVP

On Fri, 2 May 2008 12:36:01 -0700, pja wrote:

Thank you for your quick response...I have a column of data (e.g., n2:n10)
that includes 'a' , 'b' and 'c' in it...I would like to count each instance
of each of a,b and c...and send the answer to three other cells....thanks
again...

"ryguy7272" wrote:

Any of these functions will allow you to count uniques:
=SUMPRODUCT((A2:A78<"")/(COUNTIF(A2:A78,A2:A78&"")))
=SUMPRODUCT((A2:A78<"")/(COUNTIF(A2:A78,A2:A78)+(A2:A78="")))
=SUM(IF(FREQUENCY(IF(LEN(A2:A971)0,MATCH(A2:A971, A2:A971,0),""),IF(LEN(A2:A971)0,MATCH(A2:A971,A2: A971,0),""))0,1))
(this last one is a CES function; ctrl + shift + enter...not just enter)

I'm not sure what you mean by 'populate new cells'. Can you elaborate?

Regards,
Ryan---

--
RyGuy


"pja" wrote:

How do I count unique text entries in a column and populate new cells w/the
count of each?


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
Count single Text in cells with multiple text entries WSC Excel Discussion (Misc queries) 6 January 9th 07 04:17 PM
count entries tom ossieur Excel Worksheet Functions 7 November 7th 06 08:14 PM
Count unique entries... ChuckF Excel Worksheet Functions 5 October 12th 06 05:48 AM
count cells that contain text entries Debi Excel Worksheet Functions 2 October 3rd 05 10:11 PM
count entries within a row thewiz Excel Worksheet Functions 1 January 6th 05 09:57 PM


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