Vlookup Problem

LJC

New Member
Joined
Nov 25, 2008
Messages
25
Hi,

Hope someone can help. I have a cell A2 (product code) that refers to another cell in another spreadsheet. ='Test TY £'!A2

This cell (A2) is then used in my Vlookup formula to find that product code in another spreadsheet.

However, it returns N/A# when it shouldn't. I do not want to copy and paste special the values as I do need to keep the ref i.e.='Test TY £'!A2

Any way around this other than having a column with the values and hiding that column?

Regards
 

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).

schielrn

Well-known Member
Joined
Apr 4, 2007
Messages
6,939
Are there maybe leading spaces somewhere in the data? Or is one formatted as a number and the other formatted as text maybe?

What is the value that is in A2 currently?
 

Watch MrExcel Video

Forum statistics

Threads
1,132,867
Messages
5,655,697
Members
418,230
Latest member
Jimmy_Jef

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