Vlookup problem => value not found

danteske

New Member
Joined
Jan 19, 2003
Messages
24
G'morning all

Long time since I've had to ask a question. Glad to see you're all still here! ;) BTW, I searched forums for an answer, but wasn't successful.

Background: I'm using vlookup in a pretty simple way, nothing fancy. Thing is, the lookup value is the problem. The lookup value was (probably) imported data from some kinda mainframe, which was (most likely) converted from .csv into excel, then emailed to me in excel.

When I plug in a vlookup, I get #N/A. When I double click the lookup value, then somehow the cell becomes "active" and the vlookup works.

Is there any way to make active a column or selection without having to individually double click the cells?

Dan
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes

Andrew Poulsom

MrExcel MVP
Joined
Jul 21, 2002
Messages
73,092
Try Data|Text to Columns and click Finish. You may need to format the cells as General afterwards so that the numbers are right aligned.
 
Upvote 0

Jonmo1

MrExcel MVP
Joined
Oct 12, 2006
Messages
44,061
this is a very common problem. Probably numbers stored as text...

try typing a 1 anywhere on your sheet.
copy it

highlight the offending column, paste special - values - multiply
 
Upvote 0

shippey121

Well-known Member
Joined
Mar 21, 2006
Messages
1,003
it seems that your values are stored as text even though they may look like they are not, when you double click the cell it converts it to a number, try typing a zero 0, in a blank cell and copy it, now highlight all your data where the Vlookup is checking, now select EDIT >> PASTE SPECIAL, under where it says OPERATION select ADD, now click ok, this will effectivley ADD ZERO to all your values forcing them to change into numbers

HTH
 
Upvote 0

Forum statistics

Threads
1,191,133
Messages
5,984,859
Members
439,921
Latest member
Neocold

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