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

Numbers, Rows and Columns

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


Joined: 17 Jun 2010
Posts: 8

PostPosted: Thu Jun 17, 2010 10:05 am    Post subject: Numbers, Rows and Columns Reply with quote

Each spreadsheet labels a row 1, 2, 3 etc... column a, b, c etc... I need to in A5 start with #1 and then end in A30 with #26. When I insert or delete a row the numbers do not follow ... I have to manually adjust for correction.

Is there a way to avoid this?
Back to top
View user's profile Send private message Yahoo Messenger
Ed
Super User
Super User


Joined: 28 May 2003
Posts: 1041

PostPosted: Thu Jun 17, 2010 10:59 am    Post subject: Reply with quote

If you enter 1 in A5 and then enter "=OFFSET(A5;-1;0)+1" in A6 and fill down to A30 it should work when you delete rows, but obviously if you insert rows you will have to add the formula to the new rows you inserted.

PS - As I stated in this thread, which you replied to before you posted this, Math is the mathematical typesetting component, not the spreadsheet. Please post in the correct forum in future.
Back to top
View user's profile Send private message
rthurston77
General User
General User


Joined: 17 Jun 2010
Posts: 8

PostPosted: Thu Jun 17, 2010 11:01 am    Post subject: Reply with quote

Okay ... How would I then print with the #'s already designated by the spreadsheet?
Back to top
View user's profile Send private message Yahoo Messenger
pitonyak
Administrator
Administrator


Joined: 09 Mar 2004
Posts: 3655
Location: Columbus, Ohio, USA

PostPosted: Thu Jun 17, 2010 11:10 am    Post subject: Reply with quote

I am not aware of a function that returns the number of the current row or column... I can do this based on a reference to a cell, however, which is kind of what Ed is doing in his solution; how far am I from cell A5.
_________________
--
Andrew Pitonyak
http://www.pitonyak.org/oo.php
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address
rthurston77
General User
General User


Joined: 17 Jun 2010
Posts: 8

PostPosted: Thu Jun 17, 2010 11:51 am    Post subject: Reply with quote

This is the formula I got to work based on your response ... =OFFSET(A5;-1;0)+2

When I delete a row it deletes every 2nd row in the sequence.
Back to top
View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Math 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