Help required using vlookup

Ian1976

Board Regular
Joined
Feb 4, 2016
Messages
139
Office Version
  1. 365
Platform
  1. Windows
Hi I am using a vlookup formula but instead of displaying the result say "ABB" I'd like to return "ABBREVIATION" instead?

Is it possible or do I need a different formula, index,match?

Thanks
Ian
 

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.
Thanks Gaz

How do I add that to this formula please?

=vlookup(L5,Sheet1!A1:AK95,5,FALSE)

There is appox 20 different results to alter?

Thanks
 
Upvote 0
Create a small table with the lookup results and what you want to alter them to, like below

Code:
[TABLE="width: 174"]
<colgroup><col width="87" span="2" style="width: 65pt;"></colgroup><tbody>[TR]
[TD="width: 87"]ABB[/TD]
[TD="width: 87"]ABBREVIATION[/TD]
[/TR]
[TR]
[TD]ABC[/TD]
[TD]CCCCCCC[/TD]
[/TR]
[TR]
[TD]ABD[/TD]
[TD]DDDDDD[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

use
=VLOOKUP(vlookup(L5,Sheet1!A1:AK95,5,FALSE),$A$3:$B$5,2)

change the part in Red to reference your new table
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,248
Members
452,623
Latest member
cliftonhandyman

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