ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Vlookup Table - with L/U value as '100 (https://www.excelbanter.com/excel-discussion-misc-queries/226252-vlookup-table-l-u-value-100-a.html)

JMay

Vlookup Table - with L/U value as '100
 
Our Data tables (used for Vlookup in other places in our WB) contain
StNum Other1 Other2
'100 asdf wert
'200 asdf asdf
'300 ertyyt yuityui

Each of the StNum before the number have the " ' " before it to make it text,
versus a number. Only problem now is - Numbers are imported into other
sheets
off a system and EVEN THOUGH we are BEFORE HAND formatting the incoming
Range as .Columns(P:P).Numberformat = "@" my say 100 when used in a
=Vlookup(100, StoreList, 2, False) is bringing back the infamous #N/A since
'100 is what is in the LookUp Table.

How can this be corrected?



Pecoflyer[_253_]

Vlookup Table - with L/U value as '100
 

Hi,
you can try =Vlookup(100&"", StoreList, 2, False) which will transform
the number 100 to text


JMay;291732 Wrote:
Our Data tables (used for Vlookup in other places in our WB) contain
StNum Other1 Other2
'100 asdf wert
'200 asdf asdf
'300 ertyyt yuityui

Each of the StNum before the number have the " ' " before it to make it
text,
versus a number. Only problem now is - Numbers are imported into
other
sheets
off a system and EVEN THOUGH we are BEFORE HAND formatting the
incoming
Range as .Columns(P:P).Numberformat = "@" my say 100 when used in
a
=Vlookup(100, StoreList, 2, False) is bringing back the infamous #N/A
since
'100 is what is in the LookUp Table.

How can this be corrected?



--
Pecoflyer

Cheers -
*'Membership is free' (http://www.thecodecage.com)* & allows file
upload -faster and better answers

*Adding your XL version* to your post helps finding solution faster
------------------------------------------------------------------------
Pecoflyer's Profile: http://www.thecodecage.com/forumz/member.php?userid=14
View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=81507


JMay

Vlookup Table - with L/U value as '100
 
Pecoflyer,

Thanks -- You saved me!!

Jim May

"Pecoflyer" wrote:


Hi,
you can try =Vlookup(100&"", StoreList, 2, False) which will transform
the number 100 to text


JMay;291732 Wrote:
Our Data tables (used for Vlookup in other places in our WB) contain
StNum Other1 Other2
'100 asdf wert
'200 asdf asdf
'300 ertyyt yuityui

Each of the StNum before the number have the " ' " before it to make it
text,
versus a number. Only problem now is - Numbers are imported into
other
sheets
off a system and EVEN THOUGH we are BEFORE HAND formatting the
incoming
Range as .Columns(P:P).Numberformat = "@" my say 100 when used in
a
=Vlookup(100, StoreList, 2, False) is bringing back the infamous #N/A
since
'100 is what is in the LookUp Table.

How can this be corrected?



--
Pecoflyer

Cheers -
*'Membership is free' (http://www.thecodecage.com)* & allows file
upload -faster and better answers

*Adding your XL version* to your post helps finding solution faster
------------------------------------------------------------------------
Pecoflyer's Profile: http://www.thecodecage.com/forumz/member.php?userid=14
View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=81507




All times are GMT +1. The time now is 04:11 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com