Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
slf slf is offline
external usenet poster
 
Posts: 8
Default Non Numeric String Lookup Issue

i am unable to use vlookup in numeric numbers stored as text - (2500 rows of
data)

=vlookup(a5,eg:gh,2,0)

col 1 col 2 col 3
1000372786741026 1000372786741026 $10

what formula is needed to lookup the number in column 2 and return the
information in col 3
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,069
Default Non Numeric String Lookup Issue

In your example, column 2 has to be EG and column 3 must be EH. The value to
be matched must be in the leftmost column of the lookup range. When I set it
up this way, your example works for me. If that's not the problem, check for
trailing spaces in one of the text numbers.

Hope this helps,

Hutch

"slf" wrote:

i am unable to use vlookup in numeric numbers stored as text - (2500 rows of
data)

=vlookup(a5,eg:gh,2,0)

col 1 col 2 col 3
1000372786741026 1000372786741026 $10

what formula is needed to lookup the number in column 2 and return the
information in col 3

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
slf slf is offline
external usenet poster
 
Posts: 8
Default Non Numeric String Lookup Issue

Tom,
Thank you for your response- i left out some of the information tho.

That lookup will work if i type in those numbers. However, the numbers are
received in database that stores the numbers as "General" - if i try to
convert to #'s it converts the last number to "0". Rendering the information
useless.

If i change the formatting to "text" it still doesn't recognize.

I thought maybe a formula using "Match", or "Sum Product" but not sure about
them.

Any other thoughts?
Thanks,




"Tom Hutchins" wrote:

In your example, column 2 has to be EG and column 3 must be EH. The value to
be matched must be in the leftmost column of the lookup range. When I set it
up this way, your example works for me. If that's not the problem, check for
trailing spaces in one of the text numbers.

Hope this helps,

Hutch

"slf" wrote:

i am unable to use vlookup in numeric numbers stored as text - (2500 rows of
data)

=vlookup(a5,eg:gh,2,0)

col 1 col 2 col 3
1000372786741026 1000372786741026 $10

what formula is needed to lookup the number in column 2 and return the
information in col 3

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
slf slf is offline
external usenet poster
 
Posts: 8
Default Non Numeric String Lookup Issue

Tom,
it was the "trailing space" - i hadn't heard of that before. Fixed the
problem with a =trim
thank you so much.


"slf" wrote:

Tom,
Thank you for your response- i left out some of the information tho.

That lookup will work if i type in those numbers. However, the numbers are
received in database that stores the numbers as "General" - if i try to
convert to #'s it converts the last number to "0". Rendering the information
useless.

If i change the formatting to "text" it still doesn't recognize.

I thought maybe a formula using "Match", or "Sum Product" but not sure about
them.

Any other thoughts?
Thanks,




"Tom Hutchins" wrote:

In your example, column 2 has to be EG and column 3 must be EH. The value to
be matched must be in the leftmost column of the lookup range. When I set it
up this way, your example works for me. If that's not the problem, check for
trailing spaces in one of the text numbers.

Hope this helps,

Hutch

"slf" wrote:

i am unable to use vlookup in numeric numbers stored as text - (2500 rows of
data)

=vlookup(a5,eg:gh,2,0)

col 1 col 2 col 3
1000372786741026 1000372786741026 $10

what formula is needed to lookup the number in column 2 and return the
information in col 3

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
Text string to Numeric string Manikandan[_2_] Excel Discussion (Misc queries) 2 March 12th 09 08:55 AM
How do I replace last numeric string from a alphanumeric string? Christy Excel Discussion (Misc queries) 3 August 11th 06 12:17 AM
Find numeric value at end of string Barb Reinhardt Excel Worksheet Functions 13 February 4th 06 11:31 PM
Numeric cell but shows as string? Brett Excel Worksheet Functions 9 March 24th 05 11:56 AM
Extracting numeric values from string RJF Excel Worksheet Functions 3 January 5th 05 10:48 PM


All times are GMT +1. The time now is 03:23 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"