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

Duplicating formula -Count days from start date

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


Joined: 18 Jun 2012
Posts: 2

PostPosted: Mon Jun 18, 2012 12:42 am    Post subject: Duplicating formula -Count days from start date Reply with quote

Given that column A contains dates and column F should contain "Number of days since A2", is there a shortcut to duplicate the formula "A2-A2" in F2 so that subsequent rows will show "A3-A2" "A4-A2" etcetera?

For instance, in the date column, I can select the first two date cells and drag them down to set a consistent date separation (1 day, 3 days, 7 days or even same day in subsequent months). Is there a similar short cut for (Days from Start date)?
Back to top
View user's profile Send private message
Villeroy
Super User
Super User


Joined: 04 Oct 2004
Posts: 10106
Location: Germany

PostPosted: Mon Jun 18, 2012 2:08 am    Post subject: Reply with quote

[Tutorial] Absolute, relative and mixed references
_________________
Rest in peace, oooforum.org
Get help on https://forum.openoffice.org
Back to top
View user's profile Send private message
taijim
Newbie
Newbie


Joined: 18 Jun 2012
Posts: 2

PostPosted: Mon Jun 18, 2012 3:16 am    Post subject: Reply with quote

Thanks for the quick and useful response!!!.
Interpreting that recipe, I used the formula "=A2-A$2" in the first cell.
When copying down, "A$2" was resolved as "the value of cell A2" and A2 was resolved as "the value of cell An where n is the current row - which is exactly what I needed. i.e. current date - start date.
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