+ Reply to Thread
Results 1 to 3 of 3

Using Index Match or Vlookup giving unexpected results on imported data

  1. #1
    Forum Contributor
    Join Date
    10-16-2010
    Location
    Memphis, TN
    MS-Off Ver
    Excel 2003, 2010
    Posts
    151

    Using Index Match or Vlookup giving unexpected results on imported data

    Greetings all

    I have been struggling with this most of the day and do not see any reason for the results I am getting. I have some data that has been imported from the company database and I am trying to look up related part numbers from an separate Excel workbook. I have tried Vlookup and Index Match to do the lookup but nothing seems to work. I keep getting a #N/A error.

    If I retype the imported values the lookups work, but doing a copy paste values doesn't nor does changing the number format of the imported numbers.

    In the attached workbook, the values in column A were imported from the company database and the resulting table converted to a range (after the lookup didn't work on the data formatted as a table). This is just a sample of the data being imported and it is something that I need to be able to turn over to someone else to run so retyping the numbers really isn't an option.

    The workbook is in Excel 2010

    Any help will be greatly appreciated!

    Thanks
    Attached Files Attached Files
    Last edited by jacob@thepenpoint; 07-03-2012 at 05:50 PM.
    Jacob Albers
    Excel 2003 & 2010

  2. #2
    Forum Guru martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Using Index Match or Vlookup giving unexpected results on imported data

    there are trailing spaces in col a try
    =INDEX($P$6:$P$25,MATCH(TRIM(A6),O6:O25,0))
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Forum Contributor
    Join Date
    10-16-2010
    Location
    Memphis, TN
    MS-Off Ver
    Excel 2003, 2010
    Posts
    151

    Re: Using Index Match or Vlookup giving unexpected results on imported data

    That does the trick he says slapping himself in the head! Thanks so much, I've been at a loss all day with this thing!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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