+ Reply to Thread
Results 1 to 8 of 8

How to count the frequency of numbers in a range of cells

  1. #1
    Registered User
    Join Date
    08-19-2017
    Location
    South Lake Tahoe
    MS-Off Ver
    10
    Posts
    4

    How to count the frequency of numbers in a range of cells

    I have a string of 15 cell like this: 3 2 3 4 3 3 2 2 4 4 4 0 3 3 2 (Total) 42

    I am looking for a formula that tell me that 4 appears in the selected cells 4 times, that 3 appears 6 times and that 2 appears 4 times (I don't care about the zero's)

    For all you guys (and gals) this is probably child's play, but I seriously missed all of my math classes many, many years ago ...
    LOL

    Thanks
    Peter
    Last edited by Staywme; 08-19-2017 at 05:47 PM.

  2. #2
    Registered User
    Join Date
    08-19-2017
    Location
    South Lake Tahoe
    MS-Off Ver
    10
    Posts
    4

    Re: Real simple formula for all you pros!

    Hate to be a bother. I tried again.
    Best
    Peter

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2507 (Windows 11 Home 24H2 64-bit)
    Posts
    91,775

    Re: Cell Count

    It is not great but it will do.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2507 (Windows 11 Home 24H2 64-bit)
    Posts
    91,775

    Re: Real simple formula for all you pros!

    You need to read up on the COUNTIF function.

  5. #5
    Registered User
    Join Date
    08-19-2017
    Location
    South Lake Tahoe
    MS-Off Ver
    10
    Posts
    4

    Re: Cell Count

    Ali
    Since I am totally out of my league here; what would be a better title. I am trying to conform but could use some insight. Thanks for your expert advise.
    Peter

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2507 (Windows 11 Home 24H2 64-bit)
    Posts
    91,775

    Re: Cell Count

    "How to count the frequency of numbers in a range of cells".

  7. #7
    Registered User
    Join Date
    08-19-2017
    Location
    South Lake Tahoe
    MS-Off Ver
    10
    Posts
    4

    Re: Cell Count

    You're awesome. Thanks.
    Will do with any future questions.
    Appreciate your kind replies and help
    Peter

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2507 (Windows 11 Home 24H2 64-bit)
    Posts
    91,775

    Re: Cell Count

    So to find out how many 6s there are in your range, assuming it's from A1 to A15, this:

    =COUNTIF(A1:A15,6)

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 0
    Last Post: 06-25-2015, 03:44 PM
  2. [SOLVED] Simple Real Time Counter Macro to start when prompted
    By RichTea88 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-06-2013, 08:57 AM
  3. Hello Excel Pros!
    By Xcelnub in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 05-16-2013, 09:02 PM
  4. a real simple question for you all!
    By bunnosaurusrex in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-19-2013, 12:50 AM
  5. Any Excel to PDF pros out there?
    By lightecho in forum Excel General
    Replies: 0
    Last Post: 04-16-2008, 07:02 PM
  6. SUMIF - real simple problem... But does NOT work :-(
    By kmsubbu in forum Excel General
    Replies: 3
    Last Post: 09-19-2006, 12:04 AM
  7. Any pros here
    By Zerdax in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-19-2005, 04:32 PM

Tags for this Thread

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