+ Reply to Thread
Results 1 to 4 of 4

Ranking Help - Rank formula to exclude data from ranking (like a rank if kind of function)

  1. #1
    Registered User
    Join Date
    02-08-2016
    Location
    london, uk
    MS-Off Ver
    2013
    Posts
    5

    Ranking Help - Rank formula to exclude data from ranking (like a rank if kind of function)

    Hi all,

    Need some experts on this one.


    Basically I have a column which contains original data.

    I want to do more than just rank them. I want to rank based on a criteria. So basically want to exclude values so that it is not picked up in the rank.

    is this possible. feels like a mix between a rank and an if statement.

    easier to explain in the file and explanation below.



    I have attached a sample file.

    Book1.xlsx



    The sheet explains what I'm trying to achieve. But heres some explanation to go with it.

    Column B - I have created a sample data set. Basically listing a number of cats from 1 to 100.

    Column D - A simple rank (high to low). So ranking the data in column B but from High to low. So the number 1 rank in this column goes to the number 100 cat in Column B.

    You will see I'm using row 3 to explain the formula I have used for future reference.

    Now for column E, F and G I' have given three scenarios for ranking.

    Column E - Rank the data ignoring a certain set of values below a value in column B

    Column F - Rank the data ignoring a certain set of values above a value in column B

    Column G - Rank the data only focusing on a particular range of data from Column B


    All of these I want to rank high to low

    Then the reverse you will see of the same in columns I, J, K and L


    Hope that makes sense!

    Help!

    Thanks

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Ranking Help - Rank formula to exclude data from ranking (like a rank if kind of funct

    Hi,

    Two points

    These things are always easier to deal with if we know the results you want to see. Manually add the results and then reupload the workbook.

    Clearly this is a trivial example. We often find trivial examples are not truly representative of the real data and any solution we create may not work for the real data because of various differences. Please upload a workbook with real data.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    02-08-2016
    Location
    london, uk
    MS-Off Ver
    2013
    Posts
    5
    Hi

    Fair point. Ill have to it tomorrow morning as i have the file at work.

    Basically it was to try and rank data from a column. But to ignore ranking data if it was below a particular number or even to not rank data if it was above a particular number. So for those cases the rank wld appear blank. And only data within a criteria was ranked.

    Ill try and upload actual data tomorrow

    Was trying to understand the concept.


    Thanks for the reply


    Quote Originally Posted by Richard Buttrey View Post
    Hi,

    Two points

    These things are always easier to deal with if we know the results you want to see. Manually add the results and then reupload the workbook.

    Clearly this is a trivial example. We often find trivial examples are not truly representative of the real data and any solution we create may not work for the real data because of various differences. Please upload a workbook with real data.

  4. #4
    Registered User
    Join Date
    02-08-2016
    Location
    london, uk
    MS-Off Ver
    2013
    Posts
    5
    One of my friends had a go and got so far

    See attached

    His results are where im tryin to get to

    But as his ranks were showing from 100 downwards he did a addition or subtraction at the end of the formila

    Which wouldnt work on a more complex set of data


    Quote Originally Posted by harp1983 View Post
    Hi

    Fair point. Ill have to it tomorrow morning as i have the file at work.

    Basically it was to try and rank data from a column. But to ignore ranking data if it was below a particular number or even to not rank data if it was above a particular number. So for those cases the rank wld appear blank. And only data within a criteria was ranked.

    Ill try and upload actual data tomorrow

    Was trying to understand the concept.


    Thanks for the reply
    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. Ranking values and ranking duplicates the same rank
    By 302arpks in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 03-05-2015, 01:50 PM
  2. [SOLVED] Looking for a ranking formula that doesn't duplicate the rank when faced with same value
    By Panfergrrl18 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-14-2014, 11:44 PM
  3. [SOLVED] Need help ranking numbers....not a RANK function...I think
    By pbean123 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 06-02-2014, 09:10 AM
  4. RANK, duplicate ranking but no gaps in rank
    By arron laing in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 06-06-2012, 07:15 AM
  5. ranking data producing the same rank
    By sfinns in forum Excel General
    Replies: 2
    Last Post: 02-09-2012, 11:35 PM
  6. Replies: 1
    Last Post: 09-13-2011, 04:44 PM
  7. Replies: 6
    Last Post: 06-01-2010, 06:19 PM

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