Link to home
Start Free TrialLog in
Avatar of Craig
CraigFlag for United States of America

asked on

Count the number of times each word in a column appears

Hi all,
Hoping someone can guide me with what I thought would be a straightforward Excel calculation:
Say I have a column containing 10,000 first names.  I want to have Excel count how many times each name appears and have that count appear in another column.  
Can someone point me to the simplest solution?
Thanks!
Avatar of Subodh Tiwari (Neeraj)
Subodh Tiwari (Neeraj)
Flag of India image

Assuming First Names are in column A starting from Row#2, then try this...

In B2 (or in some other cell in row2)
=COUNTIF(A:A,A2)

Open in new window

and then copy it down.

Otherwise, you can simply insert a Pivot Table and drag the First Name field in the Row Area and drag the First Name field again in the Values Area.
Avatar of Craig

ASKER

Thanks Subodh.  Do I have to identify each criterion (that is, go through the entire column to identify each name that appears)?
ASKER CERTIFIED SOLUTION
Avatar of Subodh Tiwari (Neeraj)
Subodh Tiwari (Neeraj)
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Craig

ASKER

Subdoh,
I got it using the Pivot Table option!
Thanks much!
You're welcome again Craig!
Great! Pivot Table was most suitable for this scenario.
Thanks for the testimonial and feedback Craig!