![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: May 2002
Posts: 7
|
I'm in the process of creating a checkbook register for my SOHO (Small Office/Home Office) business. I have the formating done but it's the formula that's really a pain. Here's the break down:
There's three columns-"Debit","Credit"&"Balance". In the first balance cell,which is H17, I have this formula: =sum(-F17+G17)+beginning_balance. F17 is the first debit cell, G17 is the first credit cell & beginning_balance is a single cell which I enter the beginning balance or balance brought forward value. In the cells beneath the first balance cell I have this formula: =sum(-F18+G18)+H17 going on down respectivley. Here's my problem: I want to have a running total formula in the balance cells that well not show the balance straigh down the column, I want it give a single running total when a value is either debit or credit. I also want the subsequent cells to be blank. Can someone help. Thank you in advance. |
|
|
|
|
|
#2 |
|
Board Regular
Join Date: Feb 2002
Location: North Alabama, USA
Posts: 105
|
Hi John,
How about =IF(F18+G18>0,SUM(-F18+G18)+H17,"")
__________________
Hope this helps! Rocky <h6>"Be not the first by whom the New are try'd, Nor yet the last to lay the Old aside." Alexander Pope (1688-1744).</h6> |
|
|
|
|
|
#3 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
MrExcel MVP
Join Date: Mar 2002
Location: Michigan USA
Posts: 11,452
|
Hi Johnjo:
Using your desired setup, I have setup the following worksheet simulation simulation ...
Click on a hyperlinked cell to see the underlying formula The formula used in the Balance cell is: =IF(AND(F18="",G18=""),"",-F18+G18+H17) Regards!
__________________
Regards! Yogi Anand, D.Eng, P.E. Energy Efficient Building Network LLC www.energyefficientbuild.com |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
#4 |
|
New Member
Join Date: May 2002
Posts: 7
|
Thanks, everyone for your help. Rocky, your suggestion was really good. It did the job. Again, thanks everyone for the prompt response and help.
Johnjo |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|