View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.misc
Adilson Soledade Adilson Soledade is offline
external usenet poster
 
Posts: 19
Default 'RIGHT', 'LEFT' in a VLOOKUP

It's possible if you use the functions MATCH and INDEX togheter in an array
formulas (CRTL+SHIF+ENTER) as follow,
=INDEX(Return_Column,CORRESP(SKU,RIGHT(UPC_Column, 5),0))
--
Adilson Soledade


"RJB" wrote:

I have a table of five digit SKU numbers that I need to cross-reference with
a list of UPC numbers and sales data.

The last five digits of the UPC number are the SKU number.

So my VLOOKUP is basically

VLOOKUP (SKU, 'Sheet with UPC information'! UPC column:Price column, 2, false)

To make that work, I need to actually add a column BEFORE the UPC column
that's really RIGHT (UPC Column, 5).

But I have lots of files, and don't want to save changes to them (they're
not mine).

Is there a way to do the VLOOKUP in a way that's essentially,

VLOOKUP (SKU, 'Sheet with UPC information'! RIGHT (UPC Column,5):Price
column, 2, false)?