Look up query?

ipsdan

Board Regular
Joined
Aug 31, 2004
Messages
74
I have a list of names in A:A and a list of scores in E:E. I have used MAX on column E to find the high score and copied it to another cell - say - D100. In D99 I want a formula that will put the name of the person who achieved the high score that is in cell D100. My efforts have so far returned rather pitiful results. Any help appreciated...
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
Assuming that entries in A:A correspond to scores in E:E,

=INDEX(A:A,MATCH(MAX(E:E),E:E,0))
 
Upvote 0
ipsdan said:
I have a list of names in A:A and a list of scores in E:E. I have used MAX on column E to find the high score and copied it to another cell - say - D100. In D99 I want a formula that will put the name of the person who achieved the high score that is in cell D100. My efforts have so far returned rather pitiful results. Any help appreciated...
aaTop1 ipsdan.xls
ABCD
1Max35
2Top1
3Ties2
4NameScoreRankTop List
5dawn236damon
6damon351christine
7bob255john
8chris227 
9christine352 
10ian324 
11john353 
12
Data


Formulas...

C5, copied down:

=RANK(B5,$B$5:$B$11)+COUNTIF(B5:$B$5,B5)-1

D1:

=MAX(B5:B11)

D2: 1

Means: Give me a Top 1 list.

D3:

=MAX(IF(INDEX(B5:B11,MATCH(D2,C5:C11,0))=B5:B11,C5:C11))-D2

which must be confirmed with control+shift+enter instead of just with enter.

This formula adjusts dynamically the number of names achieving the same max score.

D5, copied down:

=IF(ROW()-ROW($D$5)+1<=$D$2+$D$3,INDEX($A$5:$A$11,MATCH(ROW()-ROW($D$5)+1,$C$5:$C$11,0)),"")
 
Upvote 0

Forum statistics

Threads
1,215,333
Messages
6,124,317
Members
449,153
Latest member
JazzSingerNL

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top