+ Reply to Thread
Results 1 to 5 of 5

#div/0!

  1. #1
    Registered User
    Join Date
    04-20-2012
    Location
    Saint Paul, Minnesota
    MS-Off Ver
    Excel 2010
    Posts
    52

    #div/0!

    Need help! I have three separate formula's that I am using in three separate cells. The first 2 are rounding down to whole # and averaging w/o calculating zero's or empty cells. The third is a simple average to ratio. The question I have is in all three cells I am getting a #DIV/0! error. I found a formula you can use to silence that error but I can't figure out how to use it in conjunction with my existing formula's. Any ideas? The formula's I am using are listed below:

    =ROUNDDOWN(AVERAGEIF(B16:CB30,"<>0"),0)
    =ROUNDDOWN(AVERAGEIF(C16:C30,"<>0"),0)
    =IF(B31=0,"",B31&":"&C31)


    Thank you!

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: #div/0!

    Perhaps

    =IFERROR(your_formula,"")
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: #div/0!

    Try...

    =IFERROR(ROUNDDOWN(AVERAGEIF(B16:CB30,"<>0"),0),"")
    HTH
    Regards, Jeff

  4. #4
    Registered User
    Join Date
    04-20-2012
    Location
    Saint Paul, Minnesota
    MS-Off Ver
    Excel 2010
    Posts
    52

    Re: #div/0!

    Thanks to you both, that worked beautifully! Brilliant.

  5. #5
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: #div/0!

    Thanks for the feedback and glad to hear it is all sorted now.

+ 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