+ Reply to Thread
Results 1 to 2 of 2

Thread: Omit error when no value present

  1. #1
    Registered User
    Join Date
    09-16-2008
    Location
    Jersey
    Posts
    27

    Omit error when no value present

    Hi Guys
    I am trying to omit Formula errors while using the VLOOKUP funtion, i tried to use IF and AND funtions but to no avail. This is the formula i am using and i want it to return a "0" if it doesnt find the B3 value on The X3 colun.
    =VLOOKUP(B3,Data!$X$3:$Y$200,2,FALSE)
    I have also tried with conditional formating, am I missing something?

    Many thanks
    Jsantos
    Last edited by jsantos; 04-18-2011 at 03:31 PM. Reason: Posted under wrong section

  2. #2
    Forum Guru TMShucks's Avatar
    Join Date
    07-15-2010
    Location
    Manchester, England
    MS-Off Ver
    MSO 2003 & 2007
    Posts
    6,256

    Re: Omit error when no value present

    What version of Excel are you using ... you should update your profile.

    2003

    =IF(ISNA(VLOOKUP(B3,Data!$X$3:$Y$200,2,FALSE)),0,VLOOKUP(B3,Data!$X$3:$Y$200,2,FALSE)
    )


    2007

    =IFERROR(VLOOKUP(B3,Data!$X$3:$Y$200,2,FALSE),0)


    Regards

+ 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.2.0