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

add a column and then divide the sum

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


Joined: 31 Jul 2009
Posts: 7
Location: San Antonio, Texas

PostPosted: Fri Jul 31, 2009 7:31 pm    Post subject: add a column and then divide the sum Reply with quote

Embarassed

I know this is a beginner question but I am a beginner.

How do you add a column and then divide it?

I am writing a mileage sheet for my job

Andrew
_________________
Ted Nugent For President
Back to top
View user's profile Send private message
DiGro
Super User
Super User


Joined: 02 Jun 2004
Posts: 1415
Location: Hoorn NH, The Netherlands

PostPosted: Sat Aug 01, 2009 1:45 am    Post subject: Reply with quote

=(A1+B1)/20

where first number is A1 added to second number B1, divided by 20

Hope this is what you were looking for.

BTW multiplying is: *
_________________
DiGro

Windows 7 Home Premium and AOO 4.0.1 NL (Dutch)
Back to top
View user's profile Send private message
Villeroy
Super User
Super User


Joined: 04 Oct 2004
Posts: 10106
Location: Germany

PostPosted: Sat Aug 01, 2009 1:59 am    Post subject: Reply with quote

=SUM(A1:A99)/COUNT(A1:A99) [count and sum both ignore text values]
... which is the same as...
=AVERAGE(A1:A99)

If you get used to always insert new rows into your growing list, all references will adjust to the new size automatically. The above formula becomes: =AVERAGE(A1:A100) after insertion of new cells. Simply typing new values intto the empty grid of cells will NOT expand the references.
The trick should work as well when you insert new rows at row 100, directly below the referenced A1:A99. If not, check Tools>Options...Calc>General:"Expand references ...".

Likewise you should delete rows from your list.
_________________
Rest in peace, oooforum.org
Get help on https://forum.openoffice.org
Back to top
View user's profile Send private message
accooper
General User
General User


Joined: 31 Jul 2009
Posts: 7
Location: San Antonio, Texas

PostPosted: Sat Aug 01, 2009 4:13 am    Post subject: Reply with quote

Thanks. I will try it.

Andrew
_________________
Ted Nugent For President
Back to top
View user's profile Send private message
accooper
General User
General User


Joined: 31 Jul 2009
Posts: 7
Location: San Antonio, Texas

PostPosted: Sat Aug 01, 2009 1:04 pm    Post subject: Reply with quote

Mr. Green

That's what I needed. Thanks Loads From Texas!

Andrew
_________________
Ted Nugent For President
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