![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Board Regular
Join Date: Apr 2002
Posts: 107
|
Say I have 100 records from Row 2 through Row 101
Col A -- Name Cols B through AE -- data Cols AF through AJ -- calculated ratios I can generate lists of the top values in Col AF by =LARGE(AF2:AF32,1) =LARGE(AF2:AF32,2) etc. How can I return the names associated with =LARGE(AF2:AF32,n), so I get a listing like this, for example? Name High Anton 17.02 Baker 16.11 Smith 14.09 I tried using OFFSET(LARGE(AF2:AF32,1),0,-31) but I couldn't get it to work. Thanks, Cliff |
|
|
|
|
|
#2 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: The Hague
Posts: 50,317
|
Quote:
=RANK(AF2,AF$2:AF$32)+COUNTIF(AF$2:AF2,AF2)-1 You can hide column AK if you want to. In AL2 enter and copy down till AL11 rows: =IF(ROW()-1<=10,INDEX(A$2:A$32,MATCH(ROW()-1,AK$2:AK$32,0)),"") In AM2 enter and copy down till AM11 rows: =IF(ROW()-1<=10,INDEX(AF$2:AF$32,MATCH(ROW()-1,AK$2:AK$32,0)),"") Aladin |
|
|
|
|
|
|
#3 | ||
|
Board Regular
Join Date: Apr 2002
Posts: 107
|
Quote:
Cliff |
||
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|