Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default Counting the times a number appears

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.
  #2   Report Post  
Posted to microsoft.public.excel.misc
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.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Counting the times a number appears

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

On Jul 17, 11:01*pm, 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.


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
counting the number of times a word appears Adrienne[_2_] Excel Worksheet Functions 5 September 5th 07 02:49 AM
counting the number of times value of "x" appears in a row Hugh Excel Discussion (Misc queries) 2 August 2nd 06 12:17 PM
Counting the number of times a word appears 'anywhere' on a page Brother Laz New Users to Excel 1 June 17th 06 03:06 PM
Counting the number of times a specific character appears in a cell PCLIVE Excel Worksheet Functions 3 November 4th 05 05:08 AM
Counting the number of times a word appears in a worksheet Jig Bhakta Excel Worksheet Functions 4 February 3rd 05 03:01 AM


All times are GMT +1. The time now is 10:08 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright 2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"