+ Reply to Thread
Results 1 to 4 of 4

Remove "0" from vlookup results

  1. #1
    Registered User
    Join Date
    02-12-2008
    Posts
    13

    Remove "0" from vlookup results

    Hi All,

    I am currently using a vlookup to display financial information for the year.

    I'm using ISNA to remove #N/A when results arent available but I would also like to remove the number "0" when this result is returned as I would like to run an AVERAGE formula for the months with data and obviously the 0 skews this result.

    The formula I currently use is:

    =IF(ISNA(VLOOKUP(B4,'[2008 Client Portfolio.xls]Sheet1'!$A$5:$S$1319,8,FALSE)),"",VLOOKUP(B4,'[2008 Client Portfolio.xls]Sheet1'!$A$5:$S$1319,8,FALSE))
    Thanks for your help

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Try:

    Please Login or Register  to view this content.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    02-12-2008
    Posts
    13
    That formula still returns a #N/A im afraid, I actually had a go myself using another IF formula and found that this works:

    =IF(IF(ISNA(VLOOKUP(B13,'[2008 Client Portfolio.xls]Sheet1'!$A$5:$S$1319,8,FALSE)),"",VLOOKUP(B13,'[2008 Client Portfolio.xls]Sheet1'!$A$5:$S$1319,8,FALSE))=0,"",IF(ISNA(VLOOKUP(B13,'[2008 Client Portfolio.xls]Sheet1'!$A$5:$S$1319,8,FALSE)),"",VLOOKUP(B13,'[2008 Client Portfolio.xls]Sheet1'!$A$5:$S$1319,8,FALSE)))
    Its quite long winded so if anyone has any suggestions on cutting it down that would be appreciated.

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Perhaps then:

    Please Login or Register  to view this content.

+ 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