+ Reply to Thread
Results 1 to 8 of 8

Ranking formula

  1. #1
    Registered User
    Join Date
    07-12-2013
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    77

    Ranking formula

    Hello all,

    I am trying to find a formula to pull out the project numbers for Income, per Practice.

    In the attached, columns ABC are the input, and columns F:M are what I would like to end up with. Ideally I would like to use a formula for this, so I can update by simply refreshing the input data.

    So I need the top 30 projects ranked by income for SC01, the for SC02, then for SC03.

    I have tried using SUMPRODUCT and a helper column, but find this too confusing for the people I would like to give this spreadsheet to.

    If anyone has any ideas they would be much appreciated.

    Many thanks

    Rich
    Attached Files Attached Files

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Ranking formula

    Rich i way could be using this ARRAY formula in G1 and copy down. Then use custom sorting for ranking this.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,156

    Re: Ranking formula

    hi Rich. try this array formula in G2:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer. Press F2 on that cell and try again.

    it's a little long because i had to consider the possibility of 2 or more numbers being the same

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  4. #4
    Registered User
    Join Date
    07-12-2013
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    77

    Re: Ranking formula

    Hi,

    Thank you both, I am currently trying to adapt these to my main file. I will come back with feedback when I have managed it.

    Thanks again!

    Rich

  5. #5
    Registered User
    Join Date
    07-12-2013
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    77

    Re: Ranking formula

    Thanks again, they both work perfectly. I have used benishiryo's formula in this instance, but will keep Fotis' for future use.

    Now I just have to try to understand why they work! (/10000??)

    Rich

  6. #6
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,156

    Re: Ranking formula

    glad to help. as i mentioned, i have to consider the possibility of 2 or more numbers being the same. hence, i added a very small decimal of the ROW number divided by 10000. so if C2 is 1241864.91, it will become 1241864.9102

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.
    =)

  7. #7
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,941

    Re: Ranking formula

    =IFERROR(INDEX($A$2:$A$59,MATCH(LARGE(INDEX(($B$2:$B$59=F$1)*($C$2:$C$59)+ROW($A$2:$A$59)*0.000001,0),ROWS($F$2:F2)),INDEX($C$2:$C$59+ROW($A$2:$A$59)*0.000001,0),0),1),"")
    try this without array formula

  8. #8
    Registered User
    Join Date
    07-12-2013
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    77

    Re: Ranking formula

    Hi nfsales,

    Thanks for this, some people are afraid of array formulae so its good to have the option.

    Cheers

+ 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 Formula PLEASE HELP!!!
    By mcain1981 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-13-2013, 11:15 AM
  2. Help with Ranking formula
    By mttp1990 in forum Excel General
    Replies: 3
    Last Post: 04-10-2012, 03:11 AM
  3. Replies: 6
    Last Post: 06-01-2010, 06:19 PM
  4. Ranking formula
    By Diesel13 in forum Excel General
    Replies: 5
    Last Post: 01-19-2010, 10:31 AM
  5. Ranking Formula
    By fmac in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 10-01-2009, 10:22 AM

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