Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 173
Default Total of 2 columns in pivot table

Hi

I have used a pivot table to work out and display the average/max of a set
of data twice for 2 different things so i have four columns in the data part
with two showing the average and another showing the max for an occurence and
and two other columns doing the same for a differnt occurence. I would like
to be able to add the two Average columns to have a total average and the two
Max columns to have a total max.
I got this to work by putting using the cells outside of the pivot table and
simply adding the cells. But is there a way of doing it so it is actually
part of the pivot table?

It looks a little like this


Ave 140 Max 140 Ave Multi Max Multi
23 25 20 20
25 25 20 20


Many thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Total of 2 columns in pivot table

Create a calculated field.

In Excel 2007: click in a cell in you PivotTable, under PivotTable Tools |
Options | Formulas select Calclulated Field...

Input a Name for the Calculated Field in the Name text box (the name will
show up as a field in the Field List).

In the Formula text box input your formula. For example, if you want the
average of a field named Orders, input:

= AVERAGE(
then select the field name from the Fields: list, click the Insert Field
button.
then close the brace in the formula, e.g., =AVERAGE('Orders')
then click OK.

the new Calculated Field should now appear in the Field List. You can now go
back and add more calculated fields that take aveages or averages etc. as you
want to do (i.e., create the calculated field first, then you can use it in
another and new calculated field). Of course you know PivotTables have the
MAX, MIN and AVERAGE functions built-in as well (right mouse click on a field
in the PivotTable, select Field Settings and specify a Custom setting i.e.,
MAX, MIN, AVERAGE etc. OR right mouse click on a field in the PivotTable and
select as setting from the Summarize Data By... list).

--
Gnothi se auton.


"Neil" wrote:

Hi

I have used a pivot table to work out and display the average/max of a set
of data twice for 2 different things so i have four columns in the data part
with two showing the average and another showing the max for an occurence and
and two other columns doing the same for a differnt occurence. I would like
to be able to add the two Average columns to have a total average and the two
Max columns to have a total max.
I got this to work by putting using the cells outside of the pivot table and
simply adding the cells. But is there a way of doing it so it is actually
part of the pivot table?

It looks a little like this


Ave 140 Max 140 Ave Multi Max Multi
23 25 20 20
25 25 20 20


Many thanks

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 173
Default Total of 2 columns in pivot table

Hi Thanks for your answer

I understand how it works so that is good. But i think i left out a vitl
piece of information so i can't get it to work.

The table looks like this

Round Day Ave 140 Max 140 Ave Multi Max Multi
W1 mon 23 25 20 20
W2 Tues 25 25 20 20

So the information is against rounds and then data.

I used the Ave and Max functions in my pivot table which worked i just need
to be able to add the Ave 140 and Ave Multi so i have a total Ave for the day
against the round.

Thanks again



"rsantaro" wrote:

Create a calculated field.

In Excel 2007: click in a cell in you PivotTable, under PivotTable Tools |
Options | Formulas select Calclulated Field...

Input a Name for the Calculated Field in the Name text box (the name will
show up as a field in the Field List).

In the Formula text box input your formula. For example, if you want the
average of a field named Orders, input:

= AVERAGE(
then select the field name from the Fields: list, click the Insert Field
button.
then close the brace in the formula, e.g., =AVERAGE('Orders')
then click OK.

the new Calculated Field should now appear in the Field List. You can now go
back and add more calculated fields that take aveages or averages etc. as you
want to do (i.e., create the calculated field first, then you can use it in
another and new calculated field). Of course you know PivotTables have the
MAX, MIN and AVERAGE functions built-in as well (right mouse click on a field
in the PivotTable, select Field Settings and specify a Custom setting i.e.,
MAX, MIN, AVERAGE etc. OR right mouse click on a field in the PivotTable and
select as setting from the Summarize Data By... list).

--
Gnothi se auton.


"Neil" wrote:

Hi

I have used a pivot table to work out and display the average/max of a set
of data twice for 2 different things so i have four columns in the data part
with two showing the average and another showing the max for an occurence and
and two other columns doing the same for a differnt occurence. I would like
to be able to add the two Average columns to have a total average and the two
Max columns to have a total max.
I got this to work by putting using the cells outside of the pivot table and
simply adding the cells. But is there a way of doing it so it is actually
part of the pivot table?

It looks a little like this


Ave 140 Max 140 Ave Multi Max Multi
23 25 20 20
25 25 20 20


Many thanks

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 173
Default Total of 2 columns in pivot table

Just a quick note

I have tried the calcualted field and it works against the rounds and days
but on in Sum format . so if i put =AVERAGE(140) it returns the sum cottectly
against the round and name. I also tried MAx which returned SUM as well.
Could this be i am using 2003 not 2007

Thanks for your help

"Neil" wrote:

Hi Thanks for your answer

I understand how it works so that is good. But i think i left out a vitl
piece of information so i can't get it to work.

The table looks like this

Round Day Ave 140 Max 140 Ave Multi Max Multi
W1 mon 23 25 20 20
W2 Tues 25 25 20 20

So the information is against rounds and then data.

I used the Ave and Max functions in my pivot table which worked i just need
to be able to add the Ave 140 and Ave Multi so i have a total Ave for the day
against the round.

Thanks again



"rsantaro" wrote:

Create a calculated field.

In Excel 2007: click in a cell in you PivotTable, under PivotTable Tools |
Options | Formulas select Calclulated Field...

Input a Name for the Calculated Field in the Name text box (the name will
show up as a field in the Field List).

In the Formula text box input your formula. For example, if you want the
average of a field named Orders, input:

= AVERAGE(
then select the field name from the Fields: list, click the Insert Field
button.
then close the brace in the formula, e.g., =AVERAGE('Orders')
then click OK.

the new Calculated Field should now appear in the Field List. You can now go
back and add more calculated fields that take aveages or averages etc. as you
want to do (i.e., create the calculated field first, then you can use it in
another and new calculated field). Of course you know PivotTables have the
MAX, MIN and AVERAGE functions built-in as well (right mouse click on a field
in the PivotTable, select Field Settings and specify a Custom setting i.e.,
MAX, MIN, AVERAGE etc. OR right mouse click on a field in the PivotTable and
select as setting from the Summarize Data By... list).

--
Gnothi se auton.


"Neil" wrote:

Hi

I have used a pivot table to work out and display the average/max of a set
of data twice for 2 different things so i have four columns in the data part
with two showing the average and another showing the max for an occurence and
and two other columns doing the same for a differnt occurence. I would like
to be able to add the two Average columns to have a total average and the two
Max columns to have a total max.
I got this to work by putting using the cells outside of the pivot table and
simply adding the cells. But is there a way of doing it so it is actually
part of the pivot table?

It looks a little like this


Ave 140 Max 140 Ave Multi Max Multi
23 25 20 20
25 25 20 20


Many thanks

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 80
Default Total of 2 columns in pivot table

Hi.

I can't see "Pivot Table Tools". Can you tell me where I can find it please?

Regards

Phil

"rsantaro" wrote:

Create a calculated field.

In Excel 2007: click in a cell in you PivotTable, under PivotTable Tools |
Options | Formulas select Calclulated Field...

Input a Name for the Calculated Field in the Name text box (the name will
show up as a field in the Field List).

In the Formula text box input your formula. For example, if you want the
average of a field named Orders, input:

= AVERAGE(
then select the field name from the Fields: list, click the Insert Field
button.
then close the brace in the formula, e.g., =AVERAGE('Orders')
then click OK.

the new Calculated Field should now appear in the Field List. You can now go
back and add more calculated fields that take aveages or averages etc. as you
want to do (i.e., create the calculated field first, then you can use it in
another and new calculated field). Of course you know PivotTables have the
MAX, MIN and AVERAGE functions built-in as well (right mouse click on a field
in the PivotTable, select Field Settings and specify a Custom setting i.e.,
MAX, MIN, AVERAGE etc. OR right mouse click on a field in the PivotTable and
select as setting from the Summarize Data By... list).

--
Gnothi se auton.


"Neil" wrote:

Hi

I have used a pivot table to work out and display the average/max of a set
of data twice for 2 different things so i have four columns in the data part
with two showing the average and another showing the max for an occurence and
and two other columns doing the same for a differnt occurence. I would like
to be able to add the two Average columns to have a total average and the two
Max columns to have a total max.
I got this to work by putting using the cells outside of the pivot table and
simply adding the cells. But is there a way of doing it so it is actually
part of the pivot table?

It looks a little like this


Ave 140 Max 140 Ave Multi Max Multi
23 25 20 20
25 25 20 20


Many thanks



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,480
Default Total of 2 columns in pivot table

Hi Phil
In 2007, when you click on the PT, 2 new tabs appear under Pivot Table
Tools - Options and Design.
Click the Options tab.
This tab is divided into sections. In the Tolls section, click on Formulas
and you will get the dropdown allowing you create a Calculated Field.

--
Regards
Roger Govier

"Philip J Smith" wrote in message
...
Hi.

I can't see "Pivot Table Tools". Can you tell me where I can find it
please?

Regards

Phil

"rsantaro" wrote:

Create a calculated field.

In Excel 2007: click in a cell in you PivotTable, under PivotTable Tools
|
Options | Formulas select Calclulated Field...

Input a Name for the Calculated Field in the Name text box (the name will
show up as a field in the Field List).

In the Formula text box input your formula. For example, if you want the
average of a field named Orders, input:

= AVERAGE(
then select the field name from the Fields: list, click the Insert Field
button.
then close the brace in the formula, e.g., =AVERAGE('Orders')
then click OK.

the new Calculated Field should now appear in the Field List. You can now
go
back and add more calculated fields that take aveages or averages etc. as
you
want to do (i.e., create the calculated field first, then you can use it
in
another and new calculated field). Of course you know PivotTables have
the
MAX, MIN and AVERAGE functions built-in as well (right mouse click on a
field
in the PivotTable, select Field Settings and specify a Custom setting
i.e.,
MAX, MIN, AVERAGE etc. OR right mouse click on a field in the PivotTable
and
select as setting from the Summarize Data By... list).

--
Gnothi se auton.


"Neil" wrote:

Hi

I have used a pivot table to work out and display the average/max of a
set
of data twice for 2 different things so i have four columns in the data
part
with two showing the average and another showing the max for an
occurence and
and two other columns doing the same for a differnt occurence. I would
like
to be able to add the two Average columns to have a total average and
the two
Max columns to have a total max.
I got this to work by putting using the cells outside of the pivot
table and
simply adding the cells. But is there a way of doing it so it is
actually
part of the pivot table?

It looks a little like this


Ave 140 Max 140 Ave Multi Max Multi
23 25 20 20
25 25 20 20


Many thanks


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
Filter lines with Pivot table and non pivot table columns Grover Charts and Charting in Excel 4 September 28th 07 03:16 AM
Filter lines with Pivot table and non Pivot table columns Grover Excel Discussion (Misc queries) 1 September 26th 07 12:48 AM
Showing Pivot Table total on Associated Pivot Chart KenY Excel Discussion (Misc queries) 2 May 18th 07 02:41 PM
Pivot Table - Grand Total for selected columns only KG Excel Discussion (Misc queries) 0 April 14th 07 09:50 PM
Moving grand total columns in pivot table Fil Excel Discussion (Misc queries) 1 January 21st 07 04:54 PM


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