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  

counting groups of words



 
 
Thread Tools Display Modes
  #1  
Old April 16th, 2010, 04:41 PM posted to microsoft.public.excel.worksheet.functions
Seller Smith
external usenet poster
 
Posts: 2
Default counting groups of words

I have a column of cells that I would like to count the occurances of
duplications of each group of words.
Example: AMIN500S 1
AMIN400EC 9
AMINO500 5 and so on.
I would like a formula that does not require me to input any specific
text to search for in the formula as there are over 12000 entries in
the column.
Any help on this dilema is greatly appreciated.

AMIN500S
AMIN400EC
AMIN400EC
AMIN400EC
AMIN400EC
AMIN400EC
AMIN400EC
AMIN400EC
AMIN400EC
AMIN400EC
AMINO500
AMINO500
AMINO500
AMINO500
AMINO500
  #2  
Old April 16th, 2010, 05:28 PM posted to microsoft.public.excel.worksheet.functions
Mike H
external usenet poster
 
Posts: 8,419
Default counting groups of words

Hi,

Hi you could use
=COUNTIF(A:A,A1)

But if you used this on your data list you would get duplicates. Instead you
could extract unique values to another range using

Data|Filter|Advanced filter and then follow the wizard to extract the unique
values to a new location and use the formula above on these unique values.
--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"Seller Smith" wrote:

I have a column of cells that I would like to count the occurances of
duplications of each group of words.
Example: AMIN500S 1
AMIN400EC 9
AMINO500 5 and so on.
I would like a formula that does not require me to input any specific
text to search for in the formula as there are over 12000 entries in
the column.
Any help on this dilema is greatly appreciated.

AMIN500S
AMIN400EC
AMIN400EC
AMIN400EC
AMIN400EC
AMIN400EC
AMIN400EC
AMIN400EC
AMIN400EC
AMIN400EC
AMINO500
AMINO500
AMINO500
AMINO500
AMINO500
.

  #3  
Old April 16th, 2010, 05:45 PM posted to microsoft.public.excel.worksheet.functions
Ron Rosenfeld
external usenet poster
 
Posts: 3,719
Default counting groups of words

On Fri, 16 Apr 2010 08:41:25 -0700 (PDT), Seller Smith
wrote:

I have a column of cells that I would like to count the occurances of
duplications of each group of words.
Example: AMIN500S 1
AMIN400EC 9
AMINO500 5 and so on.
I would like a formula that does not require me to input any specific
text to search for in the formula as there are over 12000 entries in
the column.
Any help on this dilema is greatly appreciated.

AMIN500S
AMIN400EC
AMIN400EC
AMIN400EC
AMIN400EC
AMIN400EC
AMIN400EC
AMIN400EC
AMIN400EC
AMIN400EC
AMINO500
AMINO500
AMINO500
AMINO500
AMINO500


You could use a Pivot Table.

Put a label at the top of the column; e.g. "Words"
Select some cell within the table
Insert/Pivot Table (menu option different on pre XL2007)

Drag Words to Row area
Drag Words to Data or Values area
It should come up "Count of Words"

Format to taste:

Words Count
AMIN400EC 9
AMIN500S 1
AMINO500 5

Grand Total 15

One option, since you wrote you only wanted to list the duplications:

Select the "Filter" drop down button next to Words
Value Filters
Does not equal
1

Words Count
AMIN400EC 9
AMINO500 5
Grand Total 14
--ron
  #4  
Old April 16th, 2010, 07:23 PM posted to microsoft.public.excel.worksheet.functions
Seller Smith
external usenet poster
 
Posts: 2
Default counting groups of words

On Apr 16, 11:45*am, Ron Rosenfeld wrote:
On Fri, 16 Apr 2010 08:41:25 -0700 (PDT), Seller Smith





wrote:
I have a column of cells that I would like to count the occurances of
duplications of each group of words.
Example: AMIN500S * 1
* * * * * * *AMIN400EC * 9
* * * * * * *AMINO500 * 5 and so on.
I would like a formula that does not require me to input any specific
text to search for in the formula as there are over 12000 entries in
the column.
Any help on this dilema is greatly appreciated.


AMIN500S
AMIN400EC
AMIN400EC
AMIN400EC
AMIN400EC
AMIN400EC
AMIN400EC
AMIN400EC
AMIN400EC
AMIN400EC
AMINO500
AMINO500
AMINO500
AMINO500
AMINO500


You could use a Pivot Table.

Put a label at the top of the column; e.g. "Words"
Select some cell within the table
Insert/Pivot Table (menu option different on pre XL2007)

Drag Words to Row area
Drag Words to Data or Values area
* * * * It should come up "Count of Words"

Format to taste:

Words * * * * * Count
AMIN400EC * * * 9
AMIN500S * * * *1
AMINO500 * * * *5

Grand Total * * 15

One option, since you wrote you only wanted to list the duplications:

Select the "Filter" drop down button next to Words
* * * * Value Filters
* * * * * * * * Does not equal
* * * * * * * * * * * * 1

Words * * * * * Count
AMIN400EC * * * 9
AMINO500 * * * *5
Grand Total * * 14
--ron- Hide quoted text -

- Show quoted text -


Thank you so much for your help guys, took a little tinkering (i'm a
noob) but I finally got what I wanted.
  #5  
Old April 16th, 2010, 08:32 PM posted to microsoft.public.excel.worksheet.functions
Ron Rosenfeld
external usenet poster
 
Posts: 3,719
Default counting groups of words

On Fri, 16 Apr 2010 11:23:12 -0700 (PDT), Seller Smith
wrote:

Thank you so much for your help guys, took a little tinkering (i'm a
noob) but I finally got what I wanted.


Glad to help. Thanks for the feedback.
--ron
 




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:53 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.