+ Reply to Thread
Results 1 to 5 of 5

Error? VLOOKUP returns 0 instead of proper value.

  1. #1
    Registered User
    Join Date
    09-25-2010
    Location
    Echo Park
    MS-Off Ver
    Excel 2007
    Posts
    32

    Exclamation Error? VLOOKUP returns 0 instead of proper value.

    I am having a very weird problem with the table in the attached file.

    The table contains 5 columns titled INFO 1-5.

    When I code a VLOOKUP function, some of the columns return the proper value. However, some of the columns return a 0 .

    No matter what I type in the column, or even if I paste this table in a new document, I cannot get the proper value to show.

    Does anyone know why? and how to solve this?!
    Attached Files Attached Files
    Last edited by Hatchiman; 10-18-2010 at 02:43 AM.

  2. #2
    Forum Contributor
    Join Date
    05-29-2009
    Location
    Kalgoorlie Australia
    MS-Off Ver
    Excel 2007/10
    Posts
    251

    Re: Error? VLOOKUP returns 0 instead of proper value.

    hello h
    what are you trying to look up, were did you want the formula
    regards
    peter

  3. #3
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,596

    Re: Error? VLOOKUP returns 0 instead of proper value.

    Because you have merged cells (which I hate above all )

    Try 8 instead of 4

    =VLOOKUP(value, table, 8, FALSE)

  4. #4
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Error? VLOOKUP returns 0 instead of proper value.

    Why have you merged the cells in every row? You are creating a massive problem for yourself.

    =VLOOKUP(value,table,11,0)

    Will give you the answer I think your formula is asking for.

    What are you trying to get?

    [EDIT]
    Try this workbook
    based on this

    =VLOOKUP(value,table,COLUMN(),0)

    Seect a value from the dropdown in A28
    Attached Files Attached Files
    Last edited by Marcol; 10-17-2010 at 07:35 AM. Reason: Attachment added
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

  5. #5
    Registered User
    Join Date
    09-25-2010
    Location
    Echo Park
    MS-Off Ver
    Excel 2007
    Posts
    32

    Re: Error? VLOOKUP returns 0 instead of proper value.

    I'm smacking my head! Merged layers?! How did I not notice such a trivial thing.
    I simply unmerged them and everything works great now.

    Thank you gentlemen (or ladies).

+ 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