LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 173
Default Dynamic sum


Need to accomplish a "dynamic sum".

When my sub runs, it constructs one column that is sometimes 5 rows
[starting at row 2 always], sometimes 27 rows, sometimes 156 rows, and so on,
depending on other parameters.

Navigating to row 1, then wherever end(xlDown).offset(1,0).select ends up
is where it needs to sum, from whatever row that is [ie 6, 28, 157, or
whatever] up thru row 2 in the same column.

In other words, the active cell simply goes to the bottom of the column and
needs to sum everything above itself, which is a different number of rows all
the time.

Have tried numerous relative reference routines, and just can't seem to get
it.

Any ideas will be greatly appreciated.

Thanx,
- Mike

 
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 pivot table linked to dynamic excel spreadsheets FErd Excel Worksheet Functions 0 April 29th 10 10:44 PM
Dynamic chart pasted to a new workbook in report can't be dynamic Piotr (Peter)[_2_] Charts and Charting in Excel 2 August 6th 08 05:15 AM
Help with copying dynamic column selected based on remote cell value and dynamic formula fill ers Charts and Charting in Excel 0 March 1st 06 01:05 AM
Help with copying dynamic column selected based on remote cell value and dynamic formula fill ers Excel Programming 0 March 1st 06 01:05 AM
Dynamic Range with unused formula messing up x axis on dynamic graph [email protected] Charts and Charting in Excel 2 February 2nd 06 08:02 PM


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