+ Reply to Thread
Results 1 to 6 of 6

Count number of times of name appears in a column

  1. #1
    Registered User
    Join Date
    07-31-2012
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel 2010
    Posts
    3

    Count number of times of name appears in a column

    Hi guys,
    I'm hoping someone can help me. I need to count the number of times a name appears in a column. For example, Column A has the following names:

    gia
    gia
    gia
    gia
    gia
    gia
    jon
    jon
    Roger
    Roger
    Roger
    Roger

    I would like a formula so that Column B tells me the number of times the name in that cell appears in the rest of the column. So for gia the answer should be 6, for jon the answer should be 2 and for Roger the answer should be 4. I have data set is quite large that I imagine I could not use this formula =COUNTIF($A$2:$A$442,"gia") because to do this I would need to manually insert the name each time.

    Can anyone help me out?

    Thanks

  2. #2
    Forum Expert mike7952's Avatar
    Join Date
    12-17-2011
    Location
    Florida
    MS-Off Ver
    Excel 2007, Excel 2016
    Posts
    3,519

    Re: Count number of times of name appears in a column

    Ness78,

    Just put your formula in column b but replace "gia" with A2 like this =COUNTIF($A$2:$A$442,A2) and drag down

  3. #3
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: Count number of times of name appears in a column

    Hi Ness and welcome to the forum.

    See the attached with the answer.
    Attached Files Attached Files
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  4. #4
    Registered User
    Join Date
    07-31-2012
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Count number of times of name appears in a column

    Thanks for the welcome and for getting back to me so quickly!!

    Works a treat!! I've been trying to figure this one out for ages! Should have joined this forum months ago.

    Thanks again
    Last edited by Ness78; 07-31-2012 at 09:37 PM. Reason: Followed advice and fixed the issue

  5. #5
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Count number of times of name appears in a column

    Alternatively, use pivot tables..
    Attached Files Attached Files
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  6. #6
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Count number of times of name appears in a column

    @ Ness78

    Based on your last post it seems that you are satisfied with the solution(s) you've received but you haven't marked your thread as SOLVED. I'll do that for you now but please keep in mind for your future threads that Rule #9 requires you to do that yourself. If your problem has not been solved you can use Thread Tools (located above your first post) and choose "Mark this thread as unsolved".
    Thanks.

    Also, as a new member of the forum, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1