ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Sum is positive value or "0" value. Negative value equals "0" (https://www.excelbanter.com/excel-worksheet-functions/15419-sum-positive-value-%220%22-value-negative-value-equals-%220%22.html)

MorTTime

Sum is positive value or "0" value. Negative value equals "0"
 
I have a doc where I would like to use a formula that would subtract an
amount from an amount in another cell, but when it reached the value of 0 it
would stop. [i.e. 10-6=4, 10-12=0]. I have not found a way to do it, used
"IF" I don't want a word answer.
--
Thank you for your help.

Dana DeLouis

Here's one way.
=MAX(B1-A1,0)

HTH
--
Dana DeLouis
Win XP & Office 2003


"MorTTime" wrote in message
...
I have a doc where I would like to use a formula that would subtract an
amount from an amount in another cell, but when it reached the value of 0
it
would stop. [i.e. 10-6=4, 10-12=0]. I have not found a way to do it, used
"IF" I don't want a word answer.
--
Thank you for your help.





All times are GMT +1. The time now is 04:47 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com