+ Reply to Thread
Results 1 to 11 of 11

check how many times the number

  1. #1
    Registered User
    Join Date
    02-27-2015
    Location
    israel
    MS-Off Ver
    365
    Posts
    75

    check how many times the number

    Hello everyone,
    How to check how many times the number appears
    And to show me the number that appears most often
    Up to the number that appears the least

    Thank you all

    example --
    Attached Files Attached Files

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,023

    Re: check how many times the number

    I do not understand your requested answers! Please check them and explain in different words.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Registered User
    Join Date
    02-27-2015
    Location
    israel
    MS-Off Ver
    365
    Posts
    75

    Re: check how many times the number

    how many times the same number appears
    As in the I attached

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

    Re: check how many times the number

    Please manually add the results you want to see in the format you want to see them. There is nothing there regarding how often the numbers appear, and I don't believe you really want this column by column, do you?
    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.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,023

    Re: check how many times the number

    Look at J4:J7. Why are they to appear IN THAT ORDER? I cannot understand why 13 appears first, then 2x22 and finally 4???!!!

  6. #6
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,819

    Re: check how many times the number

    How to check how many times the number appears
    I would expect a COUNTIFS() function: https://support.office.com/en-us/art...c-aa8c2a866842 Something like =COUNTIFS($H$4:$H$7,M7) will count how many times the number 37 (in M7) occurs in the A range.

    And to show me the number that appears most often Up to the number that appears the least
    Might depend on exactly what you are trying to do with this step. My first thought, after getting the counts from the COUNTIFS() function, simply sort each pair of columns by the counting column. Sort by ascending or descending depending on which you want to appear that the top.

    Will something like that work?
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  7. #7
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: check how many times the number

    There is probably a shorter way than this. I used FREQUENCY for the counts.

    In N4:N7
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    copy that range and paste into cells P4, R4 and T4.

    Then to get the numbers in M4:M7
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    copy and paste that range accordingly.
    Dave

  8. #8
    Forum Contributor
    Join Date
    12-13-2013
    Location
    Calgary,AB,Canada
    MS-Off Ver
    2016,O365
    Posts
    236

    Re: check how many times the number

    M4=IFERROR(LARGE(IF((COUNTIF(H$4:H$7,H$4:H$7)=N4)*(MATCH(H$4:H$7,H$4:H$7,)=ROW(H$4:H$7)-3),H$4:H$7,"/"),COUNTIF(N$4:N4,N4)),"")
    n4=IFERROR(LARGE(IF(MATCH(H$4:H$7,H$4:H$7,)=ROW(H$4:H$7)-3,COUNTIF(H$4:H$7,H$4:H$7),"/"),ROW(A1)),"")


    (if H4:H7 has 15,15,37,37 and you want to see 37 in M4 and 15 in M5 )
    Last edited by CAABYYC; 08-13-2019 at 05:03 PM.

  9. #9
    Registered User
    Join Date
    02-27-2015
    Location
    israel
    MS-Off Ver
    365
    Posts
    75

    Re: check how many times the number

    You can bring an example please with a file

  10. #10
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,585

    Re: check how many times the number

    In T5 then copied to other cells

    =COUNTIF(INDEX($H$4:$K$7,,MATCH(S$3,$H$3:$K$3,0)),S4)
    Attached Files Attached Files
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

  11. #11
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: check how many times the number

    Quote Originally Posted by maorphp View Post
    You can bring an example please with a file
    To whom addressed?

    This attached is simpler than my first formulas. For the listed unique numbers (descending) in M4:M7
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    then the counts are the same as kvsrinivasamurthy's. In N4:N7
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files

+ 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: 10
    Last Post: 07-22-2018, 04:00 PM
  2. Replies: 4
    Last Post: 10-20-2016, 12:48 PM
  3. Pulling check in and check out times from a table
    By Mimili in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-04-2016, 12:51 PM
  4. [SOLVED] Count the number of times an A appears 5 or more times consecutively
    By CCook310 in forum Excel Formulas & Functions
    Replies: 17
    Last Post: 10-02-2013, 04:02 PM
  5. Replies: 2
    Last Post: 06-16-2011, 08:51 AM
  6. Replies: 2
    Last Post: 06-17-2009, 02:40 AM
  7. [SOLVED] Entering Times for Estimating Pay Check
    By Peter A. in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-08-2006, 04:15 PM

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