+ Reply to Thread
Results 1 to 6 of 6

Thread: IF ISNA error

  1. #1
    Registered User
    Join Date
    08-22-2011
    Location
    Laval quebec
    MS-Off Ver
    Excel 2007
    Posts
    26

    IF ISNA error

    Hi There

    I have a formula that's supposed to get rid of the N/A error and replace it with a 0

    But it's not working for some reason :

    =IF(ISNA(VLOOKUP(F15,'Stat remedy et connect'!A$1:E$9946,FALSE)),0,VLOOKUP(F15,'Stat remedy et connect'!A$1:E$942,4,FALSE))

    Anyone can tell me why I'm still getting N/A ??

  2. #2
    Valued Forum Contributor alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Lake County, Illinois
    MS-Off Ver
    MS Office 2010, 2007 and 2002
    Posts
    1,163

    Re: IF ISNA error

    In your first Vlookup, you are missing the column that should return results from.

    Alan

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

    Re: IF ISNA error

    Might be because the ranges shown are different. 9946 vs 942?

    If you're using 2007, you could use IFERROR.

    Regards

  4. #4
    Registered User
    Join Date
    08-22-2011
    Location
    Laval quebec
    MS-Off Ver
    Excel 2007
    Posts
    26

    Re: IF ISNA error

    in this case, it is supposed to return an N/A error as when it looking up the info, it's not there...that's ok...but if it returns N/A i want it to echo 0...which is what the IF ISNA is supposed to do in my understanding.

    It's because somewhere else on my file it would be calculating the average and when there's N/A, even my calculation for the average =SUM($AD$3:$AD$122)/SUM($AE3:$AE112) is displaying N/A.

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

    Re: IF ISNA error

    There are still two errors in your formula. The first VLOOKUP is missing a column entry and the ranges are different.

    If however, the value that it finds is #N/A, I guess it's going to return that.

    Regards

  6. #6
    Registered User
    Join Date
    09-10-2011
    Location
    INDIA
    MS-Off Ver
    Excel 2007
    Posts
    30

    Re: IF ISNA error

    If there is any text found in the calculating area (i.e ad3:ad122 and ae3:ae112) you will be getting N/a
    and in the first formula as alan said you have missed the column value.

+ 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