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

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
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
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,214,570
Messages
6,120,297
Members
448,954
Latest member
EmmeEnne1979

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