ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   counting occurance of a name in a cell (https://www.excelbanter.com/excel-programming/280941-counting-occurance-name-cell.html)

No Name

counting occurance of a name in a cell
 
Hi,
I have a column that will have names, which can be
repeated any no of times. for example in column A data is
as below.

alex
alex
edward
david
jim
david
edward
jim
david

I want to know how many times jim was repeated.
The result i am looking for is like below
col B col C
alex 2
david 3
edward 2
jim 2

Can anybody tell me how to do this using functions.
If I need to write any macro how do I.

Thank you,
sri k.
..



Bob Phillips[_5_]

counting occurance of a name in a cell
 
Answered in worksheet.functions

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

wrote in message
...
Hi,
I have a column that will have names, which can be
repeated any no of times. for example in column A data is
as below.

alex
alex
edward
david
jim
david
edward
jim
david

I want to know how many times jim was repeated.
The result i am looking for is like below
col B col C
alex 2
david 3
edward 2
jim 2

Can anybody tell me how to do this using functions.
If I need to write any macro how do I.

Thank you,
sri k.
.






All times are GMT +1. The time now is 03:27 PM.

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