LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 43
Default Index/Matching in combination w/Right()

I'd use a function within the MATCH to force your 4-digit code to match the
codes in your table... So if your table's codes are 6-digit text strings,
then instead of matching A13, I'd match "00" & A13. (I'm guessing that the
codes are six digits of text, rather than numbers formatted as "000000", or
you probably wouldn't be having an issue).
Also, if the 'key value' you're looking up is in colum A and the value
you're returning in column B, you could use a vlookup rather than
index/match:
=vlookup("00"&A13,JobCodes!$A$2:$B$65,2,0)

"ShagNasty" wrote:

I have a spreadsheet worksheet used as €ślookup€ť table where Col A2:A65 =
JCodes and Col B2:B65 = JDesc. Job Code is a €śgeneral€ť field with JCodes
formatted as 004455, 000333, etc. (two leading 0s with each JCode). On
another worksheet I enter the JCode to get the JDesc using the six character
JCode (=INDEX(JobCodes!$B$2:$B$65,MATCH(A13,JobCodes!$A$ 2:$A$65,0)). I want
to use just the last 4 characters to return the JDesc (maybe using the
€śright()€ť function). Anywho, I havent had much luck except to get error or
value messages. Please help..

 
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
Index match combination rhhince[_2_] Excel Worksheet Functions 4 April 25th 09 08:51 AM
Index / match combination Andrew Excel Discussion (Misc queries) 8 April 23rd 09 12:09 AM
Combination...SumProduct, Index, Match? Monte Excel Worksheet Functions 4 July 16th 08 08:07 AM
index and matching in userform! via135 Excel Discussion (Misc queries) 4 January 30th 07 03:07 AM
matching a combination of numbers mike Excel Discussion (Misc queries) 2 June 28th 06 09:56 PM


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