Results 1 to 5 of 5

If IS ERROR

This is a discussion on If IS ERROR within the Excel Questions forums, part of the Question Forums category; How do I add a IF Is ERROR to the formula below? =IF(H276="",VLOOKUP(AA:AA,'STAT Table'!A:G,7,FALSE),H276) If the VLookup is not found ...

  1. #1
    Board Regular
    Join Date
    Jan 2003
    Posts
    143

    Default If IS ERROR


    How do I add a IF Is ERROR to the formula below?

    =IF(H276="",VLOOKUP(AA:AA,'STAT Table'!A:G,7,FALSE),H276)

    If the VLookup is not found it returns a #N/A. I want it to return a '0' if it is not found.

  2. #2
    MrExcel MVP Aladin Akyurek's Avatar
    Join Date
    Feb 2002
    Location
    The Hague, NL
    Posts
    56,346

    Default

    What is the lookup value?

  3. #3
    MrExcel MVP
    Join Date
    Feb 2002
    Location
    Austin, Texas USA
    Posts
    11,654

    Default

    Some more questions... Why are you using AA:AA as the 1st argument of your VLOOKUP? Why do you need ISERROR?

  4. #4
    New Member
    Join Date
    Feb 2003
    Posts
    22

    Default is error

    Hi,

    with the free addin of ASAP, see www.asap-utilities.com
    you do not have to worry anymore.

    See, under range, custom formula error message

    I am sure this free addin solves a lot of problems for you

    Jack

  5. #5
    Board Regular alcorjr's Avatar
    Join Date
    Dec 2002
    Location
    Costa Rica
    Posts
    416

    Default

    =IF(ISERROR(IF(H276="",VLOOKUP(AA:AA,'STAT Table'!A:G,7,FALSE),H276) ,"",IF(H276="",VLOOKUP(AA:AA,'STAT Table'!A:G,7,FALSE),H276) )



    In this case the cell would show blank("") when your formula gives an error result.
    I hope this is what you needed.

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
  •  


DMCA.com