+ Reply to Thread
Results 1 to 3 of 3

How to ignore negative numbers in a formula (display as 0)

  1. #1
    Registered User
    Join Date
    12-20-2017
    Location
    Canada
    MS-Off Ver
    2017
    Posts
    17

    How to ignore negative numbers in a formula (display as 0)

    I'm creating an order sheet with very simple formulas that automatically subtract product on hand (col. A) from the product PAR (col. B) resulting in the total to order (col. C). The VERY simple formula in column C is "=B3-A3". What I can't seem to figure out is how to how to prevent the total to order (col. C) from registering negative numbers. Considering I can't order negative product, I'd like the column to simply display "0" whenever the result of B-A is negative.

  2. #2
    Valued Forum Contributor
    Join Date
    05-13-2010
    Location
    Belo Horizonte, Brazil
    MS-Off Ver
    Excel 2003; 2007
    Posts
    441

    Re: How to ignore negative numbers in a formula (display as 0)

    Natejss, Good evening.

    Try to use:

    =IF(B3-A3<0,0,B3-A3)

    I hope it helps.
    ...If my answer helped you, Please, click on. * Add Reputation (at left)

    Best regards.
    Marc?lio Lob?o

  3. #3
    Forum Expert leelnich's Avatar
    Join Date
    03-20-2017
    Location
    Delaware, USA
    MS-Off Ver
    Office 2016
    Posts
    2,807

    Re: How to ignore negative numbers in a formula (display as 0)

    Or perhaps:
    Please Login or Register  to view this content.
    Clicking the Add Reputation star below helpful posts is a great way to show your appreciation.
    Please mark your threads as SOLVED upon conclusion (Thread Tools above Post # 1). - Lee

+ 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] Formula to ignore negative numbers in a column?
    By Tia in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-10-2021, 04:14 PM
  2. [SOLVED] How to sum row but ignore negative numbers
    By eeps24 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-27-2017, 10:26 AM
  3. Do not display negative numbers
    By thompsy121 in forum Excel General
    Replies: 4
    Last Post: 10-19-2008, 08:28 AM
  4. Display Negative Numbers as 0
    By kristin01 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-18-2007, 02:11 PM
  5. How do I ignore negative values in a formula
    By queestionable in forum Excel General
    Replies: 2
    Last Post: 08-16-2007, 10:26 AM
  6. Excel Formula - Add column of numbers but ignore negative numbers
    By view for Distribution List members in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-06-2006, 10:20 PM
  7. How to ignore negative numbers
    By frustrated in forum Excel General
    Replies: 3
    Last Post: 10-04-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