+ Reply to Thread
Results 1 to 5 of 5

Vlookup not using unique search values

  1. #1
    Registered User
    Join Date
    05-17-2013
    Location
    Hampshire
    MS-Off Ver
    Excel 2007
    Posts
    4

    Vlookup not using unique search values

    I have a list of several thousand product codes and prices in two columns as below

    15513DU1TTDunlopDU SP STREETRESPONSE 79T 100.46
    15513MN1TTMichelinMN ENERGY E3B GX 79T 103.54
    1556514AV5TTAvonAV ZT5 75T 106.62
    1556514DU2TTDunlopDU STREETRESPONSE 2 75T 109.77
    1556514MN3TTMichelinMN ENERGY E3B 75T 112.78
    1655015BR1VVBridgestoneBR RE040 73V>> 115.86
    1656014AV3HHAvonAV ZV3 75H 118.94

    the supplier often changes part of the code usually the make or pattern so using vlookup to find the code and associated price will not always work. Due to the quantity I cannot do this manually.

    I have a list of stockcodes which is the first set of characters (between 7 to 17 characters) which does not change.
    15513DU1T
    15513MN1T
    1556514AV5T
    1556514DU2T
    1556514MN3T
    1655015BR1V
    1656014AV3H

    My question is, is there anyway I can use my master stockcode (short version) list to search within the product list and return the associated value??

    I hope I have explained it well enough
    thanks
    David

  2. #2
    Valued Forum Contributor Melvinrobb's Avatar
    Join Date
    06-19-2012
    Location
    Manitoba, Canada
    MS-Off Ver
    Excel 2013
    Posts
    1,128

    Re: Vlookup not using unique search values

    would using a wildcard in the vlookup work?
    =vlookup(a2&"*",......
    Please click the * icon below if I have helped.

  3. #3
    Registered User
    Join Date
    05-17-2013
    Location
    Hampshire
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Vlookup not using unique search values

    Melvin
    thanks for that, I have tried using a wildcard before but it is knowing where to put it and how to use it, and I simple didn't know how
    But your info worked brilliantly
    thank you

  4. #4
    Registered User
    Join Date
    05-06-2013
    Location
    fort lauderdale
    MS-Off Ver
    Excel 2010
    Posts
    1

    Re: Vlookup not using unique search values

    I have a related question. I have rows of unique data and want to look up the value in the row, then return value from same row, next column. The column of the value being looked up changes.

    Ex:
    Row 1: Name: Jim Email: j@example.com Phone:xxxxxxx
    Row 2: Name: Jane About her: Jane xxxx Email: jane@example.com Phone:xxxxx

    What I need is a way to find "Email" and "Phone" and return value of column same row, one spot to the right.

    Sorry if not posting in right place, not sure where to post. Thanks!

  5. #5
    Valued Forum Contributor Melvinrobb's Avatar
    Join Date
    06-19-2012
    Location
    Manitoba, Canada
    MS-Off Ver
    Excel 2013
    Posts
    1,128

    Re: Vlookup not using unique search values

    You need to start a new post with this question. I would upload a sample workbook with some mock data, showing an example of what you would want the formulas to return in a specific instance.
    i am confident you will get a quick response with a new post.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Search unique values in multiple sheets
    By Luc Bosman in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-21-2014, 03:17 PM
  2. help required how can IF THEN VLOOKUP be used to get unique values
    By liza2013 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-19-2013, 07:15 AM
  3. Using vlookup for non-unique first and last values
    By siddhu666 in forum Excel General
    Replies: 4
    Last Post: 11-28-2011, 03:11 AM
  4. Count Unique values with vlookup
    By gsrai31 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-28-2011, 03:00 PM
  5. Search and paste unique values
    By TomBP in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-10-2007, 09:55 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1