Determine the nyumber of times a value appears in an Excel column

Posted on 2011-04-28
Last Modified: 2012-05-11
I have a column of duplicate values that I need to determine how many times each value appears.  In column A i have a list of values (names), in column B I would like the number of times that name appears in the list to appear as a number.  So if the name PETER appears 10 times in a list of 100 names, I would like the number 10 to appear next to Peter's name each time in column B.  Is there a formula to do this?
Question by:marku24
    LVL 29

    Expert Comment

    CountIf function should do that for you.
    LVL 81

    Accepted Solution

    In cell A2:


    copy down as far as needed.


    Featured Post

    Highfive + Dolby Voice = No More Audio Complaints!

    Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

    Join & Write a Comment

    How to quickly and accurately populate Word documents with Excel data, charts and images (including Automated Bookmark generation) David Miller (dlmille) Synopsis In this article you’ll learn how to use ExcelToWord! to copy data,charts, shapes …
    This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
    The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…
    This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    23 Experts available now in Live!

    Get 1:1 Help Now