Counting the times a number appears

  • Thread starter Thread starter Jennifer B
  • Start date Start date
J

Jennifer B

I have a dataset with individual and household numbers. Some of the
individuals live in the same household. I am trying to figure out how to
count and display next to each individual how many people are in her/his
household. I figure I need to count and display how many times his/her
household number shows up, but I do not know how to do this for a general
household number. (There are thousands so I don't want to have to search for
each household number.) The household number is in column a. I figure it's
something like "countif(a:a,?) but I don't know what to use for the criteria.
Thanks.
 
You're right! In B2 (or whichever column you want it in) just type:
=countif(A:A,A2)
Then copy/paste it down!
 
I don't understand your data layout. If you had a group of people
living at 20 High Street and another group at 20 Main Street, would
you want to count all those 20's together?

Pete
 
Back
Top