flyonthewall
New Member
- Joined
- Jul 24, 2006
- Messages
- 44
i don't know of an elegant/dynamic way to handle the below (simplified) problem. col A will be different dates, sometimes the same dates but i doubt that matters. the focus is col B which can have any number of different names.
the goal, if possible, would be to dynamically output the frequency of a string in col b.
is this possible or can someone think of a crafty way to accomplish it?
<blockquote>
DATA (csv)
-----------------
date1, joe
date2, sally
date3, rick
date4, sally
date5, sally
date6, joe
date7, sally
etc...
DESIRED OUTPUT
----------------------
sally, 4
joe, 2
rick, 1
</blockquote>
the goal, if possible, would be to dynamically output the frequency of a string in col b.
is this possible or can someone think of a crafty way to accomplish it?
<blockquote>
DATA (csv)
-----------------
date1, joe
date2, sally
date3, rick
date4, sally
date5, sally
date6, joe
date7, sally
etc...
DESIRED OUTPUT
----------------------
sally, 4
joe, 2
rick, 1
</blockquote>