+ Reply to Thread
Results 1 to 6 of 6

Vlookup N/A formatting Issue

  1. #1
    Registered User
    Join Date
    11-07-2010
    Location
    tel aviv, Israel
    MS-Off Ver
    Excel 2003
    Posts
    2

    Vlookup N/A formatting Issue

    For a while I have a problem using Vlookup
    Sometimes when I want to compare two different columns sent to me by two different sources the Vlookup come back with N/A although I know and see the date is matching.

    I know its a formatting problem but I can not fix it
    Retyping solve it but its crazy
    Also when I copy only the exact phrase from the function row its works.

    I am using office 2003

    I attached an example where I try to compare between column A to B
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor squiggler47's Avatar
    Join Date
    02-17-2009
    Location
    Littleborough, UK
    MS-Off Ver
    Excel 3.0 to 2007+2010! (couldnt get 2.1 working)
    Posts
    1,013

    Re: Vlookup N/A formatting Issue

    Not sure exactly why, i'm guessing that there is an extra character perhaps char(160) in column A!

    Try


    =VLOOKUP(B2,A$1:A$2257,1,TRUE)
    Regards
    Darren

    Update 12-Nov-2010 Still job hunting!

    If you are happy with the results, please add to our reputation by clicking the blue scales icon in the blue bar of the post.

    Learn something new each day, Embrace change do not fear it, evolve and do not become extinct!


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

    Re: Vlookup N/A formatting Issue

    nope there is a strange char, it shows as char 63 but its not so its probably from some other code set
    i cant delete it but you could use
    =VLOOKUP(MID(B1,2,LEN(B1)-2),A$1:A$2257,1,FALSE)
    Last edited by martindwilson; 11-07-2010 at 07:44 AM.
    "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

  4. #4
    Valued Forum Contributor squiggler47's Avatar
    Join Date
    02-17-2009
    Location
    Littleborough, UK
    MS-Off Ver
    Excel 3.0 to 2007+2010! (couldnt get 2.1 working)
    Posts
    1,013

    Re: Vlookup N/A formatting Issue

    yes it looks like column B starts with an extra invisible character!

    place this in D3 and copy across to S4
    =CODE(MID($B1,COLUMN()-3,1))

    and this in D4 to S4
    =CODE(MID($A2,COLUMN()-3,1))

    Notice the first cell is different, all the rest match offset by one, this is why you get no result the strings are different!

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

    Re: Vlookup N/A formatting Issue

    to delete it
    put = left(b1,1) in a spare cell
    then copy it
    open find replace
    select find
    paste in with ctrl +v
    leave replace field blank
    replace all

  6. #6
    Registered User
    Join Date
    11-07-2010
    Location
    tel aviv, Israel
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Vlookup N/A formatting Issue

    Thank you!!!!!!!!!!!!!!

    Its works

    Thank you!!!!!!!!!!!










    Quote Originally Posted by martindwilson View Post
    to delete it
    put = left(b1,1) in a spare cell
    then copy it
    open find replace
    select find
    paste in with ctrl +v
    leave replace field blank
    replace all

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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