+ Reply to Thread
Results 1 to 11 of 11

Compatibility issue?

  1. #1
    Registered User
    Join Date
    01-14-2013
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    18

    Compatibility issue?

    Ok, I have a doc that was created in excel 2010(or was it 2007?) and I have it opened in excel 2013.
    I am running a Vlookup but returning a value of N/A. I make sure that the cell in both worksheets used in the Vlookup are formatted the same way, everything is spelled exactly the same etc.. The only thing that makes the formula works is if I copy and paste the common identifier from one sheet to the other. I cant for the life of me figure out what is different in each cell so I have to assume its a compatibility issue. Anyone know if this is the case, and if so, how I can fix it so that I dont have to copy and paste forever?

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

    Re: Compatibility issue?

    there is no compatability issue with vlookup between versions


    Attach a sample workbook. Make sure there is just enough data to make it clear what is needed. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are demonstrated, mock them up manually if needed. Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic
    "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
    Registered User
    Join Date
    01-14-2013
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    18

    Re: Compatibility issue?

    OK attached is the file.
    I simplified it and changed real names.

    there are 2 sheets
    As you can see, some of the last names on sheet1 dont match up with the accurate records on sheet2.

    For the ones that don't match up, copy and paste the correct firstname from sheet2 and override the existing matching first name in sheet1
    You'll see that now the last name shows correctly. But can you figure out what changed in the cell?? Also, I have TRUE so the match shouldnt need to be exact anyway.

    Thanks!
    Attached Files Attached Files

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

    Re: Compatibility issue?

    there are spaces after david and shua on sheet2 so they don't match
    also true only works if sorted ascending which they are but as david doesn't match david(space) it returns the one before it ie benny which is smith
    same for shua it finds nathan therefore kennedy
    also sheet 1 has spaces after jordan and dove but so does sheet 2 therefore they match
    Last edited by martindwilson; 03-06-2014 at 11:25 PM.

  5. #5
    Registered User
    Join Date
    01-14-2013
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    18

    Re: Compatibility issue?

    Thank you !
    How do I see the spaces? and how do I remove the spaces? Or is there a way to not count spaces after the last letter in a string?

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

    Re: Compatibility issue?

    select the columns with the spaces .then
    data/text to columns/fixed width
    click next
    double click any break line (if any show) to remove them
    click finish

  7. #7
    Registered User
    Join Date
    01-14-2013
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    18

    Re: Compatibility issue?

    Thanks for the help! One more question:
    I now want to past the additional fields that correspond to the row in which I performed the vlookup on. So in sheet 2 of the attached doc in the thread, columns c, d, e should also be pasted into sheet1 in columns c, d, e

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

    Re: Compatibility issue?

    change the column number in the vlookup in each one
    =VLOOKUP(A2,Sheet2!$A$1:$E$9,3,FALSE) returns from c

  9. #9
    Forum Contributor
    Join Date
    01-30-2011
    Location
    Vancouver, Canada
    MS-Off Ver
    Excel 2010
    Posts
    604

    Re: Compatibility issue?

    Use the TRIM function in your lookup data to remove the spaces. I created an extra column for you in Sheet2, see "BLUE".
    Attached Files Attached Files

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

    Re: Compatibility issue?

    if you were using trim no need for helpers
    =INDEX(Sheet2!B:B,MATCH(TRIM(A2),INDEX(TRIM(Sheet2!A:A),0),0))

  11. #11
    Forum Contributor
    Join Date
    01-30-2011
    Location
    Vancouver, Canada
    MS-Off Ver
    Excel 2010
    Posts
    604

    Re: Compatibility issue?

    ^^Thanks, I didn't know you could trim a column like that.

+ 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. Compatibility issue with Excel 2013
    By kinokino in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 09-02-2013, 04:17 AM
  2. 2007 Compatibility issue
    By longreach in forum Excel General
    Replies: 0
    Last Post: 11-08-2007, 06:21 AM
  3. Office2003 - Office2000 compatibility issue?
    By matpj in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-31-2007, 03:08 AM
  4. Code compatibility issue
    By iamrajy in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-17-2005, 03:05 PM
  5. [SOLVED] Compatibility issue? Excel97/2003
    By HBj in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-03-2005, 06:06 PM

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