ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Adding positive amount, but ignoring negative (https://www.excelbanter.com/excel-programming/314316-adding-positive-amount-but-ignoring-negative.html)

Janna

Adding positive amount, but ignoring negative
 
I would like to write a formula in column C that if column Bs amount is
positive, to add it to the amount in Column A, but if the amount in column B
is negative, to simply add zero to the amount in Column A.

Tom Ogilvy

Adding positive amount, but ignoring negative
 
=if(B10,A1+B1,A1)

drag fill down the column.

--
Regards,
Tom Ogilvy

"Janna" wrote in message
...
I would like to write a formula in column C that if column B's amount is
positive, to add it to the amount in Column A, but if the amount in

column B
is negative, to simply add zero to the amount in Column A.




joev7777

Adding positive amount, but ignoring negative
 
How about

In C1 put the formula =if(B10,A1+B1,A1)

Joe V.

"Janna" wrote:

I would like to write a formula in column C that if column Bs amount is
positive, to add it to the amount in Column A, but if the amount in column B
is negative, to simply add zero to the amount in Column A.


Janna

Adding positive amount, but ignoring negative
 
Thanks Guys!

"Janna" wrote:

I would like to write a formula in column C that if column Bs amount is
positive, to add it to the amount in Column A, but if the amount in column B
is negative, to simply add zero to the amount in Column A.



All times are GMT +1. The time now is 11:01 PM.

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