LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 66
Default Sum variable range of column entries in offset cell

Hi chaps,

Im trying to look up a column of values from an offset cell and sum the
column values (or depending on formula used, work out the average, median or
mode of the data range in the column).
The hard bit is I need to specify (using a variable number value in another
cell) how many cells up from the bottom of the column are included in my
calculations.

Heres a simplified example to (hopefully) try and explain more clearly:

A B C D E F G
1 5
2 2 5
3 0
4 3
5 1
6 7
7 1
8 4
9 Formula


B1:B8 contain the values I want to use in my calculations.
G2 contains the (variable) value that tells me how many cells from B8
upwards I want in my calculation.
F9 contains the formula.

In the example, Formula (F9) needs to SUM B4:B8 (last 5 entries in the
column).
Depending on my needs the formula could also either be Average, Median or
Mode of the number of cells specified.

Sum = 16
Average = 3.2
Median = 3
Mode = 1

Hope my explanation is clear enough and you can help.
Many thanks for looking,
Steve.

 
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
Variable range column summation and averaging Tom Excel Discussion (Misc queries) 2 March 15th 08 04:10 AM
Concatenate column with variable to set a range april Excel Discussion (Misc queries) 2 November 26th 07 03:26 PM
If activecell.column = variable then activecell,offset (0,1) Battykoda via OfficeKB.com Excel Discussion (Misc queries) 1 October 2nd 07 08:05 PM
Transpose? Offset? Variable starting cell Fin Analyst Excel Discussion (Misc queries) 4 April 26th 06 07:48 AM
How to count dates within a certain range in a column with mutiple date range entries Krisjhn Excel Worksheet Functions 2 September 1st 05 01:59 PM


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