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: 118
Default Macro for Sub Totals

Hi All
I am trying to create a Macro that places sub totals in a column of data.
The data is imported from a RTF file and already has sub totals in place in
bold font.
These are obviously just a number. There a couple of other issues making
this difficult though.
1. each block of data may or may not be contigous There may be gaps
2. each block of data is dynamic and may change in amounts and number of
rows,etc
3. No adjoining column has a unique set of identifiers which I could use to
do a DATA / SUBTOTALS search.
4. The data range is approx 400 lines * 7 columns and may change in size at
any time.
See example data below :
Any assistance would be greatly appreciated
Regards
Michael M

QUANTITY UNIT RATE TOTAL
1 lump 12,000 12,000
1 lump 2,000 2,000
1 item 121,440 121,440
60 week 1,400 1,400

219,440 BOLD FONT
Blank Line
Blank line
1 kg 12,000 25,000
1 day 2,000 6,000
1 month 121,440 100,600
60 week 1,400 400

131,700 BOLD FONT


 
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
Correct Macro for Totals franklin via OfficeKB.com Excel Discussion (Misc queries) 2 November 28th 08 04:00 PM
Macro: Insert Row above Totals D Excel Discussion (Misc queries) 6 August 22nd 08 09:08 PM
Pivot Totals: Group totals different from Grand totals PsyberFox Excel Discussion (Misc queries) 1 February 13th 08 06:16 PM
macro for invoice totals Esrei Excel Discussion (Misc queries) 0 August 11th 05 02:29 PM
running totals in a macro for each month idunnobutheregoes Excel Worksheet Functions 1 November 8th 04 10:35 PM


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