I have set up a checkbox to add the number in a cell to the number of another cell when the box is checked. I am trying to figure out how to stop the function from repeating when I uncheck the box. I have tried using macro to minus out the second function when the box is unchecked but that did not work. I tried using the Data tab to enter or remove the value when the box was checked or not checked, but I need the value to stay in the cell when unchecked. I thought about "IF" statements but I do not know how to tie it the checkbox, or if that would even work since unchecking the box is a separate action.
What I'm trying to accomplish is a checklist that can be reset. When the box is checked it adds the value of a certain cell to the value of another and when the box is unchecked it should not do anything at all. Right now it adds the value of the first cell to the second cell both when the box is checked and again when the box is unchecked which is creating inaccurate data on my spreadsheet.
For further clarification here is an example. I have 300 in a cell and 400 in another. When the box is checked the cell with 400 has the 300 from the first cell added to it to equal 700. When I uncheck the box though it should not again add the first cell to the second making it equal 1000. It should remain at 700.
Is it possible to stop the function from repeating when the checkbox is clicked to uncheck?
Thanks for all suggestions and information!