+ Reply to Thread
Results 1 to 5 of 5

Trying to show 0 if SUM<1, but the SUM if calculation is over zero.

  1. #1
    Registered User
    Join Date
    11-30-2018
    Location
    Oceanside, CA
    MS-Off Ver
    2017
    Posts
    2

    Trying to show 0 if SUM<1, but the SUM if calculation is over zero.

    I have two data fields and I'm trying to use IF to display a zero if the sum is less than 1. But I want the sum shown if result is greater than zero. How do I write the formula?

    For example: =IF(B4-C4)<1,0 That works to show zero but I can't figure out how to add that I want the sum shown if the sum is greater than 0.


    Please help!!

    Alan

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,943

    Re: Trying to show 0 if SUM<1, but the SUM if calculation is over zero.

    Like this?
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    BSB

  3. #3
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.96 for Mac MS 365
    Posts
    8,690

    Re: Trying to show 0 if SUM<1, but the SUM if calculation is over zero.

    try =if(b4-c4>=1,b4-c4,0) That will show a zero for anything including blank cells.
    however, you have b4-c4 but you are discussing "sum" so shouldn't it be b4+c4?
    if so then change the formula to =if(b4+c4>=1,b4+c4,0)
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  4. #4
    Registered User
    Join Date
    11-30-2018
    Location
    Oceanside, CA
    MS-Off Ver
    2017
    Posts
    2

    Re: Trying to show 0 if SUM<1, but the SUM if calculation is over zero.

    Thank you SO MUCH!!!

  5. #5
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.96 for Mac MS 365
    Posts
    8,690

    Re: Trying to show 0 if SUM<1, but the SUM if calculation is over zero.

    you are welcome. and if that takes care of it for you then don't forget to mark the post as solved using the thread tools dropdown at the top of this post.
    BTW, which did you use?

+ 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. Replies: 6
    Last Post: 01-09-2017, 02:51 AM
  2. [SOLVED] How to show the remain of calculation
    By eing in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-17-2014, 06:26 AM
  3. How do i Show formula calculation % done while screen updating = off?
    By JTwrk in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-16-2012, 04:09 PM
  4. Replies: 5
    Last Post: 11-09-2009, 06:45 PM
  5. How to show no number when using a calculation
    By xolo in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-06-2008, 06:58 AM
  6. How to show a progress bar in sheet calculation?
    By Zoo in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-10-2005, 02:20 AM
  7. Replies: 2
    Last Post: 09-22-2005, 09:05 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