+ Reply to Thread
Results 1 to 4 of 4

Ignoring #DIV/0!

Hybrid View

tillyosu Ignoring #DIV/0! 07-18-2005, 12:50 PM
Guest RE: Ignoring #DIV/0! 07-18-2005, 02:05 PM
Guest Re: Ignoring #DIV/0! 07-18-2005, 02:05 PM
Guest Re: Ignoring #DIV/0! 07-18-2005, 03:05 PM
  1. #1
    Registered User
    Join Date
    07-11-2005
    Posts
    2

    Ignoring #DIV/0!

    How can I make excel ignore a #DIV/0! error when averaging a range of cells???

  2. #2
    Mike
    Guest

    RE: Ignoring #DIV/0!

    An if statement that does the averaging calc only when it is not zero.

    "tillyosu" wrote:

    >
    > How can I make excel ignore a #DIV/0! error when averaging a range of
    > cells???
    >
    >
    > --
    > tillyosu
    > ------------------------------------------------------------------------
    > tillyosu's Profile: http://www.excelforum.com/member.php...o&userid=25114
    > View this thread: http://www.excelforum.com/showthread...hreadid=388049
    >
    >


  3. #3
    Bob Phillips
    Guest

    Re: Ignoring #DIV/0!

    Something like

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

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "tillyosu" <tillyosu.1sdkif_1121706334.0176@excelforum-nospam.com> wrote in
    message news:tillyosu.1sdkif_1121706334.0176@excelforum-nospam.com...
    >
    > How can I make excel ignore a #DIV/0! error when averaging a range of
    > cells???
    >
    >
    > --
    > tillyosu
    > ------------------------------------------------------------------------
    > tillyosu's Profile:

    http://www.excelforum.com/member.php...o&userid=25114
    > View this thread: http://www.excelforum.com/showthread...hreadid=388049
    >




  4. #4
    Harlan Grove
    Guest

    Re: Ignoring #DIV/0!

    tillyosu wrote...
    >How can I make excel ignore a #DIV/0! error when averaging a range of
    >cells???


    Meaning something like AVERAGE(B5:D10) returns #DIV/0! ? That only
    happens when there are no numeric values in the range or when one or
    more of the cells in the range evaluates to #DIV/0! . You probably
    shouldn't ignore the latter.

    As for the former, it depends on what you want to show, but the generic
    approach is

    =IF(COUNT(B5:D10),AVERAGE(B5:D10),"")


+ 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