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: 1
Default sum up an unknown number of rows


Hello. I think it's simple problem but as newbee in VBA it's a big one
for me.

First an example how my table could look like:
(I used simple numbers for the example, nomally these numbers are
calculated with several fomulars)

SET1
20
40
20
SUM: 80

SET2
20
30
SUM: 50

SET3
30
SUM: 30


The sum of every set should be calculated automatically with a
formular. Not a big deal but the problem is the following:
You can add new numbers in every Set with a makro. Therefore I don't
know how many rows I have to use to calculate the sum.
I need a script which sums all the rows between the beginning and the
end of every single set. The calculation of the sum should also work,
if you delete one row or number.

Thank you for any help in advance.

cheers
Stefan


--
skoller
------------------------------------------------------------------------
skoller's Profile: http://www.excelforum.com/member.php...o&userid=32388
View this thread: http://www.excelforum.com/showthread...hreadid=521522

 
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
MATCH an unknown number ut_libet Excel Discussion (Misc queries) 3 June 10th 08 09:20 PM
Formula's dealing with unknown number of rows OfficeNDN Excel Discussion (Misc queries) 2 September 11th 06 04:11 PM
Unknown Rows Darren Excel Discussion (Misc queries) 2 April 7th 06 10:57 PM
Deleting 3 rows when current row number is unknown Joe[_31_] Excel Programming 1 May 20th 04 06:41 AM
Summing unknown number of rows Chris M.[_3_] Excel Programming 2 August 20th 03 05:48 PM


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