+ Reply to Thread
Results 1 to 5 of 5

#DIV/0! problem

  1. #1
    Registered User
    Join Date
    09-03-2012
    Location
    South Africa
    MS-Off Ver
    Excel 2010
    Posts
    3

    #DIV/0! problem

    I`m running an mean from excel,where is equal to zero there comes this (#DIV/0!)this is the formula that i`m using,so how do i get rid of this,i`m using office 2010 please help guyz=AVERAGEIFS(DATA!$AG:$AG,DATA!$AX:$AX,5,DATA!$AW:$AW,$B$1,DATA!$AW:$AW,$A$4)

  2. #2
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: #DIV/0! problem

    =iferror(AVERAGEIFS(DATA!$AG:$AG,DATA!$AX:$AX,5,DATA!$AW:$AW,$B$1,DATA!$AW:$AW,$A$4),0)

  3. #3
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: #DIV/0! problem

    Hi Shustarful,

    Welcome to the forum.

    you can use iferror function here like:-

    =iferror(<your formula>,"")

    this will fetch the blank in case the formula output is an error.

    If you data source itself has errors and zeros, then that may be a different case which I think is not related here.. thanks.

    Regards,
    DILIPandey

    <click on below 'star' if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), [email protected]

  4. #4
    Registered User
    Join Date
    09-03-2012
    Location
    South Africa
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: #DIV/0! problem

    Thanks a lot it does work but what if i want it to be blank when equal to zero

  5. #5
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,447

    Re: #DIV/0! problem

    Replace 0 with " "

+ 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