+ Reply to Thread
Results 1 to 3 of 3

Solved - Ignoring the #DIV/0! Error in a range

  1. #1
    Registered User
    Join Date
    11-21-2008
    Location
    Maine
    MS-Off Ver
    MS Office 2003 SP2
    Posts
    10

    Solved - Ignoring the #DIV/0! Error in a range

    I'm trying to average a column range range =AVERAGE(A5:A29) that has blank cells not yet populated and also cells with formulas that contain the #DIV/0! error.

    Obviously the cell with my formula produces the #DIV/0! error when it tries to average this range. Can someone point me in the right direction so the formula =AVERAGE(A5:A29) will work?
    Last edited by wwsd; 03-01-2009 at 09:20 PM.

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Ignoring the #DIV/0! Error in a range

    It might be better to get rid of the #DIV/0! errors, what formula produces those?

    Otherwise try this formula to average

    =SUMIF(A5:A29,"<>#DIV/0!")/MAX(1,COUNT(A5:A29))

  3. #3
    Registered User
    Join Date
    11-21-2008
    Location
    Maine
    MS-Off Ver
    MS Office 2003 SP2
    Posts
    10

    Re: Ignoring the #DIV/0! Error in a range

    Quote Originally Posted by daddylonglegs View Post
    It might be better to get rid of the #DIV/0! errors, what formula produces those?

    Otherwise try this formula to average

    =SUMIF(A5:A29,"<>#DIV/0!")/MAX(1,COUNT(A5:A29))
    Those are pasted links from cells from a date range that has not been popultated yet. I think there is a way to hide those by using a hidden column next to it with another formula in it. My next project.

    Thanks for your help tonight. Gotta learn to do this stuff myself.

    Steve

+ 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