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

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.

schielrn

Well-known Member
Joined
Apr 4, 2007
Messages
6,941
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?
 

Forum statistics

Threads
1,176,147
Messages
5,901,611
Members
434,906
Latest member
butterthemuffin

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