Running Average or YTD average

L

lsmft

Is there a simple formula for calculating a running average?
I can do accomplish what I want to do but it takes 4 different steps or
functions to get there.
Example of what I would like:
A-1 thru A-52 equal weeks of the year.
We'll say that A-5 represents the 5th week of the year.
Income for these weeks will be entered in it's respective cell as it
comes due.
In the cells that represent the weeks that have not yet come, a "0" is
in them.
I want to be able to have one cell that reflects the year todate
average of income, and not be affected by the zeros.
 
P

Pete_UK

Assume your weekly income values are in B1 to B52, the following
formula will get you the average excluding zero values:

=sum(B1:B52)/COUNTIF(B1:B52,"<>0")

Hope this helps.

Pete
 

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

Similar Threads

AVERAGE issue 4
Running Average 2
Calculating Monthly Average from Daily Values 7
AVERAGE formula with a twist 5
Average Functions 3
Pass The Formulas Please 3
Average Formula Help 2
Excel Average dates help 0

Top