+ Reply to Thread
Results 1 to 4 of 4

V Lookup nil return value

  1. #1
    Registered User
    Join Date
    02-27-2007
    Posts
    29

    V Lookup nil return value

    i am creating a business day list to pull figures from a table, im using vlookup for this and it is returning public holidays in a #NA value as it cant find the values in the table, is there any way how i can just make it return a 0 value instead as the #NA is mucking up proceeding formulas...

    be much help if you can provide assistance...
    cheers

  2. #2
    Forum Contributor
    Join Date
    03-14-2006
    Location
    Pakistan
    Posts
    1,791

    Lightbulb

    Quote Originally Posted by Dave_A
    i am creating a business day list to pull figures from a table, im using vlookup for this and it is returning public holidays in a #NA value as it cant find the values in the table, is there any way how i can just make it return a 0 value instead as the #NA is mucking up proceeding formulas...

    be much help if you can provide assistance...
    cheers
    =if(iserror(your_formula),0,(your_formula))

    replace "your_formula" with actual VLOOKUP formula you use.

    here is example

    =IF(ISERROR(VLOOKUP(D2,$A$1:$C$12,3,FALSE)),0,(VLOOKUP(D2,$A$1:$C$12,3,FALSE)))

  3. #3
    Registered User
    Join Date
    02-27-2007
    Posts
    29
    i love this forum, it worked perfectly...

    thank u

  4. #4
    Forum Contributor
    Join Date
    03-14-2006
    Location
    Pakistan
    Posts
    1,791

    Lightbulb

    Quote Originally Posted by Dave_A
    i love this forum, it worked perfectly...

    thank u
    pleased that your problem solved.

+ 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