Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
ars
 
Posts: n/a
Default Vlookup datatype(?) issue

I've been using vlookup to combine reports extracted from our erp system. I
open them as text (.csv) files into Excel.

most of the time vlookup works ok, but every now and then I just can't get
the function to find anything, resulting #N/A. In these cases it starts
working if I go to edit the lookup_value cell and do nothing else than press
enter (i.e. pressing F2 and enter). But with 15k rows it is not fun...

I guess it has something to do with datatypes of the lookup_value and the
table_array? I have tried to modify the type, but it doesn't seem to have
effect.
  #2   Report Post  
Rob van Gelder
 
Posts: n/a
Default

I've seen it often though I've never had an opporunity to reproduce the
effect.
Somehow due to the datatype when importing.

When you're in the Text Import Wizard, take care to format the columns
property (General / Text / Date)

For correcting the problem cells
One trick is to copy a blank cell, highlight the lookup_value cells then
pastespecial-values with addition.


--
Rob van Gelder - http://www.vangelder.co.nz/excel


"ars" wrote in message
...
I've been using vlookup to combine reports extracted from our erp system.
I
open them as text (.csv) files into Excel.

most of the time vlookup works ok, but every now and then I just can't get
the function to find anything, resulting #N/A. In these cases it starts
working if I go to edit the lookup_value cell and do nothing else than
press
enter (i.e. pressing F2 and enter). But with 15k rows it is not fun...

I guess it has something to do with datatypes of the lookup_value and the
table_array? I have tried to modify the type, but it doesn't seem to have
effect.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
VLOOKUP problem Jason Excel Worksheet Functions 2 January 14th 05 10:39 PM
Vlookup #N/A error due to formatting Patrick_KC Excel Worksheet Functions 4 December 21st 04 07:39 PM
VLOOKUP help SamUK Excel Worksheet Functions 8 November 22nd 04 12:27 AM
carrying a hyper link when using the vlookup function mike Excel Worksheet Functions 1 November 19th 04 03:49 AM
VLOOKUP not working Scott Excel Worksheet Functions 3 November 12th 04 08:06 PM


All times are GMT +1. The time now is 07:50 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"