[Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register]

Author Message
bugbear
General User

Joined: 07 Apr 2005
Posts: 21

 Posted: Thu Jun 07, 2012 6:51 am    Post subject: finding most recent data in sparse column? (I may be re-inventing the wheel here) I'm starting to put together a spreadsheet to keep track of my ISAs, bonds and bank accounts. I intend a column for each account, and a row for each date when I get a statement for one of the accounts. I would then like to have a total for each date, but I can't just sum() the rows, since many (in general, all but one) cells will be empty. It is intuitively obvious that for any "empty" cell in a column, the value should be the most recent filled cell. But I can't see an easy way to say this. Can anyone help, either by pointing me at a relevant function, or a "template" investment spreadsheet?_________________Ignorance is curable, stupidity is forever
jrkrideau
Super User

Joined: 08 Aug 2005
Posts: 6732

Posted: Thu Jun 07, 2012 7:59 am    Post subject: Re: finding most recent data in sparse column?

 bugbear wrote: (I may be re-inventing the wheel here) I'm starting to put together a spreadsheet to keep track of my ISAs, bonds and bank accounts. I intend a column for each account, and a row for each date when I get a statement for one of the accounts. I would then like to have a total for each date, but I can't just sum() the rows, since many (in general, all but one) cells will be empty. It is intuitively obvious that for any "empty" cell in a column, the value should be the most recent filled cell. But I can't see an easy way to say this. Can anyone help, either by pointing me at a relevant function, or a "template" investment spreadsheet?

I am not sure if I understand the data structure but it looks to me like you can get this result by using a pivot table. Data > Pivot Table > etc
_________________
jrkrideau
Currently using Windows 7 & OOo 3.4.0 and Ubuntu 12.04 & LibreOffice 3.5.2.2
 Display posts from previous: All Posts1 Day7 Days2 Weeks1 Month3 Months6 Months1 Year Oldest FirstNewest First
 All times are GMT - 8 Hours Page 1 of 1

 Jump to: Select a forum OpenOffice.org Forums----------------Setup and TroubleshootingOpenOffice.org WriterOpenOffice.org CalcOpenOffice.org ImpressOpenOffice.org DrawOpenOffice.org MathOpenOffice.org BaseOpenOffice.org Macros and APIOpenOffice.org Code Snippets Community Forums----------------General DiscussionSite Feedback
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum