+ Reply to Thread
Results 1 to 3 of 3

Dealing with #N/A

  1. #1
    Registered User
    Join Date
    07-17-2009
    Location
    Paris
    MS-Off Ver
    Excel 2003
    Posts
    28

    Dealing with #N/A

    Hi,
    I am using a simple If And statement to review 4 columns to determine if I need to take an action.
    If 3 columns all return "0" and if a Vlookup returns an #N/A then I need to review it.

    =IF(AND(S380=0,U380=0,R380="#N/A",T380=0),E380,"")

    The #N/A is causing the If And statement not to work - it returns an #N/A.

    Do I need to change the Vlookup statement to avoid N/A or change my If And statement?

    Thanks,
    Jason
    Last edited by jpnyc; 08-11-2010 at 07:49 AM.

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Dealing with #N/A

    Always good to handle errors at source but in theory:

    =IF(AND(COUNTIF(S380:U380;0)=3;ISNA(R380));E380;"")
    Last edited by DonkeyOte; 08-10-2010 at 12:40 PM. Reason: modified delimiters

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

    Re: Dealing with #N/A

    Try

    =IF(AND(S380=0,U380=0,ISNA(R380),T3=0),E380,"")
    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.

+ 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