+ Reply to Thread
Results 1 to 5 of 5

How to vlookup with long item description

  1. #1
    Forum Contributor
    Join Date
    07-16-2012
    Location
    Fort Worth, Texas
    MS-Off Ver
    Excel 2010
    Posts
    378

    How to vlookup with long item description

    Hello,

    I'm trying to Vlookup the value below and got errors all the time. The only thing that I think of was separating the item number out of the long text. However, this data was pulled from Oracle and it will overwrite the data to long text again when I refresh the system. Please advise and help.

    17001~CHKIT ULTRA BALL2-PKMED

  2. #2
    Valued Forum Contributor
    Join Date
    02-07-2013
    Location
    Philippines
    MS-Off Ver
    Excel Online; 365
    Posts
    633

    Re: How to vlookup with long item description

    vlookup should work as long as the lookup value is in the source table

    you need to post a sample file so we can help you better
    Last edited by bhenlee; 07-22-2015 at 11:31 AM.
    If I've helped U pls click on d *Add Reputation

  3. #3
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,426

    Re: How to vlookup with long item description

    I think the problem might be the symbol "~". This is used in many Excel formulae as an "escape" character, which allows you to look for wildcard characters as literal texts.

    Are the first five digits unique? If so you could do this with your formula:

    =VLOOKUP(LEFT(A1,5)&"*",table,column,FALSE)

    as VLOOKUP allows you to use wildcards.

    Hope this helps.

    Pete

  4. #4
    Forum Contributor
    Join Date
    07-16-2012
    Location
    Fort Worth, Texas
    MS-Off Ver
    Excel 2010
    Posts
    378

    Re: How to vlookup with long item description

    Thank you, your suggestion is accurate. I modified the formula a bit but it got it worked out.

    =VLOOKUP(LEFT(E16,FIND("~",E16)-1)&"*",$A:$B,2,FALSE)

  5. #5
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,426

    Re: How to vlookup with long item description

    Yes, I wasn't sure if it was always 5 digits, but glad you reached a solution.

    Pete

+ 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. connecting cells (item no./item description)
    By Star Displays in forum Excel General
    Replies: 4
    Last Post: 06-23-2015, 03:51 AM
  2. Align an item name from its short description via keywords
    By kissmydrone in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-21-2014, 03:55 AM
  3. Replies: 2
    Last Post: 10-14-2014, 07:12 AM
  4. Filter column “A” by “item” and take lenght of description
    By aleanboy in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-16-2014, 12:28 PM
  5. [SOLVED] Item Description
    By Aussie1 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-28-2013, 05:35 PM
  6. Replies: 5
    Last Post: 07-26-2011, 10:35 PM
  7. Pivot Table Calculated Item-ALL description value
    By Dominic in forum Excel General
    Replies: 1
    Last Post: 04-26-2006, 06:55 PM

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