+ Reply to Thread
Results 1 to 10 of 10

Rank numbers by average with doing average formula

  1. #1
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    Rank numbers by average with doing average formula

    Find attached , I know how the rank works

    But I want the rank formula to rank formula
    to rank average without computing average

    Formula required on a2 to drag down
    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
    43,998

    Re: Rank numbers by average with doing average formula

    I do not understand what you are trying to do. Can you try to explain again in more detail?

    EDIT: I figured it out. I am not sure how easy this will be to do, in one step.
    Last edited by Glenn Kennedy; 08-26-2014 at 12:05 PM.
    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
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    Re: Rank numbers by average with doing average formula

    I want the formula to compute average that is column i divide column j ,
    You see seller08 has sold 2 months and not 3 months , person on leave
    Then rank , all this within one formula

    I do not want an extra column of first finding the average

  4. #4
    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
    43,998

    Re: Rank numbers by average with doing average formula

    Yep. That's clear. I just don't know how to do it.... yet (if it's possible)

  5. #5
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 2019
    Posts
    2,367

    Re: Rank numbers by average with doing average formula

    Maybe

    Put in A2 and dragged down

    =AVERAGE(RANK(I2,$I$2:$I$12,0),RANK(I2,$I$2:$I$12,0)+COUNTIF($I$2:$I$12,$I$2)-1)
    Attached Files Attached Files
    Last edited by azumi; 08-26-2014 at 12:37 PM.

  6. #6
    Valued Forum Contributor
    Join Date
    01-19-2012
    Location
    Barrington, IL
    MS-Off Ver
    Excel 2007/2010
    Posts
    1,211

    Re: Rank numbers by average with doing average formula

    Edit Nevermind.

    Edit again, Azumi, your formula appears to be doing the same as the formula that was already in place. the rank of the averages I believe is what the OP is trying to achieve, which would be:

    1
    3
    11
    10
    6
    4
    2
    5
    9
    8
    7
    Last edited by Speshul; 08-26-2014 at 12:44 PM.
    You should hit F5, because chances are I've edited this post at least 5 times.
    Example of Array Formulas
    Quote Originally Posted by Jacc View Post
    Sorry, your description makes no sense. I just made some formula that looks interesting cause I had nothing else to do.
    Click the * below on any post that helped you.

  7. #7
    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
    43,998

    Re: Rank numbers by average with doing average formula

    Yes - Speshul - that's where I had got to (1, 3, 11, 10, etc) before my little grey cells fried. I have my doubts if this is possible... Certainly I dont see how. Rep to whoever solves this

  8. #8
    Valued Forum Contributor
    Join Date
    01-19-2012
    Location
    Barrington, IL
    MS-Off Ver
    Excel 2007/2010
    Posts
    1,211

    Re: Rank numbers by average with doing average formula

    I can get the averages in what I was thinking would be an array I could sort by and do a match on to get the rank, but I can't do anything to this array, it even gives bad results when you IFERROR it?!!

    Either of these (use in all rows, CSE!)

    =AVERAGE(INDIRECT("C"&ROW()&":"&"H"&ROW()))
    =AVERAGE(OFFSET($C$1:$H$1,ROW()-1,0))

    Large gives me an error, SUM gives me bad numbers, and iferror gives those same bad numbers (except it replaces errors with 1641829.78 which is the "sum" of the last number in the array?!)
    Try playing with those, idk.
    Last edited by Speshul; 08-26-2014 at 01:15 PM.

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

    Re: Rank numbers by average with doing average formula

    You can use this formula in A2

    =SUM(IF(SUBTOTAL(1,OFFSET(C$2:H$12,ROW(C$2:H$12)-ROW(C$2),0,1))>AVERAGE(C2:H2),1))+1

    confirm with CTRL+SHIFT+ENTER and copy down
    Audere est facere

  10. #10
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    Re: Rank numbers by average with doing average formula

    daddylonglegs

    It works , I will pick the formula with trying to understand

+ 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] need formula to average cells but if one cell has N/A then dont average and input N/A
    By CityInspector in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-08-2013, 04:16 PM
  2. Replies: 14
    Last Post: 06-14-2013, 09:00 PM
  3. displaying numbers whoes average is as close prefered average.
    By aakhan107 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 11-18-2012, 01:14 AM
  4. The rank of average ranks excluding empty cells but including their average.
    By Terminal45 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-21-2012, 03:44 AM
  5. Weighted rank- if duplicates rank the average
    By vlady in forum Excel General
    Replies: 3
    Last Post: 02-28-2012, 09:17 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