LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,059
Default Personal Ledger Problem

"Steve" wrote:
I want to be able to input my online balance into a cell and then
have the cell next to it automatically take the last balance number
on my spreadsheet and tell me how much my balance off by.


If the current online balance is in A1, then:

=INDEX($F:$F, MATCH(9E307,$F:$F)) - $A$1

This assumes that the entire column F is used only for tracking current
running balance. (It may also contain some text, e.g. titles and null
strings.) Alternatively, replace $F:$F with the specific range that might
the current balance or null strings (""), e.g. $F$2:$F$100.

The MATCH() expression returns the offset within the range $F:$F of the last
cell with a numeric value less than 9E307, just about the largest possible
value; ergo, the cell offset of the last numeric value. The INDEX()
expression returns the value of the cell identified by MATCH().


the Balance Col contaitns the following formula:
=IF(D32&E32="","",F31-D32+E32).


Unless you have the "Precision as displayed" calculation option set, it is
prudent to round most financial calculations to the smallest coin of the
realm, e.g. cents for the US. So I would suggest:

=IF(D32&E32="", "", ROUND(F31-D32+E32, 2))

=ROUND(INDEX($F:$F, MATCH(9E307,$F:$F)) - $A$1, 2)

The need to round such calculations arises from the internal representation
and arithmetic that Excel (and most applications) uses on binary computers
(viz. floating point arithmetic). Consequently, most decimal fractions
cannot be represented exactly, and small numerical aberrations arise as a
consequence. For example, IF(10.1 - 10 = 0.1, TRUE) returns FALSE(!),
whereas IF(ROUND(10.1 - 10, 2) = 0.1,TRUE) returns TRUE.


----- original message -----

"Steve" wrote in message
...
Here's my problem:

I am keeping track of my Deposits and Withdrawls in Excel, so that I have
up-to-date info on how much I have in my account. Currently I have it set
up
so that when a transaction occurs I hard code in date,
description,withdrawl
amt, or deposit amt and the the Balance Col contaitns the following
formula:
=IF(D32&E32="","",F31-D32+E32).

The next objective I want to concur is that right now I have a check that
has not been cashed by the recipient. My only balance is off by the
amount
of that check. As a check to make sure I have not missed any transactions
I
want to be able to input my online balance into a cell and then have the
cell
next to it automatically take the last balance number on my spreadsheet
and
tell me how much my balance off by.

I was trying to do something with IF formulas using that if the balance
cell
below it is blank then use the cell above it, but I couldn't get it to
work.

Please help.

Thanks,

Steve


 
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
Insert rows in Excel Ledger problem Gary Huston New Users to Excel 8 November 15th 09 04:02 PM
Problem with Personal.xls Toxicdistortion Excel Discussion (Misc queries) 2 September 26th 06 05:25 PM
Problem with Personal.xls Toxicdistortion Excel Discussion (Misc queries) 3 September 26th 06 03:55 PM
problem from Personal.xls Tom Setting up and Configuration of Excel 4 July 4th 05 11:38 PM


All times are GMT +1. The time now is 11:10 PM.

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"