At 10:19 26/02/2013 -0800, John R. Sowden wrote:
I create a lot of ledger spreadsheets, including date,doc no,item,debit,credit,balance,notes. I have a formula in the balance column that tests for data in the item column to show the balance otherwise I put a space there [=if(c23="";"";g22+d23-e23)], so the balance does not display down the page.

That said, I am trying to figure out how to put the last amount (not space) in the balance column in a formula to display the balance at the top of the screen, refer to it in a consolidated sheet, etc.

It sounds as if the value you want is simply the sum of all the values in column D minus the sum of all the values in column E. In each case, I'm guessing you can include any empty cells in the summation, so you don't need to identify the last row.

At 11:37 26/02/2013 -0800, John R. Sowden wrote:
When I described how I might use the data in the last cell, I wanted to be vague because I did not want a solution that would only work under specific circumstances. Actually what I want is a formula/function that will give me the amount in the last cell in the column that has a numeric value.

It is often possible to solve a problem by doing something in a different way from how you first imagine. If an apparently simple problem does not have an obvious solution, that may be a hint that you are going about things in the wrong way.

Brian Barker


--
For unsubscribe instructions e-mail to: [email protected]
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted

Reply via email to