Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Formula Problem For Checkbook Register

Here is what I am trying to do
Cell Name Account Formula Used
A2 debit Checking
B2 credit Checking
C2 total Checking total
=IF(AND(ISBLANK(A2),ISBLANK(B2)),"",C1-A2+B2)
D2 debit Savings
E2 credit Savings
F2 total Savings Total
=IF(AND(ISBLANK(D2),ISBLANK(E2)),"",F1-D2+E2)
G2 Collected Total

My problem is getting a total for G2. If nothing is in the debit or credit
spaces, excel will not add a number to it (which i like) but i need a formula
that basically says if C2 has a number but F2 does not have a number i want
it to add the total of the two cells anyways and put the total in G2

As it stands now I have to add a "0" to credit or debit just to get a total
of the two cells, and i don't want that because it makes it harder to see
what the total is to the savings account + it keeps adding the new amount
each time it has a total in F2.

If anyone can help me, it would be greatly appreciated.
Thanks in advance

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Formula Problem For Checkbook Register

I assume you're copying all of these formulas down the columns and that each
row represents a tranaction for a particular date.

If so, then you'll have a problem if you today you had a debit in the
checking but nothing in the savings and then tomorrow you had a credit in
the savings but nothing in the checking. The problem will eventually arise
from trying to calculate cells that contain the formula blank "".

So, assuming cells C1 and F1 are your starting balances for each account
type

Enter this formula in C2:

=IF(COUNT(C$1),IF(COUNT(A2:B2),LOOKUP(1E100,C$1:C1 )-A2+B2,""),"")

Enter this formula in F2:

=IF(COUNT(F$1),IF(COUNT(D2:E2),LOOKUP(1E100,F$1:F1 )-D2+E2,""),"")

Enter this formula in G2:

=IF(COUNT(C2,F2),SUM(C2,F2),"")

Copy all formulas down as needed.


--
Biff
Microsoft Excel MVP


"Kentram" wrote in message
...
Here is what I am trying to do
Cell Name Account Formula Used
A2 debit Checking
B2 credit Checking
C2 total Checking total
=IF(AND(ISBLANK(A2),ISBLANK(B2)),"",C1-A2+B2)
D2 debit Savings
E2 credit Savings
F2 total Savings Total
=IF(AND(ISBLANK(D2),ISBLANK(E2)),"",F1-D2+E2)
G2 Collected Total

My problem is getting a total for G2. If nothing is in the debit or
credit
spaces, excel will not add a number to it (which i like) but i need a
formula
that basically says if C2 has a number but F2 does not have a number i
want
it to add the total of the two cells anyways and put the total in G2

As it stands now I have to add a "0" to credit or debit just to get a
total
of the two cells, and i don't want that because it makes it harder to see
what the total is to the savings account + it keeps adding the new amount
each time it has a total in F2.

If anyone can help me, it would be greatly appreciated.
Thanks in advance



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel checkbook register CJBookie Excel Discussion (Misc queries) 2 September 4th 07 05:00 PM
checkbook register mason Excel Discussion (Misc queries) 2 September 18th 06 02:52 AM
checkbook register lynnbuff New Users to Excel 5 July 25th 06 08:21 PM
Checkbook Register PurpleBabs Excel Discussion (Misc queries) 5 April 26th 06 12:03 AM
Checkbook Register template PurpleBabs Excel Discussion (Misc queries) 5 April 21st 06 05:12 AM


All times are GMT +1. The time now is 12:16 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"