Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a column that I want to be the average() of another column up to
that point. For example: a b 1 10 10 2 6 8 3 5 7 You'll notice that the value of bn is the average for everything in col a up to that point. Thus 8 is (10 + 6) / 2 = 8. But it seems I have to hand-enter the formula for every cell in b in order to accomplish this. Is there a better way to do this? Thanks!, Jason |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Jason,
Add a $ sign bfore what shouldn't change. In b1 : =average($A$1:A1) copy to bottom. HTH FxM Nascent a écrit : I have a column that I want to be the average() of another column up to that point. For example: a b 1 10 10 2 6 8 3 5 7 You'll notice that the value of bn is the average for everything in col a up to that point. Thus 8 is (10 + 6) / 2 = 8. But it seems I have to hand-enter the formula for every cell in b in order to accomplish this. Is there a better way to do this? Thanks!, Jason |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Gah! I was trying to use ! instead of $. =)
Thanks! That works like a charm! Regards, Jason FxM wrote in : Hi Jason, Add a $ sign bfore what shouldn't change. In b1 : =average($A$1:A1) copy to bottom. HTH FxM Nascent a écrit : I have a column that I want to be the average() of another column up to that point. For example: a b 1 10 10 2 6 8 3 5 7 You'll notice that the value of bn is the average for everything in col a up to that point. Thus 8 is (10 + 6) / 2 = 8. But it seems I have to hand-enter the formula for every cell in b in order to accomplish this. Is there a better way to do this? Thanks!, Jason |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Select all rows on a sheet from a fixed starting point | Excel Discussion (Misc queries) | |||
Data point on line is not over the point/tick in X axis... | Charts and Charting in Excel | |||
How do I keep fixed and Non-fixed decimals on a sheet together? | Excel Worksheet Functions | |||
drawdown at fixed rate over set period from investment at fixed % | New Users to Excel | |||
FIXED 2 DECIMAL PLACES, MUST ENTER ALL ZEROES AFTER DECIMAL POINT. | Excel Discussion (Misc queries) |