Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default averaging from a fixed point to a non-fixed point?

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default averaging from a fixed point to a non-fixed point?

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default averaging from a fixed point to a non-fixed point?

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Select all rows on a sheet from a fixed starting point Niniel Excel Discussion (Misc queries) 5 February 8th 08 08:50 PM
Data point on line is not over the point/tick in X axis... TomCat Charts and Charting in Excel 2 September 6th 07 01:36 PM
How do I keep fixed and Non-fixed decimals on a sheet together? kpike Excel Worksheet Functions 2 June 22nd 06 12:33 AM
drawdown at fixed rate over set period from investment at fixed % jamook New Users to Excel 1 November 28th 05 10:53 PM
FIXED 2 DECIMAL PLACES, MUST ENTER ALL ZEROES AFTER DECIMAL POINT. SUKYKITTY Excel Discussion (Misc queries) 3 July 6th 05 01:50 PM


All times are GMT +1. The time now is 01:27 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"