Results 1 to 3 of 3

Thread: finding the number of occurrence

  1. #1
    Junior Member
    Join Date
    Dec 2012
    Posts
    3
    Rep Power
    0

    Lightbulb finding the number of occurrence

    apple
    berry
    berry
    coconut
    coconut
    coconut
    donut
    donut
    grape
    lime

    Hi all, above is my sample data. How can I count the number of occurrence?
    My desired outcome should be something like:

    apple 1
    berry 2
    coconut 3
    donut 2
    grape 1
    lime 1

    I have tried =COUNTIF($A:$A,A7) but is not right

  2. #2
    Administrator Admin's Avatar
    Join Date
    Mar 2011
    Posts
    1,122
    Rep Power
    10
    Hi zzzqinzzz,

    Welcome to ExcelFox !!

    =COUNTIF($A:$A,A7) should work. Are you sure A7 is the correct reference cell ? Also check the spelling or any leading or trailing space.

    If this doesn't work for you, attach a workbook.
    Cheers !

    Excel Range to BBCode Table
    Use Social Networking Tools If You Like the Answers !

    Message to Cross Posters

    @ Home - Office 2010/2013/2016 on Win 10 (64 bit); @ Work - Office 2016 on Win 10 (64 bit)

  3. #3
    Junior Member
    Join Date
    Dec 2012
    Posts
    3
    Rep Power
    0
    Yes. I reference the wrong cell =) thank you.

Similar Threads

  1. Replies: 3
    Last Post: 03-31-2013, 06:18 AM
  2. Adding specfic number to a available number in previous cell.
    By Rajesh Kr Joshi in forum Excel Help
    Replies: 2
    Last Post: 03-02-2013, 01:55 AM
  3. Finding Credit and Debit Data and Creating Pivot
    By Prabhu in forum Excel Help
    Replies: 10
    Last Post: 01-29-2012, 11:03 PM
  4. Finding highest value in array
    By Rasm in forum Excel Help
    Replies: 15
    Last Post: 06-24-2011, 03:59 AM
  5. Finding Last Used Row or Column In Excel Sheet
    By Rasm in forum Excel and VBA Tips and Tricks
    Replies: 0
    Last Post: 04-14-2011, 03:17 AM

Tags for this Thread

Posting Permissions

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