Need help with IF formula to add and subtract

DavidAdamB

New Member
Joined
May 12, 2020
Messages
2
Platform
  1. MacOS
Hello everyone,

I am modifying a costing sheet for my construction company, and there is a section where I summarize what is remaining in the contingency. So I need a formula that says - IF the cell in question is greater than zero (extra money), than add it to the contingency total, IF the cell in question is less than zero (losing money) than subtract it from the contingency total.

I can't seem to get the formula right, please help! Thanks everyone!
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
Welcome to the Board!

I don't think you need an IF statement at all. Just add this amount to the Contigency total. Adding a negative numbers is the same as subtracting a positive one.
So adding the value to the Contigency total should do what you want, regardless if it is postive or negative.
 
Upvote 0
..............aaaaaand just like that, it's working. Perhaps I needed more coffee this morning. Thank you for the quick reply and the help, very much appreciated!!
 
Upvote 0
You are welcome.
Glad we were able to help!
:)
 
Upvote 0

Forum statistics

Threads
1,215,631
Messages
6,125,905
Members
449,273
Latest member
mrcsbenson

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top