LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
MJSlattery
 
Posts: n/a
Default Set Data Range by Variable


I want to be able to define the number of cells in a column that will be
included in a calculation.

=SUM(A5:A25)/2

So in the above example I have selected 20 cell in column A. I want to
be able to set the number via a slider on the spread sheet to capture
any number of cell below the cell with the formula in it. So, and I
know this does not work but, =SUM(A5:A(X))/2 where X equals the number
of cells that I want included. I want to avoid VBA because this will
update a graph and I don't want to run a macro every time the data gets
changed to update my graph.

I have gone through the Excel 2003 Bible, called MS Office support and
combed the web. There must be a simple way to accomplish this without
a macro.

Thanks to all. Michael



[color=DarkRed]


--
MJSlattery
------------------------------------------------------------------------
MJSlattery's Profile: http://www.excelforum.com/member.php...o&userid=16141
View this thread: http://www.excelforum.com/showthread...hreadid=377967

 
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
Help! Selecting data according to date range redbna Excel Discussion (Misc queries) 0 June 8th 05 06:58 PM
Removing blank rows in a worksheet Louise Excel Worksheet Functions 6 May 26th 05 02:21 PM
Is there a way of attaching data labels from a text range to dat. Peter Sailing by Charts and Charting in Excel 3 March 31st 05 02:25 PM
Do Pivot Tables have an automatic data range expansion? David.c.h Excel Discussion (Misc queries) 1 March 26th 05 12:55 AM
Extending a Chart Data Series from an Array - Can it be done? Jon Peltier Charts and Charting in Excel 4 November 30th 04 03:30 AM


All times are GMT +1. The time now is 02:48 PM.

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

About Us

"It's about Microsoft Excel"