+ Reply to Thread
Results 1 to 3 of 3

VLOOKUP mis-interpretes lookup value

  1. #1
    Registered User
    Join Date
    06-12-2015
    Location
    Rochester, NY
    MS-Off Ver
    2007
    Posts
    2

    VLOOKUP mis-interpretes lookup value

    I have a spreadsheet that uses VLOOKUP to to pull data from price sheets. I punch in the part number and it returns the product name and pricing into the columns next to it. I've simplified the spreadsheet for this example to make things easier.

    The problem is when I enter value CLLEDRGB*R, it pulls the information from CLLEDRGB*CR. The two values are not next to each other in the TABLE ARRAY and I have the RANGE set to False so it can only find exact matches.

    TS Pricing Worksheet Updated June 12th, 2015.xlsx

    Column A is the where I punch in the part number and Column B is where it returns the name. When I enter "CLLEDRGB*R" in Column A, Column B should return "12V RGB Tape Light 12" Segment 20' Reel, 20 PCS TLT12V1RGB12R". But it returns information as if I entered "CLLEDRGB*CR".

    Any ideas?

    Thanks,

    Kevin

  2. #2
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: VLOOKUP mis-interpretes lookup value

    The issue you're having is caused by the wildcards in your search term. In Excel, an asterisk (*) indicates a match of zero or more of any characters/numbers.
    You'll need to indicate to Excel that you want the wildcard evaluated literally by putting a tilde (~) in front of it.

    Using your posted workbook, try this formula, copied down:
    Please Login or Register  to view this content.
    Is that something you can work with?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  3. #3
    Registered User
    Join Date
    06-12-2015
    Location
    Rochester, NY
    MS-Off Ver
    2007
    Posts
    2

    Re: VLOOKUP mis-interpretes lookup value

    PERFECT! Thank you so much!

+ 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. [SOLVED] VLOOKUP, 2 lookup values; then sum the lookup returned
    By pricepeeler in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 10-17-2014, 03:17 PM
  2. How to use vlookup if value of lookup cell is same in lookup range
    By anujteetwal in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-09-2014, 05:15 AM
  3. Lookup within a Vlookup
    By jozz90 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 08-02-2013, 11:04 AM
  4. Excel 2007 : Lookup/Vlookup using two Lookup values
    By Rick K in forum Excel General
    Replies: 4
    Last Post: 09-16-2010, 02:16 PM
  5. Lookup without VLOOKUP?
    By J in forum Excel - New Users/Basics
    Replies: 6
    Last Post: 11-17-2005, 03:00 AM

Tags for this Thread

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