+ Reply to Thread
Results 1 to 3 of 3

Simple #DIV/0! error

  1. #1
    AMY Z.
    Guest

    Simple #DIV/0! error

    Hi,
    A1=0
    A2=0
    A3=A1/A2
    A3 returns the #DIV/0! error.
    What are the functions or syntax I have to use for A3 to return 0 if A1 and
    A2 are 0?

    I looked in Excel help and tried nesting the IF function and ISERROR
    function but I can't get the syntax right.

    Thanks for your time, whilst everyone have a nice weekend,
    Amy


  2. #2
    Jason Morin
    Guest

    Re: Simple #DIV/0! error

    =IF(A2=0,0,A1/A2)

    HTH
    Jason
    Atlanta, GA

    >-----Original Message-----
    >Hi,
    >A1=0
    >A2=0
    >A3=A1/A2
    >A3 returns the #DIV/0! error.
    >What are the functions or syntax I have to use for A3 to

    return 0 if A1 and
    >A2 are 0?
    >
    >I looked in Excel help and tried nesting the IF function

    and ISERROR
    >function but I can't get the syntax right.
    >
    >Thanks for your time, whilst everyone have a nice

    weekend,
    >Amy
    >
    >.
    >


  3. #3
    AMY Z.
    Guest

    Re: Simple #DIV/0! error

    Thank you Mr. Morin.

    "Jason Morin" wrote:

    > =IF(A2=0,0,A1/A2)
    >
    > HTH
    > Jason
    > Atlanta, GA
    >
    > >-----Original Message-----
    > >Hi,
    > >A1=0
    > >A2=0
    > >A3=A1/A2
    > >A3 returns the #DIV/0! error.
    > >What are the functions or syntax I have to use for A3 to

    > return 0 if A1 and
    > >A2 are 0?
    > >
    > >I looked in Excel help and tried nesting the IF function

    > and ISERROR
    > >function but I can't get the syntax right.
    > >
    > >Thanks for your time, whilst everyone have a nice

    > weekend,
    > >Amy
    > >
    > >.
    > >

    >


+ 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