+ Reply to Thread
Results 1 to 5 of 5

Vlookup Help

  1. #1
    Registered User
    Join Date
    04-06-2006
    Posts
    2

    Vlookup Help

    I'm using a simple vlookup. The values I want results for (on the very left of my array) apparently do not have the same format as the ones I am looking up.

    If I want them to produce a result, I have to copy and paste as a value in the array and only then will my vlookup will work.

    It's not a formatting issue - because I've checked formats and they're both General.

    Is there a way to make them comparable? Any help would be greatly appreciated.

  2. #2
    Forum Contributor
    Join Date
    03-13-2005
    Posts
    6,195
    Is there a reason you would not simply Copy the whole column, and Paste Special, Values back over itsself?

    ie, is the array changeable? - and if so how is the data created?

    --

    Quote Originally Posted by alisyed
    I'm using a simple vlookup. The values I want results for (on the very left of my array) apparently do not have the same format as the ones I am looking up.

    If I want them to produce a result, I have to copy and paste as a value in the array and only then will my vlookup will work.

    It's not a formatting issue - because I've checked formats and they're both General.

    Is there a way to make them comparable? Any help would be greatly appreciated.

  3. #3
    Registered User
    Join Date
    07-17-2005
    Posts
    22
    I had a similar problem just today. The value I was looking up was formatted as text - even though Excel indicated it was a number in the Format>>Cells menu.

    There is probably a simpler way to fix the problem...but I used a working cell =VALUE(CellReference) and used that cell for the vlookup instead...

    Hope this helps. But yes....the common sense approach is copy/paste values....wish I had thought of that

    /systematic

  4. #4
    Registered User
    Join Date
    04-06-2006
    Posts
    2
    yeah, i cant just copy and paste as values since the data is not in the same order...

  5. #5
    Gord Dibben
    Guest

    Re: Vlookup Help

    Simply formatting the cells as Number or General is not sufficient if Excel
    believes they are text.

    Select an empty cell formatted as Number and Edit>Copy.

    Select your range of data and Paste Special>Add>OK>Esc to coerce the data to
    Numbers.


    Gord Dibben MS Excel MVP


    On Thu, 6 Apr 2006 06:36:44 -0500, alisyed
    <[email protected]> wrote:

    >
    >I'm using a simple vlookup. The values I want results for (on the very
    >left of my array) apparently do not have the same format as the ones I
    >am looking up.
    >
    >If I want them to produce a result, I have to copy and paste as a value
    >in the array and only then will my vlookup will work.
    >
    >It's not a formatting issue - because I've checked formats and they're
    >both General.
    >
    >Is there a way to make them comparable? Any help would be greatly
    >appreciated.


    Gord Dibben MS Excel MVP

+ 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