+ Reply to Thread
Results 1 to 7 of 7

counting frquency of values and ranking

  1. #1
    Registered User
    Join Date
    03-14-2015
    Location
    australia
    MS-Off Ver
    7
    Posts
    3

    counting frquency of values and ranking

    hello everyone,

    Im looking for assistance, I have a bunch of random numbers from 1 -50. I wish to display in 1 column, how often each number appears, and in a second column rank in order the most frequent number to the least. eg:

    1st = 12
    2nd = 7
    3rd = 28
    4th =etc.

    seems like a pretty simple one, though if only new to excel and came across this site in search of answers, any assistance would be greatly apprecaited

  2. #2
    Forum Expert Jakobshavn's Avatar
    Join Date
    08-17-2012
    Location
    Lakehurst, NJ, USA
    MS-Off Ver
    Excel 2007
    Posts
    1,970

    Re: counting frquency of values and ranking

    See the attached. Column A has the raw data. Column D has the candidate list and column E has the frequency of occurrence. Columns G & H are the same as D & E, but sorted by occurrence to show the rank.
    Attached Files Attached Files
    Gary's Student

  3. #3
    Registered User
    Join Date
    03-14-2015
    Location
    australia
    MS-Off Ver
    7
    Posts
    3

    Re: counting frquency of values and ranking

    Hi Jakobshavn,

    Thanks for your help, the frequency counter works fine, though when I try and change the raw data, nothing changes in column g or h. cant seem to find a formula in or around that area either.

  4. #4
    Forum Expert Jakobshavn's Avatar
    Join Date
    08-17-2012
    Location
    Lakehurst, NJ, USA
    MS-Off Ver
    Excel 2007
    Posts
    1,970

    Re: counting frquency of values and ranking

    That is because I manually copied columns D & E into G & H and then manually sorted G & H. In this version
    I have included a sorting rank for each of the candidates and then performed the "sort" through Match()/Index().
    Attached Files Attached Files
    Last edited by Jakobshavn; 03-15-2015 at 11:05 AM.

  5. #5
    Registered User
    Join Date
    03-14-2015
    Location
    australia
    MS-Off Ver
    7
    Posts
    3

    Re: counting frquency of values and ranking

    wow you are good, so close! perhaps it my explanation that is the fault here. Ive attached a layout that would work for best for what we are trying to achieve, maybe this would explain it better.
    Attached Files Attached Files

  6. #6
    Forum Expert Jakobshavn's Avatar
    Join Date
    08-17-2012
    Location
    Lakehurst, NJ, USA
    MS-Off Ver
    Excel 2007
    Posts
    1,970

    Re: counting frquency of values and ranking

    I will review your worksheet tomorrow.

  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: counting frquency of values and ranking

    Will this help? Put a helper column in P of your uploaded workbook with this formula copied down from P2:P11.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Then in O2 this array-entered formula.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Array enter means the formula must be committed by simultaneously pressing and holding down Ctrl and Shift while hitting Enter. Then fill / copy down to O11.

    The file is attached.
    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. [SOLVED] Ranking with duplicate values while ignoring zeros and negative values
    By mfortier3 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-06-2017, 04:43 AM
  2. Ranking values and ranking duplicates the same rank
    By 302arpks in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 03-05-2015, 01:50 PM
  3. Ranking and Counting Issues
    By hazelwouldbe in forum Excel General
    Replies: 4
    Last Post: 03-31-2011, 10:39 PM
  4. Replies: 6
    Last Post: 06-01-2010, 06:19 PM
  5. Counting frequency and ranking
    By themax16 in forum Excel General
    Replies: 3
    Last Post: 03-24-2009, 07:32 AM

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