+ Reply to Thread
Results 1 to 5 of 5

Thread: #div/0

  1. #1
    Registered User
    Join Date
    12-15-2006
    Posts
    58

    #div/0

    I have tried a few formulas to make #DIV/0 show as either 0 or blank if there is nothing entered in C173:AG173 but have not come up with it. As always help is geatly appreciated. Thanks

    =AVERAGE(C173:AG173)

  2. #2
    Forum Guru shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2007, 2010
    Posts
    25,777
    =IF(COUNT(C173:AG173) = 0, 0, AVERAGE(C173:AG173))

  3. #3
    Registered User
    Join Date
    12-15-2006
    Posts
    58
    Thanks very much!!!!

  4. #4
    Forum Moderator Richard Buttrey's Avatar
    Join Date
    02-15-2008
    Location
    Grappenhall, UK
    MS-Off Ver
    Excel for Windows & Mac - all versions.
    Posts
    6,566
    Hi,
    Please remember the forum rules and the requirement to wrap functions and code in code tags.

    Just use

    =IF(ISERROR(AVERAGE(C173:AG173)),0,AVERAGE(C173:AG173))
    Rgds

  5. #5
    Forum Guru shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2007, 2010
    Posts
    25,777
    You're very welcome.

+ 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.2.0