Averages

M

Marvin

I would like to add a row of numbers but only certain cells in that row and
then average the total can this be done so I do not have to change the
formula all the time,I add a new number in a new cell every week.

Eg:

A B C D E F G H I J K
Name 60 3 72 4 54 2 60 3 72 6
=sum(B1+D1+F1+H1+J1)/5
 
T

tim m

what is the reason that you only want to average some of the cells, is there
a pattern or reason for this?
 
P

Per Jessen

Hi

Name cells B1;D1;F1;.... "MyRange" and use this formula

=SUM(MyRange)/COUNTA(MyRange)

Regards,
Per
 
B

Bob Phillips

=AVERAGE(IF(MOD(COLUMN(2:2),2)=0,2:2))

this is an array formula, so commit with Ctrl-Shift-Enter

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)
 
B

Bob Phillips

See my earlier post.

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top