+ Reply to Thread
Results 1 to 7 of 7

IF a division formula is has no value then print xero

  1. #1
    Forum Contributor
    Join Date
    11-10-2012
    Location
    Sweden, Stockholm
    MS-Off Ver
    MS Excel 365
    Posts
    175

    IF a division formula is has no value then print xero

    I have a formula that has no value, then the result shows me division/0.

    How can I make a IF (formula has no value or equal to zero) print zero

  2. #2
    Forum Expert
    Join Date
    03-28-2014
    Location
    Hyderabad,India
    MS-Off Ver
    Excel 2013
    Posts
    1,887

    Re: IF a division formula is has no value then print xero

    Hi,
    try this
    =iferror("use your formula in this space",0)

    Punnam

  3. #3
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: IF a division formula is has no value then print xero

    Or base something on this
    Example, formula is A1/B1

    =IF(B1=0,0,A1/B1)
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  4. #4
    Forum Contributor
    Join Date
    11-10-2012
    Location
    Sweden, Stockholm
    MS-Off Ver
    MS Excel 365
    Posts
    175

    Re: IF a division formula is has no value then print xero

    =C136/(C136+D136+E136+F136)

    My Answer becomes> #division/0

    Should it be this, does not work for me, still error.
    =IFERROR(C136/(C136+D136+E136+F136),0)

    thanks for your replies,

  5. #5
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: IF a division formula is has no value then print xero

    =if((c136+d136+e136+f136)=0,0,c136/(c136+d136+e136+f136))
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  6. #6
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: IF a division formula is has no value then print xero

    just for shortness
    =C136/sum(C136:F136))
    =iferror(C136/sum(C136:F136),0) should work what do you get as a result
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  7. #7
    Forum Contributor
    Join Date
    11-10-2012
    Location
    Sweden, Stockholm
    MS-Off Ver
    MS Excel 365
    Posts
    175

    Re: IF a division formula is has no value then print xero

    thanks Sir

+ 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] Division formula
    By Nubian in forum Excel General
    Replies: 12
    Last Post: 09-03-2012, 10:57 AM
  2. Division formula
    By DODGE in forum Excel General
    Replies: 0
    Last Post: 12-04-2011, 05:24 PM
  3. division gives wrong answer (division)
    By Brice in forum Excel General
    Replies: 5
    Last Post: 12-24-2010, 10:13 PM
  4. division formula
    By Terrie in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 01-08-2005, 08:06 PM

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