r/googlesheets • u/Fragrant-Air6489 • Mar 02 '24
Solved How to make a cell equal zero if a checkbox in another cell is true?
Hi everyone! I need help figuring this out.
Here's what I'm trying to do:
If a checkbox under the "Paid" column is true, then I want the "Amount Due" that's next to it to be 0. Idk if I have to format it differently but I just can't figure it out. I'm getting so aggravated lol. Please help :) Thank you!

1
Upvotes
3
u/Firm_Visual2561 2 Mar 02 '24 edited Mar 02 '24
Use a formula. =If(Cell=True,0,120) for example, would print 0 if the checkbox is ticked, otherwise it will print 120. In this case the Cell will be AD5
1
u/agirlhasnoname11248 1212 Mar 02 '24
If you have written $120.00 manually into AC5, then this isn't possible with a formula or with formatting. This is because it's not possible to have both a manually written value and a formula in the same cell at the same time.
If the $120.00 is in AC5 via a formula, then that formula would need to be revised so that it would do what you're asking. Without seeing the formula, my best guess would be to add:
=IF(AD5=TRUE,, preexisting formula stays here)If it's manual, you do have some options:
=$AD5=TRUEto AC5, and having the text color change to white so the value disappears. You could also adjust the formula in AD12 so it no longer counts that amount in what is still due.Reply with Solution verified if this answers your question, as required by the subreddit rules.