Vlookup will not work

almst791

Board Regular
Joined
Jun 29, 2016
Messages
82
Hey guys,
Column A I have digit 00075003025
Column B I use the "Right function" to change the value to 75003025
Then in column C I have a vlookup to get the description of this 75003025 code

It comes up N/A but my table I use for vlookup that 75003025 description is there. If I change cell B1 to the actual number and not the right function it works. Why is this?

Excel 2007
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)

63falcondude

Well-known Member
Joined
Jan 15, 2016
Messages
3,572
Try adding +0 to the end of the right function. The result of a RIGHT function is considered text. Chances are that the numbers in your lookup table are seen as numbers and not text.
 
Last edited:
Upvote 0

gaz_chops

Well-known Member
Joined
Apr 29, 2003
Messages
6,485
Platform
  1. MacOS
Because your right formula is returning a text value, try adding +0 to the end of the formula, as below

=RIGHT(A1,8)+0
 
Upvote 0

Forum statistics

Threads
1,195,623
Messages
6,010,749
Members
441,567
Latest member
Flitbee

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
Top