#1   Report Post  
Posted to microsoft.public.excel.misc
JJ
 
Posts: n/a
Default Subtotals

Is there a way to use the subtotal function on the tools menu to have a sum
and avg in the same subtotal line? For instance you may want to total one
column and avg another column all on the same row.
  #2   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips
 
Posts: n/a
Default Subtotals

Create one subtotal using that method, then copy that formula acroos, but
change the 9 to a 1

--
HTH

RP
"JJ" wrote in message
...
Is there a way to use the subtotal function on the tools menu to have a

sum
and avg in the same subtotal line? For instance you may want to total one
column and avg another column all on the same row.



  #3   Report Post  
Posted to microsoft.public.excel.misc
JJ
 
Posts: n/a
Default Subtotals

Sorry, I met on the data menu. I have several different groups that need to
be subtotaled and I need to be able to expand and contract.

"JJ" wrote:

Is there a way to use the subtotal function on the tools menu to have a sum
and avg in the same subtotal line? For instance you may want to total one
column and avg another column all on the same row.

  #4   Report Post  
Posted to microsoft.public.excel.misc
JJ
 
Posts: n/a
Default Subtotals

Bob,

So I created a subtotal using "sum" on columns 1 and 3. On column 2 I want
it to "avg". There are like a hundred groups that are being subtotaled. Do I
have to go through each group's subtotal row manually and drag the formula
across and change it to "avg"?

"Bob Phillips" wrote:

Create one subtotal using that method, then copy that formula acroos, but
change the 9 to a 1

--
HTH

RP
"JJ" wrote in message
...
Is there a way to use the subtotal function on the tools menu to have a

sum
and avg in the same subtotal line? For instance you may want to total one
column and avg another column all on the same row.




  #5   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson
 
Posts: n/a
Default Subtotals

Use Sum for both columns.

Then you'll end up with subtotal formulas like:

=subtotal(9,a2:axx)
and
=subtotal(9,c2:cxx)

Select the column that should have averages and
edit|replace
what: =subtotal(9,
with: =subtotal(1,
replace all



JJ wrote:

Is there a way to use the subtotal function on the tools menu to have a sum
and avg in the same subtotal line? For instance you may want to total one
column and avg another column all on the same row.


--

Dave Peterson
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
Excel 2003 Subtotals not working correctly Mike Sattan Excel Worksheet Functions 4 February 26th 06 07:28 AM
Subtotals Julie Excel Discussion (Misc queries) 3 December 7th 05 10:07 PM
Applying formulas only to the subtotals of a data list KG Excel Discussion (Misc queries) 5 September 10th 05 11:16 PM
How do I copy an outline w/ subtotals & paste just the subtotals av Excel Discussion (Misc queries) 1 June 20th 05 11:35 PM
Excel gets subtotals out of order using multiple sorts and subtot. jeffl Excel Discussion (Misc queries) 1 March 29th 05 01:35 AM


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