SOLVED

Simple check register formula problem

Copper Contributor

I'm trying to set up a simple check register spreadsheet.  I have created the table and it's formatted.  My issue comes when I write the formula to make the balance a 'plus' or 'minus' depending on whether the amount is in the 'debit' column or the 'credit' column.  Apparently, I've got something incorrect in the 2nd part of the formula because it works until it gets to a 'credit' cell - 

 

Here's an example:  

=IF(F3>=0,H2-[@Debit],H2+[@Credit])

Dee642400_0-1629565201975.png

I appreciate any expertise on my not-so-great at formulas.. 

5 Replies

@Dee642400 

=SUM(INDEX([Balance],ROW()-2),-[@Debit],[@Credit])
OK, error msg says it's "missing an opening or closing parentheses" I added a second ")" at the end... no joy. ???
Still looking for a hint on this formula...
best response confirmed by Dee642400 (Copper Contributor)
Solution

@Dee642400 No need for an IF. Try it like this?

Screenshot 2021-08-22 at 06.41.37.png

 

 

 

 

It works!! I was making it a big deal when it was really very simple.. Thank you.
1 best response

Accepted Solutions
best response confirmed by Dee642400 (Copper Contributor)
Solution

@Dee642400 No need for an IF. Try it like this?

Screenshot 2021-08-22 at 06.41.37.png

 

 

 

 

View solution in original post