Lookup 1st , 2nd , 3rd Maximum value

skhaliq

New Member
Joined
Dec 24, 2011
Messages
17
Data
NamesSKU1SKU2SKU3SKU4SKU5
Ali0201500
Butt1501630
Adnan025151015

<colgroup><col width="64" span="6" style="width:48pt"> </colgroup><tbody>
</tbody>


NameResult
Ali20
Ali15
Butt?
Butt?
Butt?
Adnan?
Adnan?
Adnan?
Adnan?

<colgroup><col width="64" span="2" style="width:48pt"> </colgroup><tbody>
</tbody>
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
My very crude and swift mock-up; perhaps:


Excel 2010
ABCDEFGHIJ
1SKU1SKU2SKU3SKU4SKU5IndexNameResult
2Ali02015001Ali20
3Butt15016302Ali15
4Adnan0251510151Butt15
52Butt16
63Butt30
71Adnan25
82Adnan15
93Adnan10
104Adnan15
Sheet1
Cell Formulas
RangeFormula
H2=COUNTIF($I$2:I2,I2)
J2{=INDEX($B$2:$F$4,MATCH(I2,$A$2:$A$4,0),SMALL(IF(INDEX($B$2:$F$4,MATCH(I2,$A$2:$A$4,0),0)>0,COLUMN($B$1:$F$1)-COLUMN(A2)),H2))}
Press CTRL+SHIFT+ENTER to enter array formulas.
 
Upvote 0

Forum statistics

Threads
1,214,520
Messages
6,120,003
Members
448,935
Latest member
ijat

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