Credit Debit running balance with blank rows

Eskonn

New Member
Joined
Mar 28, 2018
Messages
26
Office Version
  1. 365
Platform
  1. Windows
I am looking for a formula to keep a running balance that accounts for every other row being blank.
The Balance starting cell is H3
The starting row for the credits and debits is ROW 5
I would like to keep the running balance on the even ROWS with the first cell being ROW H6 and then every other ROW H8, H10, H12 etc.
In the example below Check Amount (Column E), Deposit (Column G), Balance (Column H)



CHECK NO.DATEDESCRIPTION OF TRANSACTIONREC. NO.CHECK AMOUNT (-) DEPOSIT (+)BALANCE
(H3)$1,849.53
3/12/2018 (E5)$25.98
(H6)
(E7)$52.00
(H8)
(G9)$30.00
(H10)
(E11)$49.00
(H12)
(G13)$18.00
(H14)

<colgroup><col><col><col><col><col><col><col><col></colgroup><tbody>
</tbody>
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
Try this formula in H6 copied down
=IF(OR(ISNUMBER(E5),ISNUMBER(G5)),H$3-SUM(E$5:E5)+SUM(G$5:G5),"")

M.
 
Last edited:
Upvote 0
Hi,

Here's another way:


Book1
EFGH
1DebitCreditBalance
2
31849.53
4
525.98 
61823.55
752
81771.55
930
101801.55
1149
121752.55
1318
141770.55
Sheet19
Cell Formulas
RangeFormula
H5=IF(ISODD(ROW(A5)),"",H$3-SUM(E$5:E5)+SUM(G$5:G5))


H5 formula copied down.
 
Upvote 0
Another option for H6, copied down.

Excel Workbook
EFGH
1CHECK AMOUNT (-)DEPOSIT (+)BALANCE
2
3$1,849.53
4
5$25.98
6$1,823.55
7$52.00
8$1,771.55
9$30.00
10$1,801.55
11$49.00
12$1,752.55
13$18.00
14$1,770.55
15
16
Balance




A couple of other comments for your consideration:
- I would be a little wary of using the post #3 suggestion. If a user subsequently decides to add a new row at or near the top of the sheet, the formulas will return values in a different position to what you have requested.

- It may or may not be what you want but if copied down below your last debit/credit entry, jtakw's formula will continue to give a balance figure whereas Marcelo's formula & mine will only produce a balance as far down as the final debit/credit.
 
Last edited:
Upvote 0
Hi,

Here's another way:

EFGH
1DebitCreditBalance
2
31849.53
4
525.98
61823.55
752
81771.55
930
101801.55
1149
121752.55
1318
141770.55

<colgroup><col style="width: 25pxpx"><col><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Sheet19

Worksheet Formulas
CellFormula
H5=IF(ISODD(ROW(A5)),"",H$3-SUM(E$5:E5)+SUM(G$5:G5))

<thead>
</thead><tbody>
</tbody>

<tbody>
</tbody>



H5 formula copied down.


I tried this as well but I have not been able to get it to work.
When I use this formula the cell is blank. I am not getting an error in the cell just no data.

Thanks
 
Upvote 0
Another option for H6, copied down.

Balance

EFGH
1CHECK AMOUNT (-) DEPOSIT (+)BALANCE
2
3 $1,849.53
4
5$25.98
6 $1,823.55
7$52.00
8 $1,771.55
9 $30.00
10 $1,801.55
11$49.00
12 $1,752.55
13 $18.00
14 $1,770.55
15
16

<colgroup><col style="font-weight:bold; width:30px; "><col style="width:142px;"><col style="width:17px;"><col style="width:96px;"><col style="width:101px;"></colgroup><tbody>
</tbody>

Spreadsheet Formulas
CellFormula
H6=IF(COUNT(E5,G5),LOOKUP(9.99E+307,H$3:H5)-E5+G5,"")

<tbody>
</tbody>

<tbody>
</tbody>


Excel tables to the web >> Excel Jeanie HTML 4



A couple of other comments for your consideration:
- I would be a little wary of using the post #3 suggestion. If a user subsequently decides to add a new row at or near the top of the sheet, the formulas will return values in a different position to what you have requested.

- It may or may not be what you want but if copied down below your last debit/credit entry, jtakw's formula will continue to give a balance figure whereas Marcelo's formula & mine will only produce a balance as far down as the final debit/credit.


Peter -
Thanks for the suggestion. I tried this and I am getting and error #VALUE !
I am trying to see if I can find the error and will reply if I get it

Thanks for your time
 
Upvote 0
Peter -
Thanks for the suggestion. I tried this and I am getting and error #VALUE !
I am trying to see if I can find the error and will reply if I get it

Thanks for your time

The error is happening at the end of the formula. It works through the -E5 but then the error results after the +G5,""
 
Upvote 0

Forum statistics

Threads
1,215,836
Messages
6,127,179
Members
449,368
Latest member
JayHo

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