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

[Solved] How to get inserted column added to formula.

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


Joined: 06 Jun 2012
Posts: 2
Location: Kentucky

PostPosted: Wed Jun 06, 2012 7:09 pm    Post subject: [Solved] How to get inserted column added to formula. Reply with quote

I keep weekly golf scores in sCalc. If I add a column to the right of the previous week, it isn't included in the formula.. the formula reads "=SUM(C13:M13)". I insert a column N to the left of column O, and the formula stays the same.

To get around this, I insert the column to the left of M, copy all of N and paste to M, then delete the data in N. Is there an easier way to simply add a column and get an updated formula?

Thanks
_________________
Joe =o)


Last edited by Elmo on Thu Jun 07, 2012 4:18 am; edited 1 time in total
Back to top
View user's profile Send private message AIM Address
ozzie
OOo Advocate
OOo Advocate


Joined: 29 Jul 2010
Posts: 330
Location: victoria

PostPosted: Wed Jun 06, 2012 8:40 pm    Post subject: Reply with quote

Code:
=SUM(C13:OFFSET(C13;;COUNTA(C13:P13)))

Notice P13 should be a cell passed where you expect your entries to go to, AND, this formula relies on all cells in row 13 from column C to M or where ever being occupied
_________________
If your problem has been solved please add "[Solved]" to the beginning of your first post title (edit button).
Back to top
View user's profile Send private message
keme
Moderator
Moderator


Joined: 30 Aug 2004
Posts: 2744
Location: Egersund, Norway

PostPosted: Wed Jun 06, 2012 11:41 pm    Post subject: Reply with quote

Select Tools - Options, branch OpenOffice.org Calc - General.
In the Input settings section, tick Expand references ...

Now your column insertion at the edge of the range should have the desired effect on your formulas.
Back to top
View user's profile Send private message
Elmo
Newbie
Newbie


Joined: 06 Jun 2012
Posts: 2
Location: Kentucky

PostPosted: Thu Jun 07, 2012 4:25 am    Post subject: Reply with quote

keme wrote:
Select Tools - Options, branch OpenOffice.org Calc - General.
In the Input settings section, tick Expand references ...

Now your column insertion at the edge of the range should have the desired effect on your formulas.


Thanks to both for your suggestions. This answer was obviously the solution. I will look into the formula change and try to figure out its purpose.
_________________
Joe =o)
Back to top
View user's profile Send private message AIM Address
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