How to make Vlookup return next match

romeo16

New Member
Joined
Jul 20, 2016
Messages
21
[TABLE="class: grid, width: 100"]
<tbody>[TR]
[TD]Names[/TD]
[TD]Age[/TD]
[/TR]
[TR]
[TD]25[/TD]
[TD]A[/TD]
[/TR]
[TR]
[TD]18[/TD]
[TD]B[/TD]
[/TR]
[TR]
[TD]25[/TD]
[TD]C[/TD]
[/TR]
[TR]
[TD]30[/TD]
[TD]D[/TD]
[/TR]
</tbody>[/TABLE]
I have a huge table but I just made this as a sample of my scenario , so I used LARGE() to return first three Old ages and this was the result which makes sense.

[TABLE="class: grid, width: 80"]
<tbody>[TR]
[TD]30[/TD]
[/TR]
[TR]
[TD]25[/TD]
[/TR]
[TR]
[TD]25[/TD]
[/TR]
</tbody>[/TABLE]

And then I want to return the corresponding value (Name) from the first table . I used Vlookup but If you know another function that can work better . Vlookup result was like this :(

[TABLE="class: grid, width: 50"]
<tbody>[TR]
[TD]A[/TD]
[/TR]
[TR]
[TD]A[/TD]
[/TR]
[TR]
[TD]D[/TD]
[/TR]
</tbody>[/TABLE]

And I want it to be as below

[TABLE="class: grid, width: 50"]
<tbody>[TR]
[TD]A[/TD]
[/TR]
[TR]
[TD]C[/TD]
[/TR]
[TR]
[TD]D[/TD]
[/TR]
</tbody>[/TABLE]

Any help will much appreciated. Thanks
 

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