Counting the times a number appears


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.
 
Ad

Advertisements

S

StumpedAgain

You're right! In B2 (or whichever column you want it in) just type:
=countif(A:A,A2)
Then copy/paste it down!
 
Ad

Advertisements

P

Pete_UK

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top