Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / June 2006

Tip: Looking for answers? Try searching our database.

lookup error!

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
via135 - 15 Jun 2006 20:39 GMT
hi!

what's wrong with the formula which throws #value error?

the formula is in Sheet1

C1; =VLOOKUP(OR(RIGHT(A1,6),MID(A1,6,6)),sheet2!$A$1:$C$8,3,FALSE)

the contents of A1:B9 in sheet1 is

01000055001>>>>>10775159011
01000060003>>>>>10775159022
01000060004>>>>>10775159033
01000060007>>>>>10775159044
01000060011>>>>>10775159055
0100006001600>>>10775159066
0100006002000>>>10775159077
0100006002001>>>10775159088
0100006001602>>>10775159099

the contents of A1:C8 in sheet2 is

055001>>john>>>    80620840697
060003>>abraham>80620840700
060004>>joseph>>    80620840711
060005>>walker>>    80620840722
060007>>nancy>>    80620840733
060011>>peter>>>80620840744
060016>>willy>>>>80620840777
060020    mabel    80620840788

any hlp pl?!

-via135

Signature

via135

Barb Reinhardt - 15 Jun 2006 20:52 GMT
Try
=VLOOKUP(RIGHT(A1,6),sheet2!$A$1:$C$8,3,FALSE)
or
=VLOOKUP(MID(A1,6,6),sheet2!$A$1:$C$8,3,FALSE)

 

> hi!
>
[quoted text clipped - 30 lines]
>
> -via135
bj - 15 Jun 2006 20:55 GMT
not a hundred percent sure but feel the OR() will not work as the lookup
value in the vlookup
try just

=VLOOKUP(MID(A1,6,6),sheet2!$A$1:$C$8,3,FALSE)
additionally
is column A in sheet 2 text or numbers
one way to verify is to just use the following equation
=mid(sheet1!A1,6,6)=sheet2!A1
if the answer is not "true" the sheet 2 value may be a number formated to
show the initial 0.

> hi!
>
[quoted text clipped - 30 lines]
>
> -via135
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.