Running a Daily MTD average.
A B C
1 DATE RECOVERY MTD
2 1/1/2005 95.36% 95.36%
3 1/2/2005 95.17% 95.26%
4 1/3/2005 92.27% 94.26%
ok this is what I'm looking for. Problem is the MTD Calculation has to be
edited for each row and month.
C2 =AVERAGE(C2)
C3 =AVERAGE(C2:C3)
C4 =AVERAGE(C2:C4)
Then when 2/1/2005 hit I need to start over
C33 =AVERAGE(C33)
C34 =AVERAGE(C33:C34)
I need a formula that would know what MONTH range and DAY RANGE it was to
run the average for the corrisponding DATE. Any ideals?
David Billigmeier (Thanks David)
gave me this formula but it didn't want to work.
This is a long one... Assume your dates are in the range A1:A10 and your
Recovery is in B1:B10:
=SUMPRODUCT(--(MONTH(A1:A10)=MONTH(TODAY())),--(B1:B10<0),--(B1:B10))/SUMPRODUCT(--(MONTH(A1:A10)=MONTH(TODAY())),--(B1:B10<0))
|