+ Reply to Thread
Results 1 to 11 of 11

#DIV/0! error

  1. #1
    Registered User
    Join Date
    11-26-2019
    Location
    Toronto, Canada
    MS-Off Ver
    CA-ON
    Posts
    7

    #DIV/0! error

    Trying to add a column then divide by the number in a cell in a different column. I want to get rid of the #DIV/0! error when there isn't any data in the cells.

  2. #2
    Forum Expert
    Join Date
    09-30-2019
    Location
    Chiangmai, Thailand
    MS-Off Ver
    Office 2016, Excel 2019
    Posts
    1,234

    Re: #DIV/0! error

    Please try

    ...IFError( your old formula , 0 )

    or

    IF( divider = 0 , 0 , your old formula )

    Regards.

  3. #3
    Registered User
    Join Date
    11-26-2019
    Location
    Toronto, Canada
    MS-Off Ver
    CA-ON
    Posts
    7

    Re: #DIV/0! error

    Here is what I'm using "=IFERROR(G2:G14/F15,0)". Using this I don't get an error but the formula doesn't work.

  4. #4
    Forum Expert
    Join Date
    09-30-2019
    Location
    Chiangmai, Thailand
    MS-Off Ver
    Office 2016, Excel 2019
    Posts
    1,234

    Re: #DIV/0! error

    Could you please upload a sample file ? (See the yellow banner above)


    Regards.

  5. #5
    Registered User
    Join Date
    11-26-2019
    Location
    Toronto, Canada
    MS-Off Ver
    CA-ON
    Posts
    7

    Re: #DIV/0! error

    Spreadsheet is attached.
    Attached Files Attached Files

  6. #6
    Forum Expert
    Join Date
    09-30-2019
    Location
    Chiangmai, Thailand
    MS-Off Ver
    Office 2016, Excel 2019
    Posts
    1,234

    Re: #DIV/0! error

    Please try at G15

    Please Login or Register  to view this content.
    PS: I don't know the purpose of this cell, result may un-useable or did not make sense.

    Regards.
    Last edited by menem; 11-26-2019 at 11:14 PM. Reason: Remove wrong answer

  7. #7
    Registered User
    Join Date
    11-26-2019
    Location
    Toronto, Canada
    MS-Off Ver
    CA-ON
    Posts
    7

    Re: #DIV/0! error

    When I use that formula I get 0.0, so the formula isn't working.

  8. #8
    Registered User
    Join Date
    11-26-2019
    Location
    Toronto, Canada
    MS-Off Ver
    CA-ON
    Posts
    7

    Re: #DIV/0! error

    The purpose of the F15 cell is to divide the pieces by the number of workers.

  9. #9
    Forum Expert
    Join Date
    02-10-2019
    Location
    Georgia, USA
    MS-Off Ver
    Office 365
    Posts
    2,831

    Re: #DIV/0! error

    In G!5, can't you just use:
    =IFERROR(D15/F15,0)

  10. #10
    Registered User
    Join Date
    11-26-2019
    Location
    Toronto, Canada
    MS-Off Ver
    CA-ON
    Posts
    7

    Re: #DIV/0! error

    I will try that, this is what I used =IFERROR(SUM(G2:G14)/F15,0)

  11. #11
    Registered User
    Join Date
    11-26-2019
    Location
    Toronto, Canada
    MS-Off Ver
    CA-ON
    Posts
    7

    Re: #DIV/0! error

    You are right, I must have been asleep to miss that.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Odd Error Handling Behaviour; goes to error handler even when no error?
    By kalikj in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-04-2018, 10:04 AM
  2. [SOLVED] Run-tim error -2147467259(80004005): Automation error Unspecidied error
    By mattress58 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-25-2014, 12:12 PM
  3. Excel macro (compile error. syntax error.) error
    By salar_younis in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-06-2014, 06:11 AM
  4. Receiving following error “Complie error : syntax error” Help
    By masond3 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-02-2012, 10:19 AM
  5. Error "run-time Error '1004': General Odbc Error
    By D4WNO77 in forum Access Tables & Databases
    Replies: 2
    Last Post: 07-16-2012, 09:55 AM
  6. Error 75 File/Path access error, sometimes Error 1004
    By smokebreak in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 02-16-2011, 02:35 PM
  7. [SOLVED] Error Handling - On Error GoTo doesn't trap error successfully
    By David in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 02-16-2006, 02:10 PM

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