12

I have a column of text values with repeated values. I want to create a new column of unique values (no repeats) and a column with the frequency of each of those values.

What's the easiest way to do that? Efficiency isn't much of a concern as it's under 10,000 rows.

sagacious
  • 129
  • 1
  • 1
  • 3

1 Answers1

23

For the sake of an answer rather than comments, copy column (say A) to B (say) and for B only Data > Data Tools – Remove Duplicates then in C2 enter:

=COUNTIF(A:A,B2)  

and copy down as required

OR (preferred option)

use a PivotTable as @Tim:

SO13151320 example

pnuts
  • 58,317
  • 11
  • 87
  • 139