| View previous topic :: View next topic |
| 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 |
|
| Back to top |
|
 |
jrkrideau Super User

Joined: 08 Aug 2005 Posts: 6733 Location: Kingston ON Canada
|
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
Kingston ON Canada
Currently using Windows 7 & OOo 3.4.0 and Ubuntu 12.04 & LibreOffice 3.5.2.2 |
|
| Back to top |
|
 |
|
|
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
|
Powered by phpBB © 2001, 2005 phpBB Group
|