Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 43
Default insertm line and subtotal on separate worksheet

I am trying to create a workshete from another. I also need to insert a
subtotal line when the condition changes. For example, this is what the input
spreadsheet looks like.

AAA 20
AAA 30
AAA 40
BBB 20
BBB 35
BBB 15
BBB 25
CCC 25
CCC 25
CCC 25

This is what I am trying to make the output worksheet look like.

AAA 20
AAA 30
AAA 40
Subtotal AAA 90
BBB 20
BBB 35
BBB 15
BBB 25
Subtotal BBB 95
CCC 25
CCC 25
CCC 25
Subtotal CCC 75
Total 260

I need to avoid manual interventon and I have to be able to automatically
break on the change and insert a subtotal row. Can anyone help?


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,346
Default insertm line and subtotal on separate worksheet

Hi,

I prefer pivot tables but your problem can be solved easily with the Data,
Subtotal command. (2003) or the Data, Subtotal command in 2007.

If this helps, please click the Yes button

Cheers,
Shane Devenshire

"Smitty" wrote:

I am trying to create a workshete from another. I also need to insert a
subtotal line when the condition changes. For example, this is what the input
spreadsheet looks like.

AAA 20
AAA 30
AAA 40
BBB 20
BBB 35
BBB 15
BBB 25
CCC 25
CCC 25
CCC 25

This is what I am trying to make the output worksheet look like.

AAA 20
AAA 30
AAA 40
Subtotal AAA 90
BBB 20
BBB 35
BBB 15
BBB 25
Subtotal BBB 95
CCC 25
CCC 25
CCC 25
Subtotal CCC 75
Total 260

I need to avoid manual interventon and I have to be able to automatically
break on the change and insert a subtotal row. Can anyone help?


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
Bold & add line after subtotal row PHisaw Excel Worksheet Functions 9 September 7th 07 09:22 PM
would like each subtotal line highlighted sjs Excel Discussion (Misc queries) 2 March 29th 07 10:21 PM
To separate two line in a line chart TRUST Charts and Charting in Excel 2 October 20th 06 06:18 AM
How do you add a blank line automatically after the Subtotal line MVSD Guy Excel Worksheet Functions 0 April 20th 06 02:04 AM
Subtotal line selection Jenny Excel Discussion (Misc queries) 1 April 13th 05 03:21 PM


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