Finding maximum value against a value using vlookup

Status
Not open for further replies.

kalucharan

New Member
Joined
Mar 23, 2014
Messages
8
Office Version
  1. 2016
Platform
  1. Windows
Could anyone help me with the formula for below problem.
I need to find the item name with the maximum price in a new column against the name.
Attached the excel for the reference.
Finding maximum.xlsx
CDEFG
1NameItem NamePriceExpected ResultFormula to be used using vlookup
2HarryA20C
3B67
4C87
5D87
6TomA125E1
7B169
8C178
9D179
10E187
Sheet1
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
Here is one way, but it is ms365. I'm unsure about your version of Excel as it's not included in your profile.

Book1
ABCD
1NameItem NamePriceExpected Result
2HarryA20C
3B67
4C87
5D87
6TomA125E1
7B169
8C178
9D179
10E187
Sheet9
Cell Formulas
RangeFormula
D2:D10D2=LET(x,SCAN(A2,A2:A10,LAMBDA(a,b,IF(b="",a,b))),MAP(A2:A10,LAMBDA(z,IF(z<>"",@SORT(FILTER(B2:C10,x=z),2,-1),""))))
Dynamic array formulas.
 
Upvote 0
Here is one way, but it is ms365. I'm unsure about your version of Excel as it's not included in your profile.

Book1
ABCD
1NameItem NamePriceExpected Result
2HarryA20C
3B67
4C87
5D87
6TomA125E1
7B169
8C178
9D179
10E187
Sheet9
Cell Formulas
RangeFormula
D2:D10D2=LET(x,SCAN(A2,A2:A10,LAMBDA(a,b,IF(b="",a,b))),MAP(A2:A10,LAMBDA(z,IF(z<>"",@SORT(FILTER(B2:C10,x=z),2,-1),""))))
Dynamic array formulas.
I am using MS 2016. Could you please write formula using vlookup.
 
Upvote 0
I am using MS 2016

I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)
 
Upvote 0
Duplicate to: Finding maximum against a value

In future, please do not post the same question multiple times. Per Forum Rules (#12), posts of a duplicate nature will be locked or deleted.

In relation to your question here, I have closed this thread so please continue in the linked thread.
 
Upvote 0
Status
Not open for further replies.

Forum statistics

Threads
1,223,236
Messages
6,170,912
Members
452,366
Latest member
TePunaBloke

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