LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #12   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Vlookup Question..if text lookup_value do not match with table

I'm glad to hear that, Lorenzo - thanks for feeding back.

Pete

On Jun 30, 5:15*pm, ldiaz wrote:
Hi Pete.
I got your formula, and it works great!.
Thank you so much for your help on this issue.

Have a nice day.

--
Lorenzo Díaz
Cad Technician



"Pete_UK" wrote:
Yes, I said I'd get back to you. Spain beat Germany 1-0, so I wasn't
really rooting for either side.


Try something like this in B2:


=IF(ISNA(VLOOKUP(LEFT(A2,LEN(A2)-2)&"xx",Sheet2!A:B,2,0)),
IF(ISNA(VLOOKUP(LEFT(A2,LEN(A2)-7)&"xx-"&RIGHT(A2,4),Sheet2!A:B,
2,0)),"not present",
VLOOKUP(LEFT(A2,LEN(A2)-7)&"xx-"&RIGHT(A2,4),Sheet2!A:B,2,0)),
VLOOKUP(LEFT(A2,LEN(A2)-2)&"xx",Sheet2!A:B,2,0))


This is all one formula - be wary of spurious line-breaks when it
appears in your newsgroup Reader.


Hope this helps.

 
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
match largest value that is exactly equal to lookup_value birchin Excel Worksheet Functions 2 February 15th 08 05:24 AM
vlookup lookup_value ATIHelp Excel Worksheet Functions 5 July 18th 07 07:12 AM
Vlookup(lookup_value) TSulit Excel Worksheet Functions 1 February 22nd 07 04:23 PM
Can Index/Match pull lookup_value from a combo box? Ruben Torrez Excel Discussion (Misc queries) 2 January 11th 07 05:01 PM
vlookup:same lookup_value, different returns Biff Excel Worksheet Functions 2 December 16th 05 01:00 AM


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