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 Subtotals macro


Hi All,

Ok, I have users type in the data in a form and it fills in the report
(attached) like so:

code value gst value
prod1 $1,000.00 $100.00 $1,100.00
prod1 $1,000.00 $100.00 $1,100.00
prod2 $1,000.00 $100.00 $1,100.00
prod3 $1,000.00 $100.00 $1,100.00

I want it to separate the different products (after the form has been
completed) making a subtotal line and then following a blank one after,
such as:

code value gst value
prod1 $1,000.00 $100.00 $1,100.00
prod1 $1,000.00 $100.00 $1,100.00
$2,000.00 $200.00 $2,100.00

prod2 $1,000.00 $100.00 $1,100.00
$1,000.00 $100.00 $1,100.00

prod3 $1,000.00 $100.00 $1,100.00
$1,000.00 $100.00 $1,100.00

The only problem is that the amount of entries for a product will
always change so i cant put static formulas in. Please see my example
attachment for further understanding.

Thank you :)
Sam


+-------------------------------------------------------------------+
|Filename: summary total macro.zip |
|Download: http://www.excelforum.com/attachment.php?postid=3804 |
+-------------------------------------------------------------------+

--
Sami82
------------------------------------------------------------------------
Sami82's Profile: http://www.excelforum.com/member.php...o&userid=27111
View this thread: http://www.excelforum.com/showthread...hreadid=466611

 
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
Macro To Remove Subtotals from ALL Worksheets vidguru Excel Discussion (Misc queries) 3 May 6th 08 03:30 PM
Macro To Remove Subtotals from ALL Worksheets vidguru Excel Worksheet Functions 2 May 6th 08 03:30 PM
Macro for Automatic Subtotals NYbills Excel Discussion (Misc queries) 4 July 28th 06 06:15 PM
Macro for Subtotals lips Excel Worksheet Functions 0 February 2nd 06 09:21 PM
Macro Subtotals Amber M Excel Programming 2 October 11th 04 05:19 AM


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