+ Reply to Thread
Results 1 to 5 of 5

help with #DIV/0!

  1. #1
    Forum Contributor
    Join Date
    05-03-2010
    Location
    scotland,uk
    MS-Off Ver
    Excel 2007
    Posts
    186

    help with #DIV/0!

    Using this formula in Z33: =AVERAGE(N33:Y33)
    It returns #DIV/0! when N33:Y33 have no entries
    I have tried ISERROR & IFERROR at the beginning of the formula but that just flags up an error message
    How would I formulate this to eliminate #DIV/0! and show either a blank or a zero in Z32.

    Thanks
    Last edited by scudo; 01-19-2017 at 02:09 PM.

  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: help with #DIV/0!

    Just wrap it in an IFERROR

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    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 Expert avk's Avatar
    Join Date
    07-12-2007
    Location
    India
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3,223

    Re: help with #DIV/0!

    Try with
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Above formula works perfectly in excel2007.
    Last edited by avk; 01-19-2017 at 02:09 PM. Reason: Correction


    atul


    If my answer (or that of other members) has helped you, please say "Thanks" by clicking the Add Reputation button at the foot of one of their posts.

    Also: if your problem is solved, please take the time to mark your thread as SOLVED by going to the top of your first post, selecting "Thread Tools" and then "Mark thread as solved".

  4. #4
    Forum Contributor
    Join Date
    05-03-2010
    Location
    scotland,uk
    MS-Off Ver
    Excel 2007
    Posts
    186

    Re: help with #DIV/0!

    Ok that sorted it I hadn't put in the ,"" at the end of the formula.

    Thanks

  5. #5
    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: help with #DIV/0!

    My pleasure and thanks for the rep.

+ 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