+ Reply to Thread
Results 1 to 4 of 4

VLOOKUP Returning Blank OR Zeros ?

  1. #1
    Registered User
    Join Date
    07-19-2006
    Posts
    21

    VLOOKUP Returning Blank OR Zeros ?

    Hello,

    I have a VLOOKUP function that should return a "1", "2", "4", "0", or a null value. (Don't ask about the order of those numbers - my dept is messed up.)

    The problem is, that any null values that are returned are then displayed as 0, which doesn't allow me to differentiate between the different values.

    How do I ensure that nulls are returned as null and 0's are 0. I have no problems with any of the other numbers.

    Thank you very much in advance for your help!
    -Will

    PS - here's the formula, if you're wondering:
    =VLOOKUP(A85,Projects!$A$8:$M$1000,9,FALSE)

  2. #2
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    Does this work?

    =VLOOKUP(A85,Projects!$A$8:$M$1000>0,9,FALSE)
    oldchippy
    -------------


    Blessed are those who can give without remembering and take without forgetting

    If you are happy with the help you have received, please click the <--- STAR icon on the left - Thanks.

    Click here >>> Top Excel links for beginners to Experts

    Forum Rules >>>Please don't forget to read these

  3. #3
    Forum Contributor
    Join Date
    10-27-2006
    Location
    United Kingdom
    MS-Off Ver
    EXCEL 2003 (2007 at home)
    Posts
    517
    The best I could come up with is:

    =IF(ISBLANK(VLOOKUP(C4,B6:C14,2,FALSE)),"",VLOOKUP(C4,B6:C14,2,FALSE))

  4. #4
    Registered User
    Join Date
    07-19-2006
    Posts
    21
    Thanks OldChippy, but that didn't work.

    I tried Mark@Work's technique and that seemed to do it for me!

    Thanks to both of you for your help!

+ 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