Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index



On 2013-02-27 08:37, John R. Sowden wrote:
On 02/26/2013 11:04 AM, Jay Lozier wrote:
On 02/26/2013 01:19 PM, 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.

tia,
John


John

I assume you have a set of consolidated data cells. I would try =sum(balance range).

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.

Short answer to your question: no, I do not have a set of consolidated data cells.

your sum function seems to want to sum a series of cells. I only want the numeric value in the last cell in a column.

Hi. Possibly you could use VLOOKUP or MATCH to find the first space, and then return the row above, possibly needing an index column. If you have trouble searching for the space you could use a regular expression.
Steve


--
For unsubscribe instructions e-mail to: users+help@global.libreoffice.org
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

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.