Excel - negative result equals to zero

September 2017


My problem is relatively simple,
I wish that when the result of subtraction is negative (eg 0-2 =- 2), it appears to be zero?
Thank you for your help.


Look at this formula that references cell A1 and B1 = 0 = 2

= IF(A1-B1<0;0;A1-B1)


Thanks to mike-31 for this tip.


Published by aakai1056. Latest update on April 20, 2010 at 05:18 AM by aakai1056.
This document, titled "Excel - negative result equals to zero," is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (ccm.net).