Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Greetings,
I need some help in creating a function. Example: A B 1 John 25 2 Mary 50 3 Tim 35 4 Todd 15 5 Nicole 5 6 Kathy 75 7 Nic 25 8 Justin 100 9 Harley 125 10 Mercedes 125 I need a function that will find the top 5 highest scores from column B and return the corresponding name from column A. In the above example, it should return Merceds, Harley, Justin, Kathy, Mary. Can someone help? Thanks! |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
have a look here for a way to do it,
http://www.cpearson.com/excel/rank.htm -- Paul B Always backup your data before trying something new Please post any response to the newsgroups so others can benefit from it Feedback on answers is always appreciated! Using Excel 2002 & 2003 wrote in message oups.com... Greetings, I need some help in creating a function. Example: A B 1 John 25 2 Mary 50 3 Tim 35 4 Todd 15 5 Nicole 5 6 Kathy 75 7 Nic 25 8 Justin 100 9 Harley 125 10 Mercedes 125 I need a function that will find the top 5 highest scores from column B and return the corresponding name from column A. In the above example, it should return Merceds, Harley, Justin, Kathy, Mary. Can someone help? Thanks! |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Assuming that A2:B11 contains the data, try the following which will
take into consideration ties for 5th place... C1: 5 (This indicates that you want a Top 5 list. If, for example, you want a Top 10, enter 10 instead.) D1: =COUNTIF(B2:B11,"="&LARGE(B2:B11,C1)) E2, copied down: =IF(ROWS(E$2:E2)<=$D$1,LARGE($B$2:$B$11,ROWS(E$2:E 2)),"") F2, copied down: =IF(E2<"",INDEX($A$2:$A$11,SMALL(IF($B$2:$B$11=E2 ,ROW($B$2:$B$11)-ROW($B $2)+1),COUNTIF($E$2:E2,E2))),"") Note that this formula needs to be confirmed with CONTROL+SHIFT+ENTER, not just ENTER. Hope this helps! In article .com, wrote: Greetings, I need some help in creating a function. Example: A B 1 John 25 2 Mary 50 3 Tim 35 4 Todd 15 5 Nicole 5 6 Kathy 75 7 Nic 25 8 Justin 100 9 Harley 125 10 Mercedes 125 I need a function that will find the top 5 highest scores from column B and return the corresponding name from column A. In the above example, it should return Merceds, Harley, Justin, Kathy, Mary. Can someone help? Thanks! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
golf handicap 4 of last 5 scores | Excel Discussion (Misc queries) | |||
Finding the top ten scores | Excel Discussion (Misc queries) | |||
Calculating average scores from multiple sheets' information | Excel Worksheet Functions | |||
Football Scores | Excel Discussion (Misc queries) | |||
Golf Handicap Using Last 5 Scores | Excel Worksheet Functions |