+ Reply to Thread
Results 1 to 3 of 3

#div/0!

  1. #1
    Forum Contributor
    Join Date
    04-19-2010
    Location
    US
    MS-Off Ver
    Office 365
    Posts
    109

    #div/0!

    I have the following formula:

    =SUM(F3)/COUNTIF(G3:CS3,">0")

    If answer is nothing it yields:

    #DIV/0!

    How can I get nothing to yield as the number zero?

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: #div/0!

    =iferror(F3 / COUNTIF(G3:CS3, ">0"), 0)
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Forum Contributor
    Join Date
    04-19-2010
    Location
    US
    MS-Off Ver
    Office 365
    Posts
    109

    Re: #div/0!

    Perfect thank you

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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