+ Reply to Thread
Results 1 to 8 of 8

Sumif - Ignore Error one divide by 0

  1. #1
    Forum Contributor
    Join Date
    09-20-2018
    Location
    Jakarta
    MS-Off Ver
    google
    Posts
    102

    Sumif - Ignore Error one divide by 0

    Hi

    I am trying to do sumifs but I am getting 'Error Function DIVIDE parameter 2 cannot be zero', please check field J39:J43. It's because of a field that contains 1/0, which deters an infinite.

    Please fill in row J24:J28 or replace field J39:J43 with the formula that will sum hence ignore the error.

    https://docs.google.com/spreadsheets...EPE/edit#gid=0

    Thank You
    Last edited by maniacs205; 05-26-2023 at 08:44 AM.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,461

    Re: Sumif - Ignore Error one divide by 0

    Fast answers need visual help. Please read the yellow banner at the top of this page on how to attach a file and a mocked up solution.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Contributor
    Join Date
    09-20-2018
    Location
    Jakarta
    MS-Off Ver
    google
    Posts
    102

    Re: Sumif - Ignore Error one divide by 0

    Quote Originally Posted by TMS View Post
    Fast answers need visual help. Please read the yellow banner at the top of this page on how to attach a file and a mocked up solution.
    Sorry, I forgot to attached the Google Sheet, here https://docs.google.com/spreadsheets...EPE/edit#gid=0

    Thanks

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,461

    Re: Sumif - Ignore Error one divide by 0

    Use IFERROR to fix the Divide By Zero errors.
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  5. #5
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,829

    Re: Sumif - Ignore Error one divide by 0

    IMO, this kind of error is easier to trap in columns F and G rather than trapping it in the final SUMIFS() function. I would probably do something like =IFERROR(current formula,"error") in columns F and G to replace the error with a text string. Most spreadsheet functions (like SUMIFS()) will ignore text.

    Would you be allowed to handle the errors in columns F and G, or are you required to trap the errors in column J?
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  6. #6
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,461

    Re: Sumif - Ignore Error one divide by 0

    IMO, this kind of error is easier to trap in columns F and G rather than trapping it in the final SUMIFS() function.
    That's really what I had in mind.

  7. #7
    Forum Contributor
    Join Date
    09-20-2018
    Location
    Jakarta
    MS-Off Ver
    google
    Posts
    102

    Re: Sumif - Ignore Error one divide by 0

    Thank you guys, it's fixed now !

  8. #8
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,461

    Re: Sumif - Ignore Error one divide by 0

    You're welcome. 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)

Similar Threads

  1. [SOLVED] Multiply, Round, and then divide, multiple sumif formulas
    By T.Turner in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-20-2021, 09:27 AM
  2. [SOLVED] SUMIF condition then DIVIDE by found results
    By zarize92 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-21-2018, 11:30 AM
  3. [SOLVED] SumIF but Ignore HREF! error
    By movingpartz in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 03-28-2017, 12:49 AM
  4. [SOLVED] How to count/divide two cell information within a sumif forumula?
    By Eldrowski in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 01-20-2014, 10:37 AM
  5. [SOLVED] Sumif roundup and divide used in the same formula
    By muddbog in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-07-2013, 07:04 AM
  6. Ignore NA in sumif
    By amartino44 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-04-2013, 08:40 PM
  7. Problem using sumif to divide by a range
    By Flobiwan in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 09-26-2012, 04:20 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