#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 43
Default inserting a subtotal

I am trying to create a worksheet from another. On the new worksheet I want
to insert a subtotal line based upon a change in client name. Can anyone
tell me how to do that?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 73
Default inserting a subtotal

See Excel help on the SUBTOTAL function. It does change with filters. Very
handy.

--
If my posting was helpful, please click the "Yes" button.

ROCK ON!,

Scott


"Smitty" wrote:

I am trying to create a worksheet from another. On the new worksheet I want
to insert a subtotal line based upon a change in client name. Can anyone
tell me how to do that?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 168
Default inserting a subtotal

Excel has a built-in subtotaling tool. Go to Data Subtotals.
--
Please remember to indicate when the post is answered so others can benefit
from it later.


"Smitty" wrote:

I am trying to create a worksheet from another. On the new worksheet I want
to insert a subtotal line based upon a change in client name. Can anyone
tell me how to do that?

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 43
Default inserting a subtotal

Scott, This doesn't help me. I need to insert a line when the condition
changes. For example, this is what 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 get to.
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 am trying to avoid manual interventon and want to be able to automatically
break on the change and insert a subtotal row.
Have you goy any thoughts on this?
Smitty


"porter444" wrote:

See Excel help on the SUBTOTAL function. It does change with filters. Very
handy.

--
If my posting was helpful, please click the "Yes" button.

ROCK ON!,

Scott


"Smitty" wrote:

I am trying to create a worksheet from another. On the new worksheet I want
to insert a subtotal line based upon a change in client name. Can anyone
tell me how to do that?

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 43
Default inserting a subtotal

KC

Please see the response to Scott. I am trying to create the report without
manula intervention (for several reasons). Can you help me with this?

Smitty

"KC Rippstein" wrote:

Excel has a built-in subtotaling tool. Go to Data Subtotals.
--
Please remember to indicate when the post is answered so others can benefit
from it later.


"Smitty" wrote:

I am trying to create a worksheet from another. On the new worksheet I want
to insert a subtotal line based upon a change in client name. Can anyone
tell me how to do that?



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 168
Default inserting a subtotal

The only way to do this "automatically" as desired is with a macro, and the
easiest overall solution would be to use a pivot table with the following
macro to keep the data "live":

Private Sub Worksheet_Activate()
Me.PivotTables(1).PivotCache.Refresh
End Sub

--
Please remember to indicate when the post is answered so others can benefit
from it later.


"Smitty" wrote:

KC

Please see the response to Scott. I am trying to create the report without
manula intervention (for several reasons). Can you help me with this?

Smitty

"KC Rippstein" wrote:

Excel has a built-in subtotaling tool. Go to Data Subtotals.
--
Please remember to indicate when the post is answered so others can benefit
from it later.


"Smitty" wrote:

I am trying to create a worksheet from another. On the new worksheet I want
to insert a subtotal line based upon a change in client name. Can anyone
tell me how to do that?

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
macro excel subtotal in subtotal GBO Excel Discussion (Misc queries) 2 November 29th 07 02:15 PM
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 07:11 PM.

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"