Computing.Net > Forums > Office Software > VLookup assistance

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

VLookup assistance

Reply to Message Icon

Name: HB Hays
Date: June 10, 2005 at 08:27:14 Pacific
OS: XP
CPU/Ram: pentium and 1024
Comment:

VLookup assistance..... Columm B takes the left 4 numbers from a longer number in column A. I am trying to use VLookup to look up the resulting 4 numbers in a different colukmn but it won't. If I simply type the number in, it works fine but it will not work by looking up the results from the LEFT 4 function. What could cause this?



Sponsored Link
Ads by Google

Response Number 1
Name: Bryco
Date: June 10, 2005 at 11:29:04 Pacific
Reply:

Let's say that your number is 123456 and is in A1 then use
=LEFT(A1,4)
Meaning in A1 extract the first four characters from the left.
and the result will be 1234 in the cell where you placed the formula.

HTH
Bryan


0

Response Number 2
Name: HB Hays
Date: June 11, 2005 at 05:46:24 Pacific
Reply:

Bryan,
That is what I did and VLookup will not lookup the resulting 1234 on a different worksheet. ???? I'm trying to figure out why it won't recognize the 1234 that is the result of the =left(a1,4) function but it will recognize it if I simply type in the numbers 1234. Any ideas?


0

Response Number 3
Name: MarkUS
Date: June 11, 2005 at 11:00:42 Pacific
Reply:

Left(A1,4) is actually a text function and
produces a text value '1234'. If you are
using it in a lookup function and the lookup
column contains numeric values, then the
compare or lookup fails.

Try this:

value(Left(A1,4))

MarkUS


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


Can't open Word Document Excel Autofilter



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Office Software Forum Home


Sponsored links

Ads by Google


Results for: VLookup assistance

Copy & Paste Problems in Excel www.computing.net/answers/office/copy-amp-paste-problems-in-excel/3992.html

Out of Office Assistant Forwarding www.computing.net/answers/office/out-of-office-assistant-forwarding-/6158.html

Date matching using VLOOKUP www.computing.net/answers/office/date-matching-using-vlookup/5630.html