Using VLookup with a column of data imported from MSSQL7.0

Caleb

New Member
Joined
Sep 10, 2002
Messages
4
I have imported a column of six digit numbers from a SQL 7.0 database. I then use Vlookup to match a manually entered column with the imported column. MY problem is that in order for Vlookup to work I have to double click into each cell in the imported column. Once I double click into it, it works fine.
MORE INFO:In an unclicked cell the LookupValue is surrounded in quotes i.e.("101203").... in a clicked cell the LookupValue isn't i.e.(101203).
I've tried formatting the imported column several different ways without any luck. I've also tried cutting and pasting.
However, The only way I can get it to work is to double click in each cell.
It almost seems like a bug in Excel.
Any help will be GREATLY APPRECIATED.

Thanks, Caleb Shanafelt
This message was edited by Caleb on 2002-09-11 16:04
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
Hi - welcome to the board.

sounds like your 'numbers' are being imported as text. Test this by doing as =isnumber() check on one of the cells - I'll guess it will return false.

One of a number of general fixes for this sort of thing:

1) put a zero in a spare cell.
2) copy it
3) select the range containing you text 'numbers'
4) go to edit | paste special. select add. Click OK

Paddy
 
Upvote 0
Hey thanks a lot... Actually, when I performed isnumber() it returns TRUE.....
Very strange huh?.... However, I tried your trick and it worked perfectly..... Thanks again for saving me a couple of hours worth of boring/tedious work.....
Caleb Shanafelt
 
Upvote 0

Forum statistics

Threads
1,214,659
Messages
6,120,786
Members
448,992
Latest member
prabhuk279

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