#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 310
Default Subtotal twice

Original data:
Vendor Type Amt
Vend A Stationery 1
Vend A Stationery 2
Vend A Welfare 3
Vend A Fixture 1
Vend B Stationery 3
Vend B Stationery 2
Vend B Fixture 1
Vend B Fixture 2

Required to get (1) Individual Vendor Total and (2) Individual Type Total
Question: How to achieve the following result using Subtotal?
Vendor Type Amt
Vend A Stationery 1
Vend A Stationery 2
Stationery Total 3
Vend A Welfare 3
Welfare Total 3
Vend A Fixture 1
Fixture Total 1
Vend A Total 13
Vend B Stationery 3
Vend B Stationery 2
Stationery Total 5
Vend B Fixture 1
Vend B Fixture 2
Fixture Total 3
Vend B Total 16
Grand Total 30

  #2   Report Post  
Posted to microsoft.public.excel.misc
JMB JMB is offline
external usenet poster
 
Posts: 2,062
Default Subtotal twice

Select your table and click Data/Subtotal at each change in Vendor, use
function Sum on Amt column. Repeat for each change in Type, use function Sum
on Amt column (and uncheck the box that says "Replace current subtotals").

Be sure your table is sorted/grouped by vendor and type before subtotaling.




"Michelle" wrote:

Original data:
Vendor Type Amt
Vend A Stationery 1
Vend A Stationery 2
Vend A Welfare 3
Vend A Fixture 1
Vend B Stationery 3
Vend B Stationery 2
Vend B Fixture 1
Vend B Fixture 2

Required to get (1) Individual Vendor Total and (2) Individual Type Total
Question: How to achieve the following result using Subtotal?
Vendor Type Amt
Vend A Stationery 1
Vend A Stationery 2
Stationery Total 3
Vend A Welfare 3
Welfare Total 3
Vend A Fixture 1
Fixture Total 1
Vend A Total 13
Vend B Stationery 3
Vend B Stationery 2
Stationery Total 5
Vend B Fixture 1
Vend B Fixture 2
Fixture Total 3
Vend B Total 16
Grand Total 30

Reply
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
How do I Subtotal, then Sort by Subtotal Amounts? dnamertz Excel Discussion (Misc queries) 3 October 29th 06 12:17 AM
pasting to subtotal lines without replacing hidden -non-subtotal l harleydiva67 Excel Discussion (Misc queries) 1 October 12th 06 06:02 PM
Bolding the subtotal lines automaticlly When using the Subtotal fu 06Speed6 New Users to Excel 2 October 5th 06 03:52 PM
copy subtotal value only, subtotal value can be vlookup by others BB Excel Discussion (Misc queries) 1 June 28th 06 11:10 PM
Subtotal of Subtotal displays Grand Total in wrong row Thomas Born Excel Worksheet Functions 5 January 6th 05 01:46 PM


All times are GMT +1. The time now is 08:54 AM.

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"