Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default ranking based on criteria

I am creating a spreadsheet that shows the results of a marching band
competition. The awards are given by class, 1st, 2nd and 3rd place. I will
have the following:

Name Class Score
School 1 A 99
School 2 A 98
School 3 AA 52

etc. If I knew that there would always be X schools in a class, the ranking
formula would be easy. But, for every competition, there could be a different
number of schools in each class. So, I want to enter on sheet 1 the schools,
classes and scores, and on the second sheet have it calculate who got the
best score in class A, who got the best in class AA, and so on.

Possible?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default ranking based on criteria

=MATCH(C2,LARGE(IF($B$2:$C$13=B2,$C$2:$C$13),ROW(I NDIRECT("1:"&COUNTIF($B$2:
$B$13,B2)))),0)

which is an array formula, it should be committed with Ctrl-Shift-Enter, not
just Enter.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Trelaina" wrote in message
...
I am creating a spreadsheet that shows the results of a marching band
competition. The awards are given by class, 1st, 2nd and 3rd place. I

will
have the following:

Name Class Score
School 1 A 99
School 2 A 98
School 3 AA 52

etc. If I knew that there would always be X schools in a class, the

ranking
formula would be easy. But, for every competition, there could be a

different
number of schools in each class. So, I want to enter on sheet 1 the

schools,
classes and scores, and on the second sheet have it calculate who got the
best score in class A, who got the best in class AA, and so on.

Possible?



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
return multiple rows of data based on criteria steve_sr2 Excel Worksheet Functions 8 May 20th 23 07:47 PM
Calculating an average based on 2 and 3 criteria craggergirl Excel Worksheet Functions 2 February 24th 06 02:37 PM
caluculate an average based on 2 criteria [email protected] Excel Discussion (Misc queries) 3 November 3rd 05 03:34 AM
returning a value based on mulitple criteria Brad Excel Worksheet Functions 6 December 31st 04 08:14 AM
Formula to determine a future date based on criteria David Excel Worksheet Functions 2 December 15th 04 07:51 PM


All times are GMT +1. The time now is 07:32 PM.

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

About Us

"It's about Microsoft Excel"