View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
StumpedAgain StumpedAgain is offline
external usenet poster
 
Posts: 192
Default Counting the times a number appears

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


"Jennifer B" wrote:

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.