+ Reply to Thread
Results 1 to 11 of 11

Override rank formula

  1. #1
    Registered User
    Join Date
    08-15-2013
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    9

    Override rank formula

    Hi all

    I’ve searched loads for an answer to this, but can’t find anything.

    I have tasks ranked by a calulated score, this give a priority list.

    I want to override the rankings, so if I believe #3 should be ranked #1, I can add this into a field and then it goes to #1 and #1 drops to #2’ etc and #3 isn’t double counted.

    I need the capability to add multiple overrides too, so #6 may move to #4 too, for example.

    I’ve tried adding in extra identifiers but I’ve hit a brick wall, please help!

    Many thanks

    Morgraal

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Override rank formula

    To best describe or illustrate your problem you would be better off attaching a dummy workbook. The workbook should contain the same structure and some dummy data of the same type as the type you have in your real workbook - so, if a cell contains numbers & letters in this format abc-123 then that should be reflected in the dummy workbook.

    To attach a file to your post,
    click advanced (next to quick post),
    scroll down until you see "manage file",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    03-19-2019
    Location
    London
    MS-Off Ver
    2003-2016/2016 Mac
    Posts
    57

    Re: Override rank formula

    Do you want to manually enter the Rank of the player or alter the score?

  4. #4
    Registered User
    Join Date
    08-15-2013
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: Override rank formula

    Hi

    I’m predominantly on mobile so attaching a file is tricky.

    I’ll try to give a better idea though

    Item Score. Rank. Override. Adjusted Rank
    A. 10. 1. 2
    B. 9. 2. 4
    C. 8. 3. 5
    D. 7. 4. 1. 1
    E. 6. 5. 6
    F. 5. 6. 3. 3

    I can’t think how to get the adjusted rank column to work.

    Thanks

  5. #5
    Registered User
    Join Date
    08-15-2013
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    9
    The Over ride column is a manual input

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Override rank formula

    Where is the sample file I asked for?

  7. #7
    Registered User
    Join Date
    08-15-2013
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    9
    Quote Originally Posted by FDibbins View Post
    Where is the sample file I asked for?
    As I stated, I’m predominantly on mobile. I can’t log into the site from work so I’ll throw something together when I get a chance.

    Cheers

  8. #8
    Registered User
    Join Date
    08-15-2013
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: Override rank formula

    Ok, so I've thrown the attached together, the rank table to rank them, the override column which i want to populate with numbers higher or lower than the current rank and the 'Actual' output table.

    I've put in some options of override and I want them to come out in the order that is in the 3rd 'Override' table.

    I hope this makes more sense.

    Cheers
    Attached Files Attached Files

  9. #9
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,210

    Re: Override rank formula

    ok try this
    in f3 put
    =IF(E3="",D3,"")
    in g3
    =IF(E3>0,E3,IF(COUNTIF($E$3:$E$9,RANK(F3,$F$3:$F$9,1)+COUNTIF($E$3:$E$9,"<="&F3)),RANK(F3,$F$3:$F$9,1)+COUNTIF($E$3:$E$9,"<="&F3)-1,RANK(F3,$F$3:$F$9,1)+COUNTIF($E$3:$E$9,"<="&F3)))

    and copy down, F is a helper column. I am assuming you have no ties

  10. #10
    Registered User
    Join Date
    08-15-2013
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: Override rank formula

    Lovely. thank you.

    I've been messing about with various calcs for days but was going in circles and hit a wall.

    I amended part of it to fit as the manual override is a lookup, but it works great.

    Cheers

  11. #11
    Registered User
    Join Date
    10-27-2021
    Location
    rancho cordova
    MS-Off Ver
    Microsoft 365
    Posts
    1

    Re: Override rank formula

    Hi, this is quite a great formula. What if I want to insert a column to the right of column G to sort out any ties caused by:
    if you have 2 override numbers and one of your override numbers (column E) you enter is less than the corresponding ranking in column D. it will have 2 duplicate adjusted rankings
    I would want to prioritize the over ride rank. I attached an excel.

    I could greatly use your Excel expertise for this one. Thanks in advanced.
    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. Need checkbox to override existing formula
    By tilson in forum Excel General
    Replies: 4
    Last Post: 11-11-2017, 05:24 AM
  2. Override formula with a manually entered number, but keep formula stored
    By EmmaWied in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-09-2015, 07:52 PM
  3. [SOLVED] forcing a rank on 1 through 5 (no dups) using the rank formula in Excel
    By denver1717 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-22-2015, 08:28 AM
  4. Looking for a formula to paste cells without override.
    By hani85 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-28-2014, 01:42 PM
  5. Override a cell that has a formula
    By Treecko in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-29-2013, 07:11 PM
  6. Formula to Rank and populate values base don Rank
    By Excel Dumbo in forum Excel General
    Replies: 3
    Last Post: 10-09-2012, 02:02 AM
  7. Combo Box which can override a Sum Formula
    By mcarr5 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-30-2009, 11:09 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