+ Reply to Thread
Results 1 to 4 of 4

Rank by flight

Hybrid View

h317 Rank by flight 12-20-2005, 10:44 AM
Guest Re: Rank by flight 12-20-2005, 12:25 PM
h317 Thanks, Bernie. It works... 12-21-2005, 12:41 PM
Guest Re: Rank by flight 12-21-2005, 01:00 PM
  1. #1
    Registered User
    Join Date
    12-01-2004
    Posts
    2

    Rank by flight

    For the "rank within a flight" to work, I need to create two different formulas for row 1 to 4 and 5 to 8 separately. I was trying to create a fits-all formulat in the 4th column of the following spreadsheet. I tried using array function and it did not work. Please help.

    By the way, how to align the columns so it's more legible? It's my first time, sorry.

    Rank Rank
    Flight Scores Full Field Flight
    A 78 1 1
    A 92 6 4
    A 90 4 3
    A 88 2 2
    B 91 5 2
    B 98 7 3
    B 89 3 1
    B 100 8 4

    Please help. Thanks.
    Last edited by h317; 12-20-2005 at 11:03 AM. Reason: Aligning numbers

  2. #2
    Bernie Deitrick
    Guest

    Re: Rank by flight

    h317,

    For your example table, starting in cell A1:

    =1+SUMPRODUCT(($A$2:$A$9=A2)*($B$2:$B$9<B2))

    HTH,
    Bernie
    MS Excel MVP


    "h317" <h317.20cfcz_1135089902.1786@excelforum-nospam.com> wrote in message
    news:h317.20cfcz_1135089902.1786@excelforum-nospam.com...
    >
    > For the "rank within a flight" to work, I need to create two different
    > formulas for row 1 to 4 and 5 to 8 separately. I was trying to create a
    > fits-all formulat in the 4th column of the following spreadsheet. I
    > tried using array function and it did not work. Please help.
    >
    > Rank Rank
    > Flight Scores Full Field Flight
    > A 78 1 1
    > A 92 6 4
    > A 90 4 3
    > A 88 2 2
    > B 91 5 2
    > B 98 7 3
    > B 89 3 1
    > B 100 8 4
    >
    > Please help. Thanks.
    >
    >
    > --
    > h317
    > ------------------------------------------------------------------------
    > h317's Profile: http://www.excelforum.com/member.php...o&userid=17043
    > View this thread: http://www.excelforum.com/showthread...hreadid=494871
    >




  3. #3
    Registered User
    Join Date
    12-01-2004
    Posts
    2
    Thanks, Bernie. It works great. Now I found myself in another situation:

    There are players who did not show up for games and the scorer assign a score of 0 to those players. When we do the ranking, those absent players, whose scores are 0, should be exclueded from the ranking. How can the formula that you created be changed to accocomodate for this? Thanks.

  4. #4
    Bernie Deitrick
    Guest

    Re: Rank by flight

    =IF(B2<>0,1+SUMPRODUCT(($A$2:$A$9=A2)*($B$2:$B$9<>0)*($B$2:$B$9<B2)),"")

    HTH,
    Bernie
    MS Excel MVP


    "h317" <h317.20efky_1135183502.7803@excelforum-nospam.com> wrote in message
    news:h317.20efky_1135183502.7803@excelforum-nospam.com...
    >
    > Thanks, Bernie. It works great. Now I found myself in another
    > situation:
    >
    > There are players who did not show up for games and the scorer assign a
    > score of 0 to those players. When we do the ranking, those absent
    > players, whose scores are 0, should be exclueded from the ranking. How
    > can the formula that you created be changed to accocomodate for this?
    > Thanks.
    >
    >
    > --
    > h317
    > ------------------------------------------------------------------------
    > h317's Profile: http://www.excelforum.com/member.php...o&userid=17043
    > View this thread: http://www.excelforum.com/showthread...hreadid=494871
    >




+ 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