ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Cell Frequency (https://www.excelbanter.com/excel-worksheet-functions/18988-cell-frequency.html)

james

Cell Frequency
 
Is there a way to count the frequency of cell contents?

Example:
A B
1Smith Joe
2Smith Mary
3Jones Fred
4Smith Joe
5Jones Fred

I want this:
Smith Joe 2
Smith Mary 1
Jones Fred 2

Thanks for any advise.



N Harkawat

On column B names copy this formula
=countif($a1:$a9999,a1)
and fill it down column B

Or
Use a pivot table to show the count of names

"james" wrote in message
...
Is there a way to count the frequency of cell contents?

Example:
A B
1Smith Joe
2Smith Mary
3Jones Fred
4Smith Joe
5Jones Fred

I want this:
Smith Joe 2
Smith Mary 1
Jones Fred 2

Thanks for any advise.






All times are GMT +1. The time now is 01:59 AM.

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