• Divide by zero error (XP)

    • This topic has 6 replies, 3 voices, and was last updated 17 years ago.
    Author
    Topic
    #450665

    I thought this was my fix – it wasn’t – WHY? I don’t get #Div0! anymore, now I get the “name” error

    =IF(AVERAGE(C21:C32=0,””),AVERAGE(C21:C32))

    Thanks again

    Viewing 0 reply threads
    Author
    Replies
    • #1107698

      One of the closing parentheses is in the wrong place. It should be

      =IF(AVERAGE(C21:C32)=0,””,AVERAGE(C21:C32))

      although I don’t know if that does what you want.

      • #1107699

        Nope – should have attached the example in the first place – sorry

        • #1107700

          You can use:
          =IF(ISERROR(AVERAGE(C3:C14)),””,AVERAGE(C3:C14))
          HTH

          • #1107702

            Perfect – I just changed the “” to 0 which is what I wanted in the first place – great thanks.

        • #1107701

          Try

          =IF(ISERROR(AVERAGE(C3:C14)),””,AVERAGE(C3:C14))

          • #1107703

            Hi Hans – see my reply to Rory – same for you – great thanks and appreciation, as always.

    Viewing 0 reply threads
    Reply To: Divide by zero error (XP)

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

    Your information: