Excel Formulas

S

Sam

I want to create a formula in cell B13 that will add up cells B1 thru B12 and
give me an average in B13. However, B1 thru B12 represent each month and I
want a running monthly average figured in B13 as I enter each month. So... I
want to enter January Figure in B1, February Figure in B2 and have the
Average in B13. Then I want to add March Figure in B3 and have the average
of the first three in B13 and so on and so on so I can compare Monthly
Averages this year with a total monthly average from Last year in column B14.
I have no idea how to do this. Any help is appreciated!

Thanks to all,
 
P

Pete_UK

Put this in B13:

=AVERAGE(B1:B12)

It will ignore blank cells, so as you add numbers into B1:B12 it will
give you their average.

If all the cells are empty it will return the #DIV/0 error, but you
can avoid that with this:

=IF(COUNT(B1:B12)=0,"",AVERAGE(B1:B12))

Hope this helps.

Pete
 
A

Angela in Virginia

B13 would be:
=AVERAGE(B1:B12)
Unless I am misunderstanding your question.
 

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