Lookup or IF or Index not sure what to do

americanpie3

Board Regular
Joined
Jul 16, 2003
Messages
187
Office Version
  1. 365
Hi everyone,

As you can see by the table below I have the names, averages and then the rank. I use the rank formula so that I can have numbers depending on average.

Rank Name Averages
7 Pat 0.00
6 Dan 2.00
7 Steve 0.00
3 Donald 5.00
7 Jim 0.00
7 Shelley 0.00
7 Manon 0.00
7 John 0.00
7 Bob 0.00
1 Tom 7.00
4 Carlos 4.00

What I would love to do in another cell is to do a search that find the 1 in the Rank column and the result is the name category. Please assume that Rank is the A column, Name is the B and Averages are C.

Thanks for your input.
 
Last edited:

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
Try:
Code:
=VLOOKUP(1,$A$1:$B$11,2,0)
 
Last edited:
Upvote 0
Since ranks can repeat, a VLOOKUP formula would be inadequate.

In E1 control+shift+enter, not just enter, and copy down:

=IFERROR(INDEX($B$2:$B$12,SMALL(IF($A$2:$A$12=1,ROW($B$2:$B$12)-ROW($B$2)+1),ROWS($E$1:E1))),"")
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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