ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   counting groups of words (https://www.excelbanter.com/excel-worksheet-functions/261710-counting-groups-words.html)

Seller Smith

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

Mike H

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
.


Ron Rosenfeld

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

Seller Smith

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.

Ron Rosenfeld

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


All times are GMT +1. The time now is 01:47 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com