little_johnny
New Member
- Joined
- Jan 29, 2012
- Messages
- 30
Howdy everyone!
I have made a template that I want to use by filling in data as necessary, and showing me a running balance and totals at the bottom.
The running balance is as follows:
Column F = Debit (no. of items gone out on consignment with contractor)
Column H = Credit A (no. of items paid for)
Column J = Credit B (no. of items returned)
Column L = Balance (what is outstanding)
Please refer to picture to get an idea.
The debits and credit columns are all summed for totals into Row 27, and the "Balance Total" is achieved by L27 =SUM($F27,-$H27,-$J27)
I also have a running balance going down each row which is achieved by adding any new debits into the preceding balance, then subtracting any new credits. Eg: L19 =SUM(L18,F19,-H19,-J19). L20 =SUM(L19,F20,-H20,-J20).
The question now is: How do I display zero or a blank entry for remaining balances (in example above - L21:L26), since those rows don't contain any new data filled into the template, rather than a repeat of the last balance calculated into L20?
I have tried a couple of IF functions, but I'm coming up with too many errors and thought it was time to seek some help!
So any ideas of how I could modify the formula to display a running zero balance if no new data has been added would be greatly appreciated!
- Johnny
I have made a template that I want to use by filling in data as necessary, and showing me a running balance and totals at the bottom.
The running balance is as follows:
Column F = Debit (no. of items gone out on consignment with contractor)
Column H = Credit A (no. of items paid for)
Column J = Credit B (no. of items returned)
Column L = Balance (what is outstanding)
Please refer to picture to get an idea.
The debits and credit columns are all summed for totals into Row 27, and the "Balance Total" is achieved by L27 =SUM($F27,-$H27,-$J27)
I also have a running balance going down each row which is achieved by adding any new debits into the preceding balance, then subtracting any new credits. Eg: L19 =SUM(L18,F19,-H19,-J19). L20 =SUM(L19,F20,-H20,-J20).
The question now is: How do I display zero or a blank entry for remaining balances (in example above - L21:L26), since those rows don't contain any new data filled into the template, rather than a repeat of the last balance calculated into L20?
I have tried a couple of IF functions, but I'm coming up with too many errors and thought it was time to seek some help!
So any ideas of how I could modify the formula to display a running zero balance if no new data has been added would be greatly appreciated!
- Johnny