New to pivot tables, trying to add as a final column, the total of preceding
colums, on a row-by-row basis. Can't get my head round what the source data
wil be as all I want is the total of the other fields/columns.
All help/comments gratefully received!
The answer to this could be one of two things depending on the question,
do you want to 1) Total columns of data, or 2) do you want to total many
data items
1) To total columns of data, select Pivot Table options and select
Grand Total for Rows
2) To total many data items, Select View, Toolbars and make sure that
the Pivot Table toolbar is selected.
On your pivot table, click on the field name heading for the columns.
From the Pivot Table toolbar, click on Pivot Table | Formulas |
Calculated Item.
Make sure the column field is still highlighted in the left pane,
highlight Formula1 in the Name field and type Total. Then click on each
field you want to include in the total in the right pane (Items and
click on insert item. This should now move this field into the Formula:
bar. Edit this formula now, by clicking at the end of the word and type
a ' '. Then click on the next item in the right pane (Items and click
on insert item. This should now move this field into the Formula: bar.
Click OK and you should now have your new field in your pivot table,
which is the total of all the data items.
G--
Gary Brown
------------------------------------------------------------------------
Gary Brown's Profile: www.excelforum.com/member.php...oamp;userid=17084
View this thread: www.excelforum.com/showthread...hreadid=536769Perfect answer which works perfectly! Thanks.
quot;Gary Brownquot; wrote:
gt;
gt; The answer to this could be one of two things depending on the question,
gt; do you want to 1) Total columns of data, or 2) do you want to total many
gt; data items
gt;
gt; 1) To total columns of data, select Pivot Table options and select
gt; Grand Total for Rows
gt;
gt; 2) To total many data items, Select View, Toolbars and make sure that
gt; the Pivot Table toolbar is selected.
gt;
gt; On your pivot table, click on the field name heading for the columns.
gt;
gt; From the Pivot Table toolbar, click on Pivot Table | Formulas |
gt; Calculated Item.
gt;
gt; Make sure the column field is still highlighted in the left pane,
gt; highlight Formula1 in the Name field and type Total. Then click on each
gt; field you want to include in the total in the right pane (Items and
gt; click on insert item. This should now move this field into the Formula:
gt; bar. Edit this formula now, by clicking at the end of the word and type
gt; a ' '. Then click on the next item in the right pane (Items and click
gt; on insert item. This should now move this field into the Formula: bar.
gt;
gt; Click OK and you should now have your new field in your pivot table,
gt; which is the total of all the data items.
gt;
gt; G
gt;
gt;
gt; --
gt; Gary Brown
gt; ------------------------------------------------------------------------
gt; Gary Brown's Profile: www.excelforum.com/member.php...oamp;userid=17084
gt; View this thread: www.excelforum.com/showthread...hreadid=536769
gt;
gt;
- Dec 25 Tue 2007 20:41
Calculated field in Pivot Tables
close
全站熱搜
留言列表
發表留言