ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Continuous Averages Formula (https://www.excelbanter.com/excel-worksheet-functions/67805-continuous-averages-formula.html)

Mof

Continuous Averages Formula
 

You know how you can set an entire column with the same formula by
dragging at the bottom right hand corner of a formulized block... well
I need help with a formula. Its a bit complicated to explain, but I'll
try my best.

I want a formula that will keep the running averages.

100 ave: 100.0
105 ave: 102.5
180 ave: 128.3
100 ave: 121.3

When I type in =AVERAGE(A1:A2)

then I drag down the formula to affect the other lines...

I want them to show

=AVERAGE(A1:A3)
=AVERAGE(A1:A4), etc...

but it ends up showing

=AVERAGE(A2:A3)
=AVERAGE(A3:A4)

Please help.


--
Mof
------------------------------------------------------------------------
Mof's Profile: http://www.excelforum.com/member.php...o&userid=30892
View this thread: http://www.excelforum.com/showthread...hreadid=505660


Bob Phillips

Continuous Averages Formula
 
You need to lock the start row down. You do this with absolute referencing
of the row.

Use

=AVERAGE(A$1:A2)

and copy down

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"Mof" wrote in message
...

You know how you can set an entire column with the same formula by
dragging at the bottom right hand corner of a formulized block... well
I need help with a formula. Its a bit complicated to explain, but I'll
try my best.

I want a formula that will keep the running averages.

100 ave: 100.0
105 ave: 102.5
180 ave: 128.3
100 ave: 121.3

When I type in =AVERAGE(A1:A2)

then I drag down the formula to affect the other lines...

I want them to show

=AVERAGE(A1:A3)
=AVERAGE(A1:A4), etc...

but it ends up showing

=AVERAGE(A2:A3)
=AVERAGE(A3:A4)

Please help.


--
Mof
------------------------------------------------------------------------
Mof's Profile:

http://www.excelforum.com/member.php...o&userid=30892
View this thread: http://www.excelforum.com/showthread...hreadid=505660




Mof

Continuous Averages Formula
 

Thank You!


--
Mof
------------------------------------------------------------------------
Mof's Profile: http://www.excelforum.com/member.php...o&userid=30892
View this thread: http://www.excelforum.com/showthread...hreadid=505660



All times are GMT +1. The time now is 07:16 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com