Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Confused
 
Posts: n/a
Default Vlookup doesn't work until i edit(but not change) the lookup cell

I am using vlookup to lookup values in data copied from a CSV file. It first
returned #N/A so i changed the Number Format (of the Lookup_Value) to "Text"
and it still returned #N/A but when i pressed F2 and then enter (on the
Lookup_Value cell), the vlookup returned the correct value.

This is really driving me up the wall, can anyone help?
  #2   Report Post  
Max
 
Posts: n/a
Default Vlookup doesn't work until i edit(but not change) the lookup cell

Formatting does not change the underlying values

Try this to convert the text numbers in the lookup col to real numbers

Copy an empty cell, then select and right-click on the lookup col, choose
Paste special check "Add" ok

--
Rgds
Max
xl 97
---
Singapore, GMT+8
xdemechanik
http://savefile.com/projects/236895
--
"Confused" wrote in message
...
I am using vlookup to lookup values in data copied from a CSV file. It

first
returned #N/A so i changed the Number Format (of the Lookup_Value) to

"Text"
and it still returned #N/A but when i pressed F2 and then enter (on the
Lookup_Value cell), the vlookup returned the correct value.

This is really driving me up the wall, can anyone help?



  #3   Report Post  
Arvi Laanemets
 
Posts: n/a
Default Vlookup doesn't work until i edit(but not change) the lookup cell

Hi

This method wold work, when OP had changed from Text to Numeric. But by
current setup the only option short of manual editing, is to convert values
to strings in some other column (="" & OldValue), and then overwrite old
values using PasteSpecialValues


--
Arvi Laanemets
( My real mail address: arvil<attarkon.ee )



"Max" wrote in message
...
Formatting does not change the underlying values

Try this to convert the text numbers in the lookup col to real numbers

Copy an empty cell, then select and right-click on the lookup col, choose
Paste special check "Add" ok

--
Rgds
Max
xl 97
---
Singapore, GMT+8
xdemechanik
http://savefile.com/projects/236895
--
"Confused" wrote in message
...
I am using vlookup to lookup values in data copied from a CSV file. It

first
returned #N/A so i changed the Number Format (of the Lookup_Value) to

"Text"
and it still returned #N/A but when i pressed F2 and then enter (on the
Lookup_Value cell), the vlookup returned the correct value.

This is really driving me up the wall, can anyone help?





  #4   Report Post  
Max
 
Posts: n/a
Default Vlookup doesn't work until i edit(but not change) the lookup cell

I've got a 50% chance that the interp was on,
you've covered the other 50%, Arvi ! <g
--
Rgds
Max
xl 97
---
Singapore, GMT+8
xdemechanik
http://savefile.com/projects/236895
--


  #5   Report Post  
Michiko
 
Posts: n/a
Default Vlookup doesn't work until i edit(but not change) the lookup cell

Do, Text to columm to see if there is invisible space in the columm

"Confused" wrote:

I am using vlookup to lookup values in data copied from a CSV file. It first
returned #N/A so i changed the Number Format (of the Lookup_Value) to "Text"
and it still returned #N/A but when i pressed F2 and then enter (on the
Lookup_Value cell), the vlookup returned the correct value.

This is really driving me up the wall, can anyone help?



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
Convert VLOOKUP to absolute cell reference Rich Excel Discussion (Misc queries) 2 August 6th 05 03:49 AM
Return cell reference of lookup value bobm Excel Worksheet Functions 3 July 7th 05 08:49 AM
Look for change next blank cell in Range Nigel Bennett Excel Worksheet Functions 1 March 13th 05 09:45 PM
double lookup, nest, or macro? Josef.angel Excel Worksheet Functions 1 October 29th 04 09:50 AM
VLookup resulting in a blank cell... KempensBoerke Excel Worksheet Functions 1 October 28th 04 09:57 PM


All times are GMT +1. The time now is 07:33 PM.

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

About Us

"It's about Microsoft Excel"