+ Reply to Thread
Results 1 to 3 of 3

#DIV/0! error for following formula

  1. #1
    Registered User
    Join Date
    07-13-2008
    Location
    Marietta
    Posts
    1

    #DIV/0! error for following formula

    Hello,

    Please help. I have the following formula in my spreadsheet:
    =SUM(BF24/BE23+BF23+BG23+BH23))*30
    I'm getting the the error #DIV/0!. How can I write the IF statement to change answer to 0, if error occurs?

    Thank you
    cstuckey56

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

    =IF(BE23=0,0,(BF24/BE23+SUM(BF23:BH23))*30)

  3. #3
    Registered User
    Join Date
    08-12-2005
    Posts
    33
    Others:

    =IF(ISERROR(SUM(BF24/BE23+BF23+BG23+BH23)*30),0,SUM(BF24/BE23+BF23+BG23+BH23)*30)

    =IF(ERROR.TYPE(SUM(BF24/BE23+BF23+BG23+BH23)*30)=2,0,SUM(BF24/BE23+BF23+BG23+BH23)*30)

    .

+ 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