Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Excell Rookie
 
Posts: n/a
Default vlookup error - recognition of value

I was having issues with Vlookup functionality in a 2 column array. It does
not recognize the value I have in the array intil I over type the value and
then the vlookup functionality works.

My equation looks like this: =VLOOKUP(A2,$J$2:$K$5815,2,FALSE)


  #2   Report Post  
Max
 
Posts: n/a
Default

If the lookup value is numeric, try:
=VLOOKUP(A2+0,$J$2:$K$5815,2,FALSE)

If the lookup value is text, try:
=VLOOKUP(TRIM(A2),$J$2:$K$5815,2,FALSE)
--
Rgds
Max
xl 97
---
Singapore, GMT+8
xdemechanik
http://savefile.com/projects/236895
--
"Excell Rookie" <Excell wrote in message
...
I was having issues with Vlookup functionality in a 2 column array. It

does
not recognize the value I have in the array intil I over type the value

and
then the vlookup functionality works.

My equation looks like this: =VLOOKUP(A2,$J$2:$K$5815,2,FALSE)




  #3   Report Post  
Excell Rookie
 
Posts: n/a
Default

Thank You for the quick response, niether proposal has remedied the issue.
I am using data which is a "mix" of alpha, and numerical like AE61, ST04 etc

When I retype these values into my arry, the VLOOKUP functionaly works.


"Max" wrote:

If the lookup value is numeric, try:
=VLOOKUP(A2+0,$J$2:$K$5815,2,FALSE)

If the lookup value is text, try:
=VLOOKUP(TRIM(A2),$J$2:$K$5815,2,FALSE)
--
Rgds
Max
xl 97
---
Singapore, GMT+8
xdemechanik
http://savefile.com/projects/236895
--
"Excell Rookie" <Excell wrote in message
...
I was having issues with Vlookup functionality in a 2 column array. It

does
not recognize the value I have in the array intil I over type the value

and
then the vlookup functionality works.

My equation looks like this: =VLOOKUP(A2,$J$2:$K$5815,2,FALSE)





  #4   Report Post  
Max
 
Posts: n/a
Default

Then the problem is with the table array which probably contains extraneous
leading and/or trailing spaces. Try this on a spare copy of your sheet ..

Using 2 empty adjacent columns ..
Put in say, L2: =TRIM(J2)
Copy across to M2, fill down to M5815

Then select L2:M5815, and do a copy paste special values to overwrite
the original table array in J2:K5815
--
Rgds
Max
xl 97
---
Singapore, GMT+8
xdemechanik
http://savefile.com/projects/236895
--
"Excell Rookie" wrote in message
...
Thank You for the quick response, niether proposal has remedied the issue.
I am using data which is a "mix" of alpha, and numerical like AE61, ST04

etc When I retype these values into my arry, the VLOOKUP functionaly
works.


  #5   Report Post  
Duke Carey
 
Posts: n/a
Default

As an alternative to Max's suggestions, copy a completely empty cell, select
the first column of your lookup array, and use Edit-Paste Special-Add. Taht
will convert all the array values to numeric and your VLOOKUP will work then

"Excell Rookie" wrote:

I was having issues with Vlookup functionality in a 2 column array. It does
not recognize the value I have in the array intil I over type the value and
then the vlookup functionality works.

My equation looks like this: =VLOOKUP(A2,$J$2:$K$5815,2,FALSE)




  #6   Report Post  
Excel Rookie
 
Posts: n/a
Default

I think Excel was having issues with a dual alpha-numeric arrays and have
resolved my issue by copying data into another colunm, trimming the data
using =trim(h2) and then in an adjacent column copy the value. The formula
now works.

Best Regards,


"Duke Carey" wrote:

As an alternative to Max's suggestions, copy a completely empty cell, select
the first column of your lookup array, and use Edit-Paste Special-Add. Taht
will convert all the array values to numeric and your VLOOKUP will work then

"Excell Rookie" wrote:

I was having issues with Vlookup functionality in a 2 column array. It does
not recognize the value I have in the array intil I over type the value and
then the vlookup functionality works.

My equation looks like this: =VLOOKUP(A2,$J$2:$K$5815,2,FALSE)


  #7   Report Post  
Max
 
Posts: n/a
Default

Sorry, that probably overdid it .. Just clean up the lookup col J will do,
with the TRIM down col L only, then a copy paste as values to overwrite
col J.
--
Rgds
Max
xl 97
---
Singapore, GMT+8
xdemechanik
http://savefile.com/projects/236895
--


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
Using single cell reference as table array argument in Vlookup CornNiblet Excel Worksheet Functions 3 September 22nd 05 10:15 AM
VLOOKUP Limitations chris_manning Excel Worksheet Functions 2 August 9th 05 07:23 PM
Have Vlookup return a Value of 0 instead of #N/A Mr Mike Excel Worksheet Functions 4 May 25th 05 05:51 PM
vlookup data hidden within worksheet Excel Worksheet Functions 0 January 26th 05 01:09 PM
Vlookup info being used without vlookup table attached? Excel Worksheet Functions 0 January 25th 05 11:43 AM


All times are GMT +1. The time now is 04:20 AM.

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"