+ Reply to Thread
Results 1 to 3 of 3

Convert #N/A to 0

Hybrid View

  1. #1
    Sheila P
    Guest

    Convert #N/A to 0

    Hi,

    I have a formula that returns #N/A in some cells. I want to be able to
    convert the #N/A cells to the value 0. I have tried using the ERROR.TYPE
    formula in an IF function and it converts #N/A cells to 0, however, it also
    converts the non-#N/A cells to #N/A. I need to keep the value in the
    non-#N/A cells. According to the help file for this function, I should be
    able to have the value in the cell returned if it is a false statement. Ex.
    IF(ERROR.TYPE(E8)=7),0,E8) If E8 = 100, this formula should return 100 and
    not #N/A for that cell.

    Any assistance would be greatly appreciated.


  2. #2
    Peo Sjoblom
    Guest

    Re: Convert #N/A to 0

    =IF(ISNA(formula),0,formula)

    --

    Regards,

    Peo Sjoblom

    "Sheila P" <Sheila P@discussions.microsoft.com> wrote in message
    news:5977A7A0-4040-4104-BAFD-A9E0A5A7E3F8@microsoft.com...
    > Hi,
    >
    > I have a formula that returns #N/A in some cells. I want to be able to
    > convert the #N/A cells to the value 0. I have tried using the ERROR.TYPE
    > formula in an IF function and it converts #N/A cells to 0, however, it

    also
    > converts the non-#N/A cells to #N/A. I need to keep the value in the
    > non-#N/A cells. According to the help file for this function, I should be
    > able to have the value in the cell returned if it is a false statement.

    Ex.
    > IF(ERROR.TYPE(E8)=7),0,E8) If E8 = 100, this formula should return 100

    and
    > not #N/A for that cell.
    >
    > Any assistance would be greatly appreciated.
    >




  3. #3
    HansM
    Guest

    Re: Convert #N/A to 0

    You would want to modify your formula to make use of the ISNA() formula.
    Something like:
    =IF(ISNA(YourFormulaHere),0,YourFormulaHere)
    --
    HansM
    "Sheila P" <Sheila P@discussions.microsoft.com> wrote in message
    news:5977A7A0-4040-4104-BAFD-A9E0A5A7E3F8@microsoft.com...
    > Hi,
    >
    > I have a formula that returns #N/A in some cells. I want to be able to
    > convert the #N/A cells to the value 0. I have tried using the ERROR.TYPE
    > formula in an IF function and it converts #N/A cells to 0, however, it
    > also
    > converts the non-#N/A cells to #N/A. I need to keep the value in the
    > non-#N/A cells. According to the help file for this function, I should be
    > able to have the value in the cell returned if it is a false statement.
    > Ex.
    > IF(ERROR.TYPE(E8)=7),0,E8) If E8 = 100, this formula should return 100
    > and
    > not #N/A for that cell.
    >
    > Any assistance would be greatly appreciated.
    >




+ 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