Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Kevin Vaughn
 
Posts: n/a
Default Altering VLookup Formula

The following array entered formula (cntl-shift-enter) worked for me: Note,
if value not found it will return #N/A which you could handle by, for
instance, wrapping the formula in the ISNA function:

=INDEX($B$2:$B$6,MATCH(LEFT(B12,5) & RIGHT(B12,2),LEFT($A$2:$A$6,5) &
RIGHT($A$2:$A$6,2),0),1)

B2:b6 is the range you want returned, A2:a6 is the lookup range (R0502AA01)
and b12 is the lookup value (R0502--01)

--
Kevin Vaughn


"addie" wrote:


How would I alter a v-lookup formula to recognize specific characters
within a field?

Example:
Data Field has the following 9 characters "R0502AA01.

Can V-lookup only pick up or recognize the following 7 characters
"R0502--01?

How would a v-lookup formula pick up the 1st - 5th and 8th - 9th
characters and bypass the 6th & 7th characters?


Addie


--
addie
------------------------------------------------------------------------
addie's Profile: http://www.excelforum.com/member.php...o&userid=25526
View this thread: http://www.excelforum.com/showthread...hreadid=513012


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
Vlookup formula Excel version 2002 biz Excel Discussion (Misc queries) 0 September 7th 05 01:07 AM
Cconditional formatting on cells containing a VLOOKUP formula? Tony Goossens Excel Discussion (Misc queries) 1 September 1st 05 09:56 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 07:48 PM
Values won't display after altering a formula. Mike O Excel Worksheet Functions 1 March 13th 05 11:21 PM
IF & VLOOKUP FORMULA taxmom Excel Worksheet Functions 3 March 2nd 05 03:35 PM


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