• #DIV/0! (MsOffice 97 SR2)

    Author
    Topic
    #366918

    I know this has been asked before but can anyone tell me how to hide the #DIV/0! .

    Thanks in advance.
    blush

    Viewing 0 reply threads
    Author
    Replies
    • #570589

      Do some error checking in an IF:

      =IF(B1=0,"",A1/B1)

      or, more generic

      =IF(ISERROR(A1/B1),"",A1/B1)
      • #570631

        >if you are a fool at forty, you will always be a fool.

        Why didn’t someone tell me when I was 39? grin

        -IF- the denominator will always be a number, not an #ERR, a slightly simpler way is to use the denominator as a Boolean argument to the IF, as in:

        =IF(B1,A1/B1,)

        • #570632

          John, very nice looking albeit cryptic! I always forget that zero is false.

          • #570832

            I would like to thank you and anyone else who responded to this question.

            Thanks cheers

    Viewing 0 reply threads
    Reply To: #DIV/0! (MsOffice 97 SR2)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: