PDA

View Full Version : [SOLVED:] Counting the occurrence of each entry in a column



enjam
06-22-2021, 01:51 AM
Hi all,

I'm trying to develop a macro that will count the occurrence of each entry in a column, and populate a new column with the number of times that entry has appeared in the count.

Attached is a spreadsheet with the highlighted column (column G) showing what I'm trying to automate, and column B is the one I'm trying to perform the count on.

Any help or guidance would be greatly appreciated :)

28621

Bob Phillips
06-22-2021, 01:56 AM
Use a simple COUNTIFS

=COUNTIFS($B$2:$B2,$B2)

enjam
06-22-2021, 02:02 AM
Brilliant, thanks Bob :)