+ Reply to Thread
Results 1 to 5 of 5

Rank a cell value thats not in a list

  1. #1
    Forum Contributor
    Join Date
    01-16-2013
    Location
    london
    MS-Off Ver
    Excel 2007
    Posts
    136

    Rank a cell value thats not in a list

    Is it possible to rank a cell value that's not in the list. Please see attached example

    rank.xlsx

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Rank a cell value thats not in a list

    What should the answer be for the example?
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967

    Re: Rank a cell value thats not in a list

    Try this user defined function

    Please Login or Register  to view this content.
    Open the VBA editor by hitting Alt F11.
    Insert a new module with Insert - Module
    Paste in the above function
    Go back to the sheet by hitting Alt F11.

    In a G2, enter =RankSpecial(F2,B1:B27)

    Remember to save the workbook as a macro enabled workbook .xlsm
    Martin

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,521

    Re: Rank a cell value thats not in a list

    If you sort on column B, smallest to largest, and add a zero (0), in A1 and B1, you can try:

    Formula: copy to clipboard
    Please Login or Register  to view this content.



    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  5. #5
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Rank a cell value thats not in a list

    Try this...

    =RANK(F2,(F2,B1:B27))
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

+ 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. Can i Rank a few cells from a list of more
    By fruit&veg in forum Excel General
    Replies: 12
    Last Post: 09-15-2015, 09:23 AM
  2. how to rank with an updating list
    By labogola in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-30-2013, 05:04 AM
  3. [SOLVED] rank a list of numbers that are not continuous
    By johnbtor in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-18-2013, 02:49 PM
  4. Rank list excluding certain criterias
    By karvan in forum Excel General
    Replies: 3
    Last Post: 02-24-2011, 12:25 AM
  5. Rank in order that List appears
    By 00Able in forum Excel General
    Replies: 1
    Last Post: 01-19-2011, 09:57 PM
  6. List teams in rank order from list
    By HuskerBronco in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-27-2009, 10:03 AM
  7. [SOLVED] How do i set up a rank function on a list of results?
    By Maurice in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-27-2005, 10:05 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