+ Reply to Thread
Results 1 to 4 of 4

Finding Frequency of data

  1. #1
    Registered User
    Join Date
    06-23-2010
    Location
    *
    MS-Off Ver
    Excel 2010
    Posts
    58

    Finding Frequency of data

    Hi I have a list of 16000 numbers in column A,I want to get only highest 10 frequency numbers in column B1 to B10 and make a histogram .
    what changes should I make in this formula to get top 10 frequency ?
    =IF(COUNTIF(A$1:A1,A2),0,COUNTIF(A$2:A$16000,A2))


    regards
    Last edited by kavin; 09-09-2012 at 10:48 AM.

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Finding Frequency of data

    Try using this formula in B1

    =MODE(A1:A16000)

    then in B2 use

    =MODE(IF(COUNTIF(B$1:B1,A$1:A$16000)=0,A$1:A$16000))

    confirmed with CTRL+SHIFT+ENTER

    That gives you the top 10 numbers - if you want to know how frequently they occur then use COUNTIF in column C, i.e. in C1 copied down

    =COUNTIF(A$1:A$16000,B1)
    Audere est facere

  3. #3
    Registered User
    Join Date
    06-23-2010
    Location
    *
    MS-Off Ver
    Excel 2010
    Posts
    58

    Re: Finding Frequency of data

    Plz check the attached file
    Why 0 in column B1 and C1 ?
    Attached Files Attached Files

  4. #4
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Finding Frequency of data

    The formula doesn't work with blank rows - as you only have 8000 rows of data the other 8000 blanks are identified as zeroes. Try changing to this version in B2

    =MODE(IF(COUNTIF(B$1:B1,A$1:A$16000)=0,IF(A$1:A$16000<>"",A$1:A$16000)))

    then copy down again

+ 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