Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Rob Rob is offline
external usenet poster
 
Posts: 718
Default rank scores show ties and add top four scores

Trying to rank a list of scores this way. So it will show the ties.
Then I need to add the top 4 and sum together.
number ranking
2 1
3 2
3 2
5 3
6 4
so on
First problem However using the rank formula does not give this result I've
tried
something like this
=SUM(INDEX(LARGE(F6:F29,ROW(1:4)),0))

this gives me
number rank
2 1
3 2
3 3
5 4
6 5

Then not sure how to grab tthe top four I tried

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,501
Default rank scores show ties and add top four scores

Rob,

This isn't clear. The 'normal' rank formula for those numbers

=RANK(A1,$A$1:$A$5,1) returns this

2 1
3 2
3 2
5 4
6 5

Using the array formula

=SUMPRODUCT(--(A1$A$1:$A$5),1/COUNTIF($A$1:$A$5,$A$1:$A$5&""))+1

returns what I think you want which is

2 1
3 2
3 2
5 3
6 4

I know don't understand what you want to sum. If it's the top 4 of the
original data then why bother with rank at all why not simply sum the top 4

=SUM(LARGE(A1:A5, {1,2,3,4}))

or using the array formula

=SUM(LARGE(A1:A5,ROW(1:4)))

This is an array formula which must be entered by pressing CTRL+Shift+Enter
'and not just Enter. If you do it correctly then Excel will put curly brackets
'around the formula {}. You can't type these yourself. If you edit the formula
'you must enter it again with CTRL+Shift+Enter.

Mike





"Rob" wrote:

Trying to rank a list of scores this way. So it will show the ties.
Then I need to add the top 4 and sum together.
number ranking
2 1
3 2
3 2
5 3
6 4
so on
First problem However using the rank formula does not give this result I've
tried
something like this
=SUM(INDEX(LARGE(F6:F29,ROW(1:4)),0))

this gives me
number rank
2 1
3 2
3 3
5 4
6 5

Then not sure how to grab tthe top four I tried

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 806
Default rank scores show ties and add top four scores

Hello,

Maybe this helps:
http://www.sulprobil.com/html/sorting.html

Regards,
Bernd
  #4   Report Post  
Posted to microsoft.public.excel.programming
Rob Rob is offline
external usenet poster
 
Posts: 718
Default rank scores show ties and add top four scores

Great Help

Second question with the
=SUM(LARGE(A1:A5, {1,2,3,4}))
Can I use conditonal format to hightlight the values that are used?
I am using this to add the top four scores in a list and would like to
hightlight them?

Thanks Rob



"Mike H" wrote:

Rob,

This isn't clear. The 'normal' rank formula for those numbers

=RANK(A1,$A$1:$A$5,1) returns this

2 1
3 2
3 2
5 4
6 5

Using the array formula

=SUMPRODUCT(--(A1$A$1:$A$5),1/COUNTIF($A$1:$A$5,$A$1:$A$5&""))+1

returns what I think you want which is

2 1
3 2
3 2
5 3
6 4

I know don't understand what you want to sum. If it's the top 4 of the
original data then why bother with rank at all why not simply sum the top 4

=SUM(LARGE(A1:A5, {1,2,3,4}))

or using the array formula

=SUM(LARGE(A1:A5,ROW(1:4)))

This is an array formula which must be entered by pressing CTRL+Shift+Enter
'and not just Enter. If you do it correctly then Excel will put curly brackets
'around the formula {}. You can't type these yourself. If you edit the formula
'you must enter it again with CTRL+Shift+Enter.

Mike





"Rob" wrote:

Trying to rank a list of scores this way. So it will show the ties.
Then I need to add the top 4 and sum together.
number ranking
2 1
3 2
3 2
5 3
6 4
so on
First problem However using the rank formula does not give this result I've
tried
something like this
=SUM(INDEX(LARGE(F6:F29,ROW(1:4)),0))

this gives me
number rank
2 1
3 2
3 3
5 4
6 5

Then not sure how to grab tthe top four I tried

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ties using Rank Function diana Excel Worksheet Functions 3 May 2nd 09 11:00 AM
Need to rank values with ties MichaelZ Excel Worksheet Functions 9 September 22nd 08 05:44 PM
Auto Numbering Test Scores and want ties to count the same Scott Excel Worksheet Functions 3 September 9th 08 02:56 AM
Rank without skipping for ties John Michl Excel Worksheet Functions 0 March 6th 08 04:27 PM
excel golf scores, how do I add the scores for all par 3's etc Golf Analyst Excel Worksheet Functions 2 November 24th 07 02:25 PM


All times are GMT +1. The time now is 06:43 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"