+ Reply to Thread
Results 1 to 8 of 8

Counting up names

  1. #1
    Forum Contributor
    Join Date
    09-23-2010
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    346

    Counting up names

    Afternoon,

    I don't know if this is possible but.

    I have a column (A) which is full of names, some are repeated multiples times - more names get added each week. Is there a way to get excel to create a list of the names with the number of times they appear - without doing a lookup?

    Many thanks for any hep you can give.
    Last edited by Cmorgan; 03-19-2012 at 04:18 AM.

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

    Re: Counting up names

    Hi Cmorgan,

    This sounds like an easy Pivot Table answer where Count is used.
    See attached for simple example.
    Attached Files Attached Files
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Forum Expert
    Join Date
    10-10-2008
    Location
    Northeast Pennsylvania, USA
    MS-Off Ver
    Excel 2007
    Posts
    2,387

    Re: Counting up names

    Cmorgan,

    It would help if you could post your workbook/worksheet, with the names in column A, and, in an area to the right (two columns not being used) the results you are looking for.

    The structure and data types of the sample workbook must exactly duplicate the real workbook. Include a clear and explicit explanation of your requirements.

    To attach your workbook, scroll down and click on the Go Advanced button, then scroll down and click on the Manage Attachments button.
    Have a great day,
    Stan

    Windows 10, Excel 2007, on a PC.

    If you are satisfied with the solution(s) provided, please mark your thread as Solved by clicking EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED.

  4. #4
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Counting up names

    Hi

    Even,I believe, that Martin's solution is the best in this case, i give you a formula solution.

    IF---COUNTIF----Auto Filter.

    In Column B

    =IF(COUNTIF(Sheet1!$A3:$A$10;Sheet1!A3)=1;Sheet1!A3;"")

    In Column C

    =IF(COUNTIF($A$2:$A$10;C2)=0;"";COUNTIF($A$2:$A$10;C2))

    Then Auto Filter>>Option>>Non Blanks.
    Attached Files Attached Files
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  5. #5
    Forum Contributor
    Join Date
    09-23-2010
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    346

    Re: Counting up names

    Thanks for this guys, I've tried to use MarvinP's pivot table but had no joy at creating my own. I've tried to use the help guide in Excel but to no avail. I've managed to create the pivot table so it lists all the names in the column but not sure how to create the counting column. Any suggestions please?

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

    Re: Counting up names

    Hi Cmorgan,

    To create a unique column of people names, so you can apply Fotis's formulas, you need to do an advanced filter and check the Unique check box. See http://www.contextures.com/xladvfilter01.html for some pictures.

    This is why I like Pivot Tables as they do the Unique Filter for me and then do the count. No formulas needed. No Advanced Filter using Unique!

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Counting up names

    When you create the PT, click in the column and select "count" from the options in that window
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  8. #8
    Forum Contributor
    Join Date
    09-23-2010
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    346

    Re: Counting up names

    Thanks, for this.

+ 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