Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Kay Kay is offline
external usenet poster
 
Posts: 129
Default Unusual VLookup in 2007

Hello and Happy New Year!

I am working on a special project that requires me to match file names on
two different directories. Some of the file names are in another lanquage
and use accent marks, etc. When I use a Vlookup, it returns no match even if
I can see the file in the other list. I assume it has something to do with
the accent marks, etc. Each file name also has a unique 16 digit number at
the beginning. I hoped I could tell the Vlookup to match the first sixteen
characters. Even though I know it is there, the formula returns NA#. My
formula looks like this: =VLOOKUP(LEFT(D45790,LEN(16)),'X
Drive'!$D$45790:$D$60000,1,FALSE).
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Kay Kay is offline
external usenet poster
 
Posts: 129
Default Unusual VLookup in 2007

Don,
Perhaps I am not understanding completely. You want me to use the symbol
equivalent of the accent mark in the formula...? How would that help to find
an exact match of all characters. The string uses a combination of alpha and
numeric characters where the alpha characters have the accent mark.

If you do not mind my asking, why doesn't Excel find these characters
anyway. I have the same problem with a tilda. I was able to replace the
tilda with an underscore, but can't seem to replace the accent mark.

"Don Guillett" wrote:

try this idea
=VLOOKUP("124*",G3:H6,2,0)

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Kay" wrote in message
...
Hello and Happy New Year!

I am working on a special project that requires me to match file names on
two different directories. Some of the file names are in another lanquage
and use accent marks, etc. When I use a Vlookup, it returns no match even
if
I can see the file in the other list. I assume it has something to do
with
the accent marks, etc. Each file name also has a unique 16 digit number
at
the beginning. I hoped I could tell the Vlookup to match the first
sixteen
characters. Even though I know it is there, the formula returns NA#. My
formula looks like this: =VLOOKUP(LEFT(D45790,LEN(16)),'X
Drive'!$D$45790:$D$60000,1,FALSE).


.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,124
Default Unusual VLookup in 2007

I'm saying use the number with a wildcard
if you were looking up 123 in a range that had 123xxxxx the formula I
provided will do it. If something else.
If desired, send your file to my address below. I will only look if:
1. You send a copy of this message on an inserted sheet
2. You give me the newsgroup and the subject line
3. You send a clear explanation of what you want
4. You send before/after examples and expected results.


--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Kay" wrote in message
...
Don,
Perhaps I am not understanding completely. You want me to use the symbol
equivalent of the accent mark in the formula...? How would that help to
find
an exact match of all characters. The string uses a combination of alpha
and
numeric characters where the alpha characters have the accent mark.

If you do not mind my asking, why doesn't Excel find these characters
anyway. I have the same problem with a tilda. I was able to replace the
tilda with an underscore, but can't seem to replace the accent mark.

"Don Guillett" wrote:

try this idea
=VLOOKUP("124*",G3:H6,2,0)

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Kay" wrote in message
...
Hello and Happy New Year!

I am working on a special project that requires me to match file names
on
two different directories. Some of the file names are in another
lanquage
and use accent marks, etc. When I use a Vlookup, it returns no match
even
if
I can see the file in the other list. I assume it has something to do
with
the accent marks, etc. Each file name also has a unique 16 digit
number
at
the beginning. I hoped I could tell the Vlookup to match the first
sixteen
characters. Even though I know it is there, the formula returns NA#.
My
formula looks like this: =VLOOKUP(LEFT(D45790,LEN(16)),'X
Drive'!$D$45790:$D$60000,1,FALSE).


.


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Kay Kay is offline
external usenet poster
 
Posts: 129
Default Unusual VLookup in 2007

Don,

Thanks so much for taking the time to look at this. I have attached the
workbook and sent to the email you provided.

"Kay" wrote:

Hello and Happy New Year!

I am working on a special project that requires me to match file names on
two different directories. Some of the file names are in another lanquage
and use accent marks, etc. When I use a Vlookup, it returns no match even if
I can see the file in the other list. I assume it has something to do with
the accent marks, etc. Each file name also has a unique 16 digit number at
the beginning. I hoped I could tell the Vlookup to match the first sixteen
characters. Even though I know it is there, the formula returns NA#. My
formula looks like this: =VLOOKUP(LEFT(D45790,LEN(16)),'X
Drive'!$D$45790:$D$60000,1,FALSE).



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
pub pub is offline
external usenet poster
 
Posts: 29
Default Unusual VLookup in 2007

?B?S2F5?= wrote in
:

Hello and Happy New Year!

I am working on a special project that requires me to match file names
on two different directories. Some of the file names are in another
lanquage and use accent marks, etc. When I use a Vlookup, it returns
no match even if I can see the file in the other list. I assume it
has something to do with the accent marks, etc. Each file name also
has a unique 16 digit number at the beginning. I hoped I could tell
the Vlookup to match the first sixteen characters. Even though I know
it is there, the formula returns NA#. My formula looks like this:
=VLOOKUP(LEFT(D45790,LEN(16)),'X Drive'!$D$45790:$D$60000,1,FALSE).


I am not sure about the accent marks...but the 16 digit number at the
beginning might be an issue.
look at your X Drive! D45790:d60000 range...are these real 16 digit numbers
that means the LEFT() function is extracting the 1sy 16 characters as a
"text" string and not fining a match.
the -- or the VALUE() usually solves that problem
copy&paste this

=VLOOKUP(VALUE(LEFT(D45790,LEN(16))),'X Drive'!$D$45790:$D$60000,1,FALSE)

and see if it makes a difference
hope this helps.
  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
pub pub is offline
external usenet poster
 
Posts: 29
Default Unusual VLookup in 2007

pub wrote in :

?B?S2F5?= wrote in
:

Hello and Happy New Year!

I am working on a special project that requires me to match file
names on two different directories. Some of the file names are in
another lanquage and use accent marks, etc. When I use a Vlookup, it
returns no match even if I can see the file in the other list. I
assume it has something to do with the accent marks, etc. Each file
name also has a unique 16 digit number at the beginning. I hoped I
could tell the Vlookup to match the first sixteen characters. Even
though I know it is there, the formula returns NA#. My formula looks
like this: =VLOOKUP(LEFT(D45790,LEN(16)),'X
Drive'!$D$45790:$D$60000,1,FALSE).


I am not sure about the accent marks...but the 16 digit number at the
beginning might be an issue.
look at your X Drive! D45790:d60000 range...are these real 16 digit
numbers that means the LEFT() function is extracting the 1sy 16
characters as a "text" string and not fining a match.
the -- or the VALUE() usually solves that problem
copy&paste this

=VLOOKUP(VALUE(LEFT(D45790,LEN(16))),'X
Drive'!$D$45790:$D$60000,1,FALSE)

and see if it makes a difference
hope this helps.


oops, you are looking at a 1 column table? on the x drive sheet, i would
extract the unique 16 numbers using the LEFT() function and put it in a
column by itself as a key field.
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
3D chart - unusual ORF!N Charts and Charting in Excel 1 September 23rd 09 06:48 PM
Unusual Printing Problems Paul Gauci Excel Discussion (Misc queries) 2 August 18th 08 05:04 PM
Unusual Request... LewisAire Excel Discussion (Misc queries) 0 July 31st 06 12:08 PM
Please help with unusual request? AWA Excel Discussion (Misc queries) 4 December 26th 05 08:13 PM
Unusual "Properties" information Susan Excel Discussion (Misc queries) 4 January 26th 05 08:15 PM


All times are GMT +1. The time now is 08:25 PM.

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"