Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default vlookup - matching where codes are not exact

Hi

I need to match product codes from multiple spreadsheets and am using
vlookup. Have been succesful up to now but have now hit a point where the
data is not clean. So a product code on sheet 1 = abc1xyz whilst on sheet 2
the same product = abc1(xyz).

Unfortunately, there are multiple products with very similar names so the
use of [true] would appear to be problematic.

ANy ideas?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default vlookup - matching where codes are not exact

You could use

VLOOKUP(LEFT(A1,4)&"*", ... etc

instead of

VLOOKUP(A1, ... etc

to obtain a match on the first four characters of A1, but if you have
multiple codes that begin with the same 4 characters this will only
find the first match.

Hope this helps.

Pete

On Nov 18, 4:57 pm, reesrob wrote:
Hi

I need to match product codes from multiple spreadsheets and am using
vlookup. Have been succesful up to now but have now hit a point where the
data is not clean. So a product code on sheet 1 = abc1xyz whilst on sheet 2
the same product = abc1(xyz).

Unfortunately, there are multiple products with very similar names so the
use of [true] would appear to be problematic.

ANy ideas?


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 347
Default vlookup - matching where codes are not exact

Hi,

To get an exact match use FALSE or 0

HTH
Jean-Guy

"reesrob" wrote:

Hi

I need to match product codes from multiple spreadsheets and am using
vlookup. Have been succesful up to now but have now hit a point where the
data is not clean. So a product code on sheet 1 = abc1xyz whilst on sheet 2
the same product = abc1(xyz).

Unfortunately, there are multiple products with very similar names so the
use of [true] would appear to be problematic.

ANy ideas?

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 - Multiple Rows with Exact Matching Column 1 Howeecow Excel Discussion (Misc queries) 2 June 4th 07 08:59 PM
Look up a value in a table using both exact and approx matching Elbowes Excel Worksheet Functions 8 February 14th 07 05:43 PM
Return across Row Numeric Values Matching EXACT Month & Year for Criteria Sam via OfficeKB.com Excel Worksheet Functions 8 October 22nd 06 11:30 PM
Return Numeric Values Matching EXACT Date for Criteria Sam via OfficeKB.com Excel Worksheet Functions 4 October 20th 06 11:20 PM
matching a sorting the exact value in the data list Steve M Excel Discussion (Misc queries) 1 June 16th 05 08:38 PM


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