LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
tom tom is offline
external usenet poster
 
Posts: 570
Default Variable range column summation and averaging

Excel 2003 SP3
WinXP Pro SP2
Header in Row 1
Data starts in Row 2

I'd like to sum [SUM($Fx:$Fy)] a range of cells, n, in a column and obtain
their averages [SUM($Fx:$Fy)/n].

My issue is that I'd like to vary the 'n' (cell range) by column so as to
compare the fitness of any particular 'n' to another relative to my data and
datapoints.

So, I've manually setup 'n=4' and 'n=20' and 'n=21'. For n=20, each time I
need to manually count the starting point for the summation because the
previous 20 cells are blank. Then I need to change each column's 'x and y'
[start and end rows] to reflect the new range.

How can I setup the formula for the averages so I can just reference a value
in, say, Row 1 or 2? Hence, I could have Row 2, Column F be '4' which would
then propagate the general formula to start displaying at $F6 for the
averages of SUM($F3:$F6)/4? The formula would need to know to start at Row 3
and continue adding through Row 6 and then divide by 4. (Note: Row '6' less
Row '3' = 3 then add 1 and I get the value of 4 for the range, if you
understand what I'm trying to say here.) I need the logic/formula for the
IF(...) and the establish how to do the ROW starting and ENDING points
relative to the quantity of datapoints to average.

Maybe I'm not too sure how to test what ROW I'm on.....
THANKS!!!
Tom
 
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
Dynamic summation of column prasanth Excel Worksheet Functions 7 February 21st 08 05:11 PM
Concatenate column with variable to set a range april Excel Discussion (Misc queries) 2 November 26th 07 03:26 PM
Summation over a range P25_Sys_Arch Excel Worksheet Functions 2 September 21st 07 08:15 AM
How do I perform summation over variable areas? Pithecanthropus Excel Discussion (Misc queries) 1 August 8th 07 07:02 PM
Summation problem with Range jesmin Excel Discussion (Misc queries) 2 March 15th 06 11:27 PM


All times are GMT +1. The time now is 12:23 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"