+ Reply to Thread
Results 1 to 7 of 7

vlookup, but ignore errors if #n/a

  1. #1
    db
    Guest

    RE: vlookup, but ignore errors if #n/a

    Yep -

    =IF(ISERROR(VLOOKUP(...)),0,VLOOKUP(...))

    --
    Regards,
    db


    "Jess" wrote:

    > I have 2 worksheets and I am using the vlookup to pull data from worksheet 2
    > for worksheet 1. Then, on worksheet 1, I am using the sum function to add the
    > numbers together.
    >
    > However, there are several cells on worksheet 1 that have #n/a because there
    > is no information on worksheet 2 to pull from. This causes an issue with the
    > sum function. Is there a way to have these cells change from #n/a to zero or
    > null?


  2. #2
    chisigs2
    Guest

    Re: vlookup, but ignore errors if #n/a

    try something like this.... I use this one not sure it will work in a
    vlookup though

    =IF(N(F13),H13-H12,0)


  3. #3
    Aladin Akyurek
    Guest

    Re: vlookup, but ignore errors if #n/a

    =SUMIF(Range,"<>#N/A")

    Jess wrote:
    > I have 2 worksheets and I am using the vlookup to pull data from worksheet 2
    > for worksheet 1. Then, on worksheet 1, I am using the sum function to add the
    > numbers together.
    >
    > However, there are several cells on worksheet 1 that have #n/a because there
    > is no information on worksheet 2 to pull from. This causes an issue with the
    > sum function. Is there a way to have these cells change from #n/a to zero or
    > null?


  4. #4
    Jess
    Guest

    vlookup, but ignore errors if #n/a

    I have 2 worksheets and I am using the vlookup to pull data from worksheet 2
    for worksheet 1. Then, on worksheet 1, I am using the sum function to add the
    numbers together.

    However, there are several cells on worksheet 1 that have #n/a because there
    is no information on worksheet 2 to pull from. This causes an issue with the
    sum function. Is there a way to have these cells change from #n/a to zero or
    null?

  5. #5
    db
    Guest

    RE: vlookup, but ignore errors if #n/a

    Yep -

    =IF(ISERROR(VLOOKUP(...)),0,VLOOKUP(...))

    --
    Regards,
    db


    "Jess" wrote:

    > I have 2 worksheets and I am using the vlookup to pull data from worksheet 2
    > for worksheet 1. Then, on worksheet 1, I am using the sum function to add the
    > numbers together.
    >
    > However, there are several cells on worksheet 1 that have #n/a because there
    > is no information on worksheet 2 to pull from. This causes an issue with the
    > sum function. Is there a way to have these cells change from #n/a to zero or
    > null?


  6. #6
    chisigs2
    Guest

    Re: vlookup, but ignore errors if #n/a

    try something like this.... I use this one not sure it will work in a
    vlookup though

    =IF(N(F13),H13-H12,0)


  7. #7
    Aladin Akyurek
    Guest

    Re: vlookup, but ignore errors if #n/a

    =SUMIF(Range,"<>#N/A")

    Jess wrote:
    > I have 2 worksheets and I am using the vlookup to pull data from worksheet 2
    > for worksheet 1. Then, on worksheet 1, I am using the sum function to add the
    > numbers together.
    >
    > However, there are several cells on worksheet 1 that have #n/a because there
    > is no information on worksheet 2 to pull from. This causes an issue with the
    > sum function. Is there a way to have these cells change from #n/a to zero or
    > null?


+ 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