+ Reply to Thread
Results 1 to 4 of 4

Confused on how to properly use ranking formula w/ties. And Vlookups and IF statements.

  1. #1
    Registered User
    Join Date
    07-20-2013
    Location
    Anaheim, CA
    MS-Off Ver
    Excel 2010
    Posts
    57

    Confused on how to properly use ranking formula w/ties. And Vlookups and IF statements.

    Hello,

    Was hoping to get some assistance..and i appreciate everyone's time for taking time to read this. In the attachment, i have one attachment with 2 sheets. Stores , and TOP 20.
    All the data is in Stores sheet...however, my ranking that is in Column A - is incorrect. I am trying to figure out what is the proper formula so that it doesnt skip when there is a tie. For example on Column O - there is multiple 0% - which comes from M/I..... so it calculates the ranking with multiple 1st place rankings.

    Then hopefully, i can go into TOP 20 sheet, and fill in the 1st table correctly without having to do copy and paste.

    Table 2 (below table 1 to the left) i have been advised if i can complete the table and create formulas.....please help! if the goal is 95% which comes from Column O. how can i create a formula that will give me the ranks, along with the district name and whether it was 95% or under...so hopefully E33 can give me whether it was plus or minus the 95% threshold.

    Table 3- same as above. i am hoping i can fill in the metrics based upon the 95% goal that is found in Column O in the stores sheet.

    Please help! and thank you for your time!
    Attached Files Attached Files

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Confused on how to properly use ranking formula w/ties. And Vlookups and IF statements

    ranking col O
    =SUM(IFERROR(1/COUNTIF($O$8:$O$114,IF($O$8:$O$114<O8,$O$8:$O$114)),0))+1 array entered gives a rank like
    1
    1
    1
    2
    2
    3
    4
    4
    4
    4
    5
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Confused on how to properly use ranking formula w/ties. And Vlookups and IF statements

    ranking col O
    =SUM(IFERROR(1/COUNTIF($O$8:$O$114,IF($O$8:$O$114<O8,$O$8:$O$114)),0))+1 array entered gives a rank like
    1
    1
    1
    2
    2
    3
    4
    4
    4
    4
    5
    =RANK(O8,$O$8:$O$114,0)+COUNTIF($O$8:O8,O8)-1
    will give
    100
    99
    98 which is probably what you are trying to achieve since you can now lookup large() 1 through 20

  4. #4
    Registered User
    Join Date
    07-20-2013
    Location
    Anaheim, CA
    MS-Off Ver
    Excel 2010
    Posts
    57

    Re: Confused on how to properly use ranking formula w/ties. And Vlookups and IF statements

    Thank martindwilson! I have now resolved table 1....i hope to now resolve table 3...Thanks!!!

+ 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. Ranking Formula not working properly
    By Socrates in forum Excel General
    Replies: 6
    Last Post: 08-08-2014, 09:30 AM
  2. Ranking and ties
    By scubadiver007 in forum Excel General
    Replies: 2
    Last Post: 10-13-2011, 08:47 AM
  3. Ties in ranking
    By ACEMAN3131 in forum Excel General
    Replies: 4
    Last Post: 12-07-2010, 03:17 PM
  4. Ranking - Ties
    By Marvo in forum Excel General
    Replies: 11
    Last Post: 07-06-2009, 10:12 AM
  5. Ranking (ties)
    By ExcelUser45 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-13-2008, 12:32 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