OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

finding most recent data in sparse column?

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Calc
View previous topic :: View next topic  
Author Message
bugbear
General User
General User


Joined: 07 Apr 2005
Posts: 21

PostPosted: Thu Jun 07, 2012 6:51 am    Post subject: finding most recent data in sparse column? Reply with quote

(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
View user's profile Send private message
jrkrideau
Super User
Super User


Joined: 08 Aug 2005
Posts: 6732
Location: Kingston ON Canada

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

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Calc All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
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