+ Reply to Thread
Results 1 to 2 of 2

Ranking based on Group

  1. #1
    Registered User
    Join Date
    11-21-2011
    Location
    Bremen, Germany
    MS-Off Ver
    Excel 2003
    Posts
    10

    Ranking based on Group

    Hi,

    I have an excel with three columns. This excel gives overview of training scheduling in different places and for different peoples.

    Location Position Date & Time

    Bangalore Developer 21.12.2011 - 9 AM
    Bangalore Developer 22.12.2011 - 9 AM
    Bangalore Manager 21.12.2011 - 11 AM
    Bangalore Developer 21.12.2011 - 1 PM
    Delhi Developer 21.12.2011 - 9 AM

    I need to create another column, which gives me rank of training scheduling for unique combination of location and position.

    It should comes like :

    Location Position Date & Time Rank

    Bangalore Developer 21.12.2011 - 9 AM 1
    Bangalore Developer 22.12.2011 - 9 AM 3
    Bangalore Manager 21.12.2011 - 11 AM 1
    Bangalore Developer 21.12.2011 - 1 PM 2
    Delhi Developer 21.12.2011 - 9 AM 1

    Thanks in advance.

    Regards
    Arnab

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Ranking based on Group

    If your data starts at A2:C2 with "real dates and times" in column C, then in D2 enter:

    =SUMPRODUCT(--($A$2:$A$6=A2),--($B$2:$B$6=B2),--(C2>$C$2:$C$6))+1

    copied down.

    Adjust ranges to suit entire data range.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

+ 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