+ Reply to Thread
Results 1 to 3 of 3

Ranking Issue

  1. #1
    Registered User
    Join Date
    05-17-2011
    Location
    Omaha, Nebraska, United States
    MS-Off Ver
    Excel 2007
    Posts
    5

    Ranking Issue

    Hello all,

    I'm having a ranking issue that I'd love some help with!

    Let's say that I have three columns: Name, Reporting Department, and Salary. I cannot change the current sorting, but I need to rank a list of people by their salaries.

    The data is sorted by Reporting Department A-Z then Alphabetical A-Z. I need to reset the rank every time the Reporting Department changes.

    How can I make a formula for this?

    Thanks in advance for your help!

    Update: Just realized I forgot to mention that I have to do this dynamically so new employees can be added in later (without messing up the ranking system).
    Last edited by IdRatherBeCoding; 05-23-2011 at 10:49 AM.

  2. #2
    Registered User
    Join Date
    05-13-2011
    Location
    New Zealander in London
    MS-Off Ver
    Excel 2007
    Posts
    74

    Re: Ranking Issue

    Quote Originally Posted by IdRatherBeCoding View Post
    The data is sorted by Reporting Department A-Z then Alphabetical A-Z. I need to reset the rank every time the Reporting Department changes.
    OK, so I have Name in column B, Reporting Department in column C and Salary in column D. Column A is for the Rank.

    Firstly, sort the data by Reporting Department Alphabetical A-Z, and then Salary Decending Highest to Lowest.

    Finally, in cell A2, copy and paste in the following formula and copy it all the way down the column for each value.

    Whenever new data is entered, you will need to re-sort the data as above.

    Please Login or Register  to view this content.
    This will give you a numeric ranking from 1 to n for each employee from the highest salary to the lowest in each department.

  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: Ranking Issue

    try this dynamic ranking chose deptartment from dropdown in e1
    Attached Files Attached Files
    "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

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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